continuousprint icon indicating copy to clipboard operation
continuousprint copied to clipboard

Running Success Print script triggering continuously

Open AlexandreJubert opened this issue 2 years ago • 14 comments

Issue

After each print on my queue completes, instead of properly pausing the Success script is getting ran multiple times. I get a notification for it every time.

Expected behavior The success script is ran a single time.

Script Here's the only script that is ran on Print Success:

M18 ; disable steppers
M104 T0 S0 ; extruder heater off
M140 S0 ; heated bed heater off
@pause ; wait for user input
@BEDREADY ; make sure the bed is clear before resuming

It's the exact same issue if I remove the @BEDREADY line.

Log files octoprint-systeminfo-20230502102500.zip octopi.local-1683037671730.log

Thank you for your help and let me know if I can provide more information.

AlexandreJubert avatar May 02 '23 14:05 AlexandreJubert

Are you using spool manager?

Terandium avatar May 02 '23 15:05 Terandium

Yes I am using spool manager.

AlexandreJubert avatar May 02 '23 15:05 AlexandreJubert

What is the amount left on your spool?

Terandium avatar May 02 '23 15:05 Terandium

64g

AlexandreJubert avatar May 02 '23 15:05 AlexandreJubert

Can you try to set your spool used to 0, once done does it still behave the same?

Terandium avatar May 02 '23 15:05 Terandium

If I set it to 0, my spool change script is getting spammed as well, and it looks like it's triggering then canceling prints in chain.

AlexandreJubert avatar May 02 '23 15:05 AlexandreJubert

I run the same pause script on Awaiting Material event

AlexandreJubert avatar May 02 '23 15:05 AlexandreJubert

To clarify: Set your spool to full again, so it has lots of filament left. (In the spool manager the physical spool can be ignored)

I am asking this as there is a bug that triggers when the spool doesn't contain enough filament to start another print.

Terandium avatar May 02 '23 15:05 Terandium

I see, I'll try this. One thing to note, the prints I queued uses only 0.67g of plastic each so with 64g left it should have more than enough.

AlexandreJubert avatar May 02 '23 15:05 AlexandreJubert

Trying another queue right now I'll report how it behaves on print completion in 10min~.

AlexandreJubert avatar May 02 '23 15:05 AlexandreJubert

Ah okay, then what I am saying shouldn't be the issue ^^ As it has enough filament left.

Terandium avatar May 02 '23 15:05 Terandium

Another thing to note here, the awaiting material script was getting spammed in the same way the print success script was spammed.

AlexandreJubert avatar May 02 '23 16:05 AlexandreJubert

Alright this time it skipped straight out of the pause and triggered a print right away without pausing or me resuming the queue.

I've attached my latest system info.

octoprint-systeminfo-20230502120736.zip

AlexandreJubert avatar May 02 '23 16:05 AlexandreJubert

As far as I can tell the success print does get triggered and run, maybe it's empty? Would explain it continuing instantly. Unsure tbh

Terandium avatar May 02 '23 16:05 Terandium