Hi everyone, I've just been running Octoprint for a day or two, and I'm having some noob issues. I'm running OctoPrint 1.3.11 on OctoPi 0.16.0 on a Raspberry Pi 3 B. My printer is a Prusa i3 MK2 with the latest available firmware.
Here's my problem: When I click the "Upload" button, I select my .gcode file, click OK, and then I see the little progress bar move from left to right while showing "Saving...". It makes it about halfway across the bar, and then it quickly retreats back to the left as though it's giving up. The whole progress bar cycle takes about a half-second, so I have to watch carefully to see it. There is no error message or other negative status displayed, it simply doesn't upload the selected file. I've gotten it to work before (see below), so I know what to expect, but it's not working any more.
I tried rebooting both Octopi and the printer, but neither made a difference. I was able to use the "Upload to SD" button, and that works fine, but it's known to be very slow, which is why I'm trying to upload directly to the printer memory. I also removed the SD card from the printer just to keep that from confusing anything, and that didn't help either.
I checked the log, and each time I attempt an upload, I see the following lines:
2019-07-07 21:33:44,040 - octoprint.filemanager.analysis - INFO - Starting analysis of local:Print_Test.gcode
2019-07-07 21:33:44,051 - octoprint.filemanager.analysis - INFO - Invoking analysis command: /home/pi/oprint/bin/python2 -m octoprint analysis gcode --speed-x=6000 --speed-y=6000 --max-t=10 --throttle=0.0 --throttle-lines=100 /home/pi/.octoprint/uploads/Print_Test.gcode
2019-07-07 21:33:58,346 - octoprint.filemanager.analysis - INFO - Analysis of entry local:Print_Test.gcode finished, needed 14.30s
There is one more line that's perhaps more interesting, but it doesn't appear for every attempt. Only sometimes (maybe associated with certain .gcode files):
2019-07-07 22:13:29,285 - backoff - INFO - Backing off capture_mjpeg(...) for 670.7s (URLError: <urlopen error [Errno 111] Connection refused>)
I also checked the Terminal tab, and nothing new appears there--only the following two lines that appear repeatedly while idle:
Send: M105
Recv: ok T:26.2 /0.0 B:25.5 /0.0 T0:26.2 /0.0 @:0 B@:0
I found another article or two about a similar problem, but they report seeing a "upload failed" message somewhere. I've never seen that, and I'm not even sure where it would appear. Perhaps I missed it?
Interestingly, the Raspberry Pi is connected to my network via Ethernet because when I first set it up with WiFi, it refused most web connections to its IP address. When I first got it running over WiFi, I was able to open the OctoPrint page in my browser (once), and in that instance, the Upload button worked at least a few times. When subsequent attempts failed to open OctoPrint on other devices (e.g., iPad, iPhone, other computers), I decided to un-configure WiFi on the Raspberry Pi and try Ethernet instead. Now, my browsers will all open the Octoprint page with no issues, but the Upload button no longer works.
Thanks in advance for any solutions or suggestions.
--Kris