Need help with error: Changing monitoring state from "Printing" to "Offline (Error: OverflowError: 'Python int too l
 
Notifications
Clear all

Need help with error: Changing monitoring state from "Printing" to "Offline (Error: OverflowError: 'Python int too l  

  RSS
AnimalFrendo
(@animalfrendo)
Eminent Member
Need help with error: Changing monitoring state from "Printing" to "Offline (Error: OverflowError: 'Python int too l

I am printing from OctoPrint / Octopi. I have a lot of successful prints, but twice now, the print has stopped unexpectedly after about 30-40 minutes, in the middle of the print. The fans are still running, the bed and nozzle are still heating. Print head stops moving.

I see some errors in the octoprint.log, but I'm not sure what they mean, and a google search doesn't help very much.


2018-11-10 00:43:37,667 - octoprint.util.comm - ERROR - Unexpected error while reading from serial port
Traceback (most recent call last):
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/util/comm.py", line 2581, in _readline
ret = self._serial.readline()
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/util/comm.py", line 4599, in readline
data += bytearray(self.read(self.in_waiting))
File "/home/pi/oprint/local/lib/python2.7/site-packages/serial/serialposix.py", line 493, in read
buf = os.read(self.fd, size - len(read))
OverflowError: Python int too large to convert to C long
2018-11-10 00:43:37,779 - octoprint.util.comm - INFO - Changing monitoring state from "Printing" to "Offline (Error: OverflowError: 'Python int too large to convert to C long' @ comm.py:_readline:2581)"

Here is the entire log file:


2018-11-09 23:34:51,449 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2018-11-09 23:34:51,460 - octoprint.server - INFO - --- Log roll over detected ---------------------------------------------------
2018-11-09 23:34:51,462 - octoprint.server - INFO - OctoPrint 1.3.9
2018-11-09 23:34:51,483 - octoprint.plugin.core - INFO - 13 plugin(s) registered with the system:
| Action Command Prompt Support (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/action_command_prompt
| Announcement Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/announcements
| Core Wizard (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/corewizard
| CuraEngine (<= 15.04) (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/cura
| Discovery (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/discovery
| ipOnConnect (0.2.0) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_ipOnConnect
| Logging (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/logging
| OctoPi Support Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/octopi_support
| Plugin Manager (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/pluginmanager
| Printer Safety Check (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/printer_safety_check
| Slic3r (1.1.1) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_slic3r
| Software Update (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/softwareupdate
| Virtual Printer (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/virtual_printer
2018-11-09 23:34:51,583 - octoprint.environment - INFO - Detected environment is Python 2.7.13 under Linux (linux2). Details:
| hardware:
| cores: 1
| freq: 1000.0
| ram: 388599808
| os:
| id: linux
| platform: linux2
| plugins:
| octopi_support:
| model: Zero W
| revision: 9000c1
| version: 0.15.0PE
| python:
| pip: 9.0.3
| version: 2.7.13
| virtualenv: /home/pi/oprint
2018-11-09 23:34:51,585 - octoprint.server - INFO - ------------------------------------------------------------------------------
2018-11-09 23:35:59,907 - octoprint.util.comm - INFO - Finished in 17389.072 s.
2018-11-09 23:35:59,913 - octoprint.util.comm - INFO - Changing monitoring state from "Printing" to "Finishing"
2018-11-09 23:35:59,920 - octoprint.filemanager.analysis - INFO - Starting analysis of local:Prusa_Adjustable_Spool_Holder-thread_v3_0.2mm_PET_MK3.gcode
2018-11-09 23:35:59,938 - octoprint.filemanager.analysis - INFO - Invoking analysis command: /home/pi/oprint/bin/python2 -m octoprint analysis gcode --speed-x=10200 --speed-y=10200 --max-t=10 --throttle=0.0 --throttle-lines=100 /home/pi/.octoprint/uploads/Prusa_Adjustable_Spool_Holder-thread_v3_0.2mm_PET_MK3.gcode
2018-11-09 23:36:00,118 - octoprint.util.comm - INFO - Changing monitoring state from "Finishing" to "Operational"
2018-11-09 23:49:51,475 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2018-11-09 23:52:28,252 - octoprint.filemanager.analysis - INFO - Analysis of entry local:Prusa_Adjustable_Spool_Holder-thread_v3_0.2mm_PET_MK3.gcode finished, needed 988.33s
2018-11-09 23:58:23,904 - octoprint.util.comm - INFO - Changing monitoring state from "Operational" to "Printing"
2018-11-09 23:58:23,944 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2018-11-10 00:04:51,482 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2018-11-10 00:19:51,497 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2018-11-10 00:34:51,504 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2018-11-10 00:43:37,667 - octoprint.util.comm - ERROR - Unexpected error while reading from serial port
Traceback (most recent call last):
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/util/comm.py", line 2581, in _readline
ret = self._serial.readline()
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/util/comm.py", line 4599, in readline
data += bytearray(self.read(self.in_waiting))
File "/home/pi/oprint/local/lib/python2.7/site-packages/serial/serialposix.py", line 493, in read
buf = os.read(self.fd, size - len(read))
OverflowError: Python int too large to convert to C long
2018-11-10 00:43:37,779 - octoprint.util.comm - INFO - Changing monitoring state from "Printing" to "Offline (Error: OverflowError: 'Python int too large to convert to C long' @ comm.py:_readline:2581)"
2018-11-10 00:44:57,897 - octoprint.util.comm - INFO - Changing monitoring state from "Offline" to "Opening serial port"
2018-11-10 00:44:57,929 - octoprint.util.comm - INFO - Changing monitoring state from "Opening serial port" to "Connecting"
2018-11-10 00:44:57,964 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2018-11-10 00:44:58,006 - octoprint.util.comm - INFO - Changing monitoring state from "Connecting" to "Operational"
2018-11-10 00:44:58,043 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2018-11-10 00:44:58,122 - octoprint.plugins.ipOnConnect - INFO - ipOnConnectPlugin: 10.0.0.206
2018-11-10 00:44:58,125 - octoprint.util.comm - INFO - Printer reports firmware name "Prusa-Firmware 3.4.1 based on Marlin"
2018-11-10 00:48:16,143 - octoprint.util.comm - INFO - Changing monitoring state from "Operational" to "Printing"
2018-11-10 00:48:16,182 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2018-11-10 00:49:34,658 - octoprint.util.comm - INFO - Printer seems to support the busy protocol, telling it to set the busy interval to our "communicationBusy" timeout - 1s = 2s
2018-11-10 00:49:51,516 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2018-11-10 01:04:51,524 - octoprint.server.heartbeat - INFO - Server heartbeat <3

Any advice appreciated!

------------------------------------------
Prusa I3 MK3S

Posted : 10/11/2018 2:15 am
AnimalFrendo
(@animalfrendo)
Eminent Member
Topic starter answered:
Re: Need help with error: Changing monitoring state from "Printing" to "Offline (Error: OverflowError: 'Python int too l

I will just add that I realize this question is better suited to the octoPrint forums, but the answers on there for this error are that it is not an OctoPrint problem, and rather that the problem is that the power supply is not adequate. But I have the Rasberry Pi W hooked directly into the Einsy board (MK3), so I don't have much choice here.

------------------------------------------
Prusa I3 MK3S

Posted : 10/11/2018 5:35 pm
Share: