Notifications
Clear all

Stops moving while printjob  

  RSS
Hasenpups
(@hasenpups)
Active Member
Stops moving while printjob

Hello, 

I now had the problem about 4-5 times that the printer stops moving in the middle of a print. I happens on different models and gcodes. It did never happen with the SD card. 

Is there any known issue? Do you need any additional information?

 

Regards

Stefan

Posted : 09/06/2022 6:52 am
Tojik
(@tojik)
Member Moderator
RE: Stops moving while printjob

Hi, if you're running 0.6.0, there is a bug, where the serial component tries waiting for a negative time period. I thought this was fine, and it will just assume zero in that situation, but it fails instead, so please update. If you're on 0.6.1, I am sorry, there was a bug I am unsure affected this version, where the printer sometimes confirmed a command before I started expecting it (oversimplified), which wasn't good either. This mostly happened on the Zero 1 when it got overwhelmed. I'd recommend not using the local web interface during prints on that, if that's the bug you're suffering from.

As you can see, giving just a few version numbers can really narrow down what I have to write in an answer, and there's no point in back and forth about those, takes more time and effort than writing the text above. The forum is really slow to notify me, or I'm afk, so the turnaround for any message is usually hours, sometimes days, if one slips :/

Thanks for reporting and sorry for the failed prints

Posted : 09/06/2022 9:59 am
Hasenpups
(@hasenpups)
Active Member
Topic starter answered:
RE:

Thank you for the fast response. 

I'm running PrusaLink 0.6.1 with PrusaConnect SDK 0.6.0 on a Pi Zero 1 without other problems. 

I think I will try to upgrade to a Pi Zero 2, if there is one available on earth 😀

Posted : 09/06/2022 11:00 am
Tojik
(@tojik)
Member Moderator
RE: Stops moving while printjob

Just to be sure, it's still a bug that i caused, It just so happens the zero 2 is less affected by it.

But still, I'm pretty unsure, so if you could provide a log, it might help to make sure it doesn't survive to 0.7.0

The log can be obtained from the local web interface under settings. The file is called syslog.

Thank you

Posted : 09/06/2022 11:39 am
Gabriel
(@gabriel)
Member
RE: Stops moving while printjob

We also had the same issue a few times, switched to SD card with the same G-Code and it worked. Since then we decided to stick with the SD card so I can't provide the log file.

We use RPi zero 2, and PrusaLink 0.6.1

Posted : 09/06/2022 11:53 am
Tojik
(@tojik)
Member Moderator
RE: Stops moving while printjob

That's okay. Yea, the SD card does not communicate the whole file through serial, so that's the way to go in case of problems like this. Kinda forgot to mention it to people. Thanks

Posted : 09/06/2022 12:04 pm
wac
 wac
(@wac)
New Member
RE: Stops moving while printjob

Seeing behavior similar to what's described here. Mk3S stops mid-print with no outward sign that anything has happened, but the syslog on Pi Zero 1 does record that an exception has occurred. syslog attachment has a "pop from an empty deque" exception. Without familiarity with the code it's hard to guess which queue ran empty. The Pi was getting about 4 qps of monitoring traffic at the time things fell over, but this was largely consistent before and after.

prusa.syslog.2022-06-09T2308

Jun  9 23:08:05 PrusaLink prusa.link.__main__[468]: ERROR: pop from an empty deque {excepthook():38}

 

Posted : 10/06/2022 12:26 am
Tojik
(@tojik)
Member Moderator
RE: Stops moving while printjob

Thanks for confirming. That's the printer winning a race condition with the file print thread. There are two lines right under each other and my monke brain went. No way the printer can acknowledge this before we get to this second line. Well? Yes way it can. Anyway, it's fixed in dev. The recommendations apply. the abundance of power will make sure the code outruns the printer 😀 but that's a stupid solution. I l'm very aware. Thank you very much for the log, hate mysteries in this case

Posted : 10/06/2022 8:07 am
Share: