Page 1 of 1

Error when uploading sketch

Posted: 25 Nov 2017 18:56
by dawiinci
I always get this message when I want to upload a sketch after I already have uploaded one. I have to unplug the Z-UNO in order to upload. I'm on the latest release. Is this a bug?
RAW Info:
----------------------------------------------------------
FIRMWARE DATA
----------------------------------------------------------
(<type 'exceptions.IndexError'>, '<string>', 461)



**** **** **** **** **** *
* * * * * * * * * *
* * * * * * * * * *
**** *** *** * * *** *
* * * * * * * * *
**** * * * * **** * * *



Error 0 Unknown exception "list index out of range"

Re: Error when uploading sketch

Posted: 25 Nov 2017 19:02
by petergebruers
I have seen something similar, but I cannot remember what caused it. Long shot: do you use debugging via serial over usb? I have been using debugging over seria uartl instead of usb for the last few months, and I think that might have solved it.

Re: Error when uploading sketch

Posted: 25 Nov 2017 21:40
by PoltoS
Select the correct port.

Re: Error when uploading sketch

Posted: 26 Nov 2017 00:51
by dawiinci
The port should be correct because it works the first time and after reconnecting. However I will check next time to be sure.

I'm not using debugging functions, but thanks for the hint.

Re: Error when uploading sketch

Posted: 26 Nov 2017 13:40
by dawiinci
I confirm the port is correct. I uploaded the sketch once and after it close the port I uploaded it again >> Error.

Now it doesn't work until I unplug it once.