Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugging not working #329

Open
somethingsomething88 opened this issue May 3, 2018 · 2 comments
Open

Debugging not working #329

somethingsomething88 opened this issue May 3, 2018 · 2 comments

Comments

@somethingsomething88
Copy link

somethingsomething88 commented May 3, 2018

Hello,

after installation, I can access the WebIDE but when I attempt to debug, the status stays at initializing and I never see the red line popping up. Visualizer loads forever.

During installation, I also saw a few warnings:

**** Installing webide dependencies ****
npm WARN [email protected] requires a peer of kerberos@~0.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})

up to date in 22.564s
**** Adding default .bashrc file for webide user ****
Attempting to force reload date and time from ntp server
Reloading ntp configuration (via systemctl): ntp.service.
**** Starting the server...(please wait) ****
**** The Adafruit WebIDE is installed and running! ****
**** Commands: sudo systemctl {start,stop,restart} adafruit-webide ****
**** Navigate to http://raspberrypi.local:8080 to use the WebIDE

Thanks.

@alager
Copy link

alager commented Jan 10, 2019

Any resolution to this? I'm having the same issue. I didn't have the install errors, but run/debug do not work.
UPDATE: I just rebooted (for the first time since installation ) and now it is working.

@negusm
Copy link

negusm commented Mar 17, 2019

I saw the above warnings too...but I don't think they are the culprit.

Found the following in the syslog:

Mar 17 13:58:24 raspberrypi-waveshare webide[884]: start_debug
Mar 17 13:58:24 raspberrypi-waveshare webide[884]: true
Mar 17 13:58:24 raspberrypi-waveshare webide[884]: spawn debugger
Mar 17 13:58:24 raspberrypi-waveshare webide[884]: error: Shutting down from uncaughtException
Mar 17 13:58:24 raspberrypi-waveshare webide[884]: error: TypeError: Cannot read property 'python_version' of null
Mar 17 13:58:24 raspberrypi-waveshare webide[884]: at /usr/share/adafruit/webide/helpers/python/debug_helper.js:35:55
Mar 17 13:58:24 raspberrypi-waveshare webide[884]: at newArguments.(anonymous function) (/usr/share/adafruit/webide/node_modules/nedb/lib/executor.js:29:17)
Mar 17 13:58:24 raspberrypi-waveshare webide[884]: at Cursor.execFn (/usr/share/adafruit/webide/node_modules/nedb/lib/datastore.js:520:14)
Mar 17 13:58:24 raspberrypi-waveshare webide[884]: at callback (/usr/share/adafruit/webide/node_modules/nedb/lib/cursor.js:126:19)
Mar 17 13:58:24 raspberrypi-waveshare webide[884]: at /usr/share/adafruit/webide/node_modules/nedb/lib/cursor.js:193:12
Mar 17 13:58:24 raspberrypi-waveshare webide[884]: at /usr/share/adafruit/webide/node_modules/nedb/lib/datastore.js:329:14
Mar 17 13:58:24 raspberrypi-waveshare webide[884]: at Object.async.eachSeries (/usr/share/adafruit/webide/node_modules/async/lib/async.js:130:20)
Mar 17 13:58:24 raspberrypi-waveshare webide[884]: at /usr/share/adafruit/webide/node_modules/nedb/lib/datastore.js:323:11
Mar 17 13:58:24 raspberrypi-waveshare webide[884]: at fn (/usr/share/adafruit/webide/node_modules/async/lib/async.js:582:34)
Mar 17 13:58:24 raspberrypi-waveshare webide[884]: at Immediate._onImmediate (/usr/share/adafruit/webide/node_modules/async/lib/async.js:498:34)
Mar 17 13:58:24 raspberrypi-waveshare webide[884]: info: process and worker cleanup

**2018-11-13-raspbian-stretch image.
Waveshare drivers for lcd screen installed.
Hostname changed.

That's the only changes I can think of.**

pi@raspberrypi-waveshare:~ $ python --version
Python 2.7.13
pi@raspberrypi-waveshare:~ $ python3 --version
Python 3.5.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants