khanning / scratch-arduino-extension

Javascript extension to connect Scratch 2.0 with Arduino using Firmata
83 stars 91 forks source link

Computer reboots when using scratchx arduino experimental interface #12

Open emeyedeejay opened 9 years ago

emeyedeejay commented 9 years ago

I followed the steps to enable communication between my Arduinoi and ScratchX using the experimental Arduino extension.

I then experienced 4 reboots of my PC once I had started using the interface. Seemed to be at random times into working with the interface but all within a minute or 2. I was just experimenting with blinking a LED - nothing fancy.

This seems directly realated to using the scratchx interface. It started directly after configuring it all up (enabling chrome add-on etc.) and only happens once I drag an Arduino related block or 2 to the interface.

Adruino Nano Windows 8.1 Chrome (unknown version right now)

damellis commented 9 years ago

Weird. Does it happen if you launch ScratchX without having an Arduino board connected? Have you used Arduino on the computer before? Ever gotten reboots?

emeyedeejay commented 9 years ago

-I'll try it with out the arduino attached tonight. -Used the Arduino plenty before -No random reboots at all.

The timing coincided exactly with getting scratch going - I got about 3 blinks during the longest session so that was probably at most 1.5 minutes in ... just dragging the When device is connected, connect LED A to pin 6, turn on LED A, pause 1 sec, Turn off LED A, Pause 1 sec. repeat ... 2/3 blinks and boom - crash :(

On 13 May 2015 at 16:28, David A. Mellis notifications@github.com wrote:

Weird. Does it happen if you launch ScratchX without having an Arduino board connected? Have you used Arduino on the computer before? Ever gotten reboots?

— Reply to this email directly or view it on GitHub https://github.com/khanning/scratch-arduino-extension/issues/12#issuecomment-101686392 .

emeyedeejay commented 9 years ago

I went to test this again this morning (been travelling for work so have had zero time!) but I now can;t launch the intervface.

I just continually get an "Aw Snap = Something went wrong while displaying this web page message". Tried a couple of things but can;t get past this stage.

Is this a known issue at all?

Thanks!

On 13 May 2015 at 16:28, David A. Mellis notifications@github.com wrote:

Weird. Does it happen if you launch ScratchX without having an Arduino board connected? Have you used Arduino on the computer before? Ever gotten reboots?

— Reply to this email directly or view it on GitHub https://github.com/khanning/scratch-arduino-extension/issues/12#issuecomment-101686392 .

emeyedeejay commented 9 years ago

Did some troubleshooting ... uninstalled the plugin, rebooted.

Scratchx interface with Arduino blocks loaded fine. Re-downloaded the plugin Exited chrome Confirmed NPAPI is enabled Installed plugin Relaunched Chrome Browsed to scratchx Clicked "arduin" Same error - "Aw Snap" error message/

I'll fire up another bug report? Testing with IE now [shudder]

emeyedeejay commented 9 years ago

Happens in incognito mode as well so doesn't look like an extension conflict.

emeyedeejay commented 9 years ago

Any ideas at all anybody? I can't get further than the "aw snap" error page. Thanks!

damellis commented 9 years ago

Hmm, Google has some suggestions here: https://support.google.com/chrome/answer/95669?hl=en

Does any of that apply / help?

emeyedeejay commented 9 years ago

Thanks David.

I've been through them....

I tried on my [work] laptop as well and I get exactly the same result so I suspect on of my chrome extensions (becuase they sync across both my home PC and work laptop).

I disabled all my extensions in incognito mode and tried that too - same error :sigh:

I'll keep troubleshooting (not sure what's next).

khanning commented 9 years ago

I just tested this on a Windows 8.1 VM and I'm getting the same result you are. It looks like it's a larger issue with ScratchX/Scratch Browser Plugin.

I filed an issue under the llk/scratchx repo https://github.com/LLK/scratchx/issues/30

emeyedeejay commented 9 years ago

Thanks Kreg ... glad it's not just me!

If I can test on that issue let me know - it's very odd because I got it running previously but my PC rebooted whenever I started using it (which is what this issue is about :)

emeyedeejay commented 9 years ago

Does anybody have any idea on how to troubleshoot/resolve this? It's so frustrating :)

khanning commented 9 years ago

@emeyedeejay the issue with the browser plugin on Win 8 has not been addressed yet. Keep an eye on this issue for any updates. I will also post here when the issue is resolved.