Today I noticed a bug when the flashing process is in progress and my mouse is inside the "Ethcer" window and I disconnected my mouse by unplugging the USB cabel (it is a USB mouse) the Etcher window goes white and the process disappears in the Task Manager:
How bizarre! Before unplugging your mouse, can you open the Etcher DevTools console and see if any error gets reported there when you later unplug the mouse?
Hi! Thank you for getting back to me. There is nothing helpful I can see in the DevTools. The process is killed after I unplug the device and the output in the DevTools do not output any errors about it. :)
@georgikoemdzhiev can you try Etcher v1.3.1 (which we've released this week), and see if this still happens?
@jhermsmeier Will give it a try later today and report back. Thanks! :)
@jhermsmeier I was able to replicate the problem even with the latest version of Etche (1.3.1).
Thanks @georgikoemdzhiev – we'll check it out & try to reproduce!
Just out of curiosity, why do you need to unplug your USB mouse while flashing an image with Etcher? :laughing:
Strangely enough I just ran into this when testing something on Windows 7, and attaching a Virtual Hard Drive while Etcher was open – it blanked to white, and that was it. Will look into this a bit more, now that I have a way to reproduce.
@jhermsmeier Nice! Glad that you managed to reproduce it :) @lurch :D I have Logitech G700s -
rechargeable mouse. So when charged I unplug it from the cable and it so happened I was flashing an ISO at the time :D
this problem is caused by the library "tessel/node-usb", and it only happens on windows OS. I have a project which also build with electron framework. My use case is using that usb library to watch usb ports and once the target usb device plug into computer(by checking the vendor id, product id....) my application will use hex code to communicate with it.
On linux, macOS everything works, but on windows 7, 10, if I unplug any other usb devices(usb drive/ smart card reader), my electron app will just crashed and goes white without any error message no matter in rendering process or main process. Therefore, for windows OS, I have to cancel the "auto detect" function for usb plug/unplug events to make my app works without that issue. I've tried to find other solutions for about 3 months. This problem is really annoying..... hoping someone knows how to solve it.....
Most helpful comment
this problem is caused by the library "tessel/node-usb", and it only happens on windows OS. I have a project which also build with electron framework. My use case is using that usb library to watch usb ports and once the target usb device plug into computer(by checking the vendor id, product id....) my application will use hex code to communicate with it.
On linux, macOS everything works, but on windows 7, 10, if I unplug any other usb devices(usb drive/ smart card reader), my electron app will just crashed and goes white without any error message no matter in rendering process or main process. Therefore, for windows OS, I have to cancel the "auto detect" function for usb plug/unplug events to make my app works without that issue. I've tried to find other solutions for about 3 months. This problem is really annoying..... hoping someone knows how to solve it.....