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
Update fails once and then succeed, everytime. #1586
Comments
Based on the logs it looks like it was hiccuping on an encoding problem due to some non-ASCII character in the output of On your automatic restart issue I'm currently drawing a blank. I made the error message in that case more verbose, maybe that will help finding the cause. I cannot reproduce the behaviour. So if you are still seeing this after updating, please open a new ticket (always: one ticket per issue - multiple issues per ticket cause chaos). |
Hi, thank you ! I'll confirm this is/isn't working on Monday when I'm back to work (but I'm pretty confiant it will work :) The restart issue was actually just a note inside the log, of course if it still here on monday I'll open a new ticket |
Just keep in mind that you'll only be able to confirm it working on the first update you run AFTER updating to OctoPrint 1.3.0.dev1529+g2c6fb68 or later, I naturally cannot apply patches retroactively ;) |
Hi there Just updated right now, still get the same type of error but not at the same place... It does the git pull stuff right (the problematic string was certainly "Mise à jour ..." - french system), I saw all the byte-compiling stuff in octoprint log windows and then :
Running the upgrade again worked fine plugins_softwareupdate_console.log seems to miss all the part where the error appeared but it has the one who succeeded :
At least, I didn't had restart issue this time ;) |
Damn. Probably same issue, different location though. And yeah, it crashes while trying to write out the problematic log line(s), so there's nothing in the log. I guess I'll spend some more time on that one ;) |
p.(stdout|stderr).text is unicode. p.(stdout|stderr).readline isn't, so decode manually. Should hopefully solve #1586 for good now...
Ok, I think I found and fixed the culprit (and I hope that was the last one of those). OctoPrint 1.3.0.dev1543+g174ffdf and later should be fixed. Let's see :) |
Hi ! Thank you both for this awsome software and your reactivity ! I let you close this issue in case you want it to stay open for any reason |
Perfect, thanks for getting back to me on this! Also thanks for spotting this, that would have caused a lot of people issues once 1.3.0 gets released. I'll leave this open until it's released as part of the next RC, but I'll mark it as solved :) |
1.3.0rc2 is out |
Hi all,
I ran into the same issue everytime OctoPrint try to update.
Running on Raspberry pi 1 model B with raspbian jessie
details below
What were you doing?
Click on the update button when the notification pops up
What did you expect to happen?
The update run with success
What happened instead?
The update fails once, then it success if launched right after from the "software update" menu
Branch & Commit or Version of OctoPrint
Version: 1.3.0.dev1518+gd28e098 (devel branch)
Tying to upgrade to 1.3.0.dev1525+gfac83e9 (devel branch)
But I got this issue many time in the past with older version (but always devel)
Printer model & used firmware incl. version
not related
Browser and Version of Browser, Operating System running Browser
Firefox 49.0.2 on Windows 10
Link to octoprint.log
Octoprint log : http://pastebin.com/ivSGV7nd
Software update log : http://pastebin.com/Y7WvgeYa
Note : I also included the failed and succeeded updates from yesterday so you could see two occurences of the same issue
I have read the FAQ.
thank you
The text was updated successfully, but these errors were encountered: