Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Troubleshooting

Klaus Weidner edited this page Oct 1, 2015 · 4 revisions

Enabling JavaScript debugging

By default, the server deploys minified JavaScript code which makes debugging in Chrome Inspector or similar tools difficult. You can switch to the original source by adding &debug=1 to the URL.

You can make debug mode active by default by setting the PKE_DEBUG variable in the server environment:

appcfg.py update -E PKB_DEBUG=1 deploy

At this time, the debug switch only affects Angular code and other external modules, the PerfKitExplorer client code is always compiled with simple optimizations to enable transpiling of ES6 to ES5. Going forward, the intent is to be able to keep all code uncompiled in debug mode.

Installation

Compilation fails: /usr/bin/env: node: No such file or directory

Ubuntu and Debian install node.js as /usr/bin/nodejs, while tools such as gulp typically expect it to be runnable as just node. Install the nodejs-legacy package to fix this:

$ sudo apt-get install nodejs-legacy

Dashboard editor

Widget shows: Invalid table name: unset

Click Edit Config in the ⛭ gear icon at the top right and set default project to the project id. For example, if you're currently viewing v11-dot-mydashboard.appspot.com, the project id would be mydashboard.