OctoPrint-Resource-Monitor icon indicating copy to clipboard operation
OctoPrint-Resource-Monitor copied to clipboard

Print stops with error in middle of print job or just before staritng print job

Open theChef613 opened this issue 4 years ago • 7 comments

Hello, After the print job preheats, the print stops and the following error occurs: (Error: SerialException: 'device reports readiness to read but returned no data (device disconnected or multiple access on port?)' @ comm.py:_readline:2823)

sometimes the happens immediately, sometimes it happens after a while. Uninstalling Resource monitor solved the issue.

Thank you!

theChef613 avatar Jun 04 '20 22:06 theChef613

Hello,

Can you provide logs and tell me what environment are you running the plugin on ? (OctoPrint version, Raspberry, ...)

I'll see if i can reproduce the issue

Renaud11232 avatar Jun 05 '20 14:06 Renaud11232

Thanks for the response! I've attached the log file below. I've attached the log file from the failed print. I'm using Octoprint 1.4.0 on a Raspberry PI 3B+ for a Prusa MK3S. Full disclosure, I reinstalled resource monitor and did a short print to try to recreate the issue but it did not happen. One time it took hours for the failure to occur, other times it happened immediately. I think this problem occurred on both dates of the log files attached. octoprint.log.2020-06-03.txt

octoprint.log.2020-05-31.txt

theChef613 avatar Jun 05 '20 16:06 theChef613

Hi. was testing it out to see if I was doing something odd on my side and it happened again. I'm attaching another log file here. octoprint.log.txt

theChef613 avatar Jun 08 '20 03:06 theChef613

Had the same after installing. Seems Ressource Monitor use serial port or blocked it.

vr6syncro avatar Jun 17 '20 17:06 vr6syncro

Hello,

I haven't been able to reproduce the issue on my machine. So far all test prints I've been doing have succeeded.

The plugin should not interract with the serial port. If psutil (the library I use to retrieve resource usage) does, that will need a lot of work to get fixed.

I'll keep investigating.

Renaud11232 avatar Jun 17 '20 17:06 Renaud11232

I use Klipper as Firmware. Klipper seems to use Serial Port. My Printer with Marlin use USB Port. Maybe thats why u could not reproduce it?

vr6syncro avatar Jun 19 '20 18:06 vr6syncro

This also caused prints to stop for me

Deapper avatar Jun 01 '22 08:06 Deapper