Renaud11232 / OctoPrint-Resource-Monitor

An OctoPrint plugin to view current CPU and RAM usage
MIT License
39 stars 9 forks source link

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

Open theChef613 opened 4 years ago

theChef613 commented 4 years ago

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!

Renaud11232 commented 4 years ago

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

theChef613 commented 4 years ago

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 commented 4 years ago

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

vr6syncro commented 4 years ago

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

Renaud11232 commented 4 years ago

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.

vr6syncro commented 4 years ago

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?

Deapper commented 2 years ago

This also caused prints to stop for me