# Oozy END\_PRINT bugfix (& filament runout/resume bugs)

**URL:** https://forum.sovol3d.com/t/oozy-end-print-bugfix-filament-runout-resume-bugs/10312
**Category:** Sovol Zero
**Tags:** klipper
**Created:** [August 20, 2026, 8:27pm UTC](https://forum.sovol3d.com/t/oozy-end-print-bugfix-filament-runout-resume-bugs/10312 "2026-08-20T20:27:46Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![rpcyan](https://avatars.discourse-cdn.com/v4/letter/r/34f0e0/32.png) [@rpcyan](https://forum.sovol3d.com/u/rpcyan)
#### Post date: [August 20, 2026, 8:27pm UTC](https://forum.sovol3d.com/t/oozy-end-print-bugfix-filament-runout-resume-bugs/10312/1 "2026-08-20T20:27:46Z")

</div>

I found a bug in the end\_print macro. It is present in ALL of Zero’s firmwares. **EDIT: Bugs also in SV06 ACE, SV08, and SV08 Max**

Sovol intends to retract 4mm (with a little z hop in the middle) in this code block, which would reduce ooze at the end of the print and crud to deal with at the start of the next:

```auto
{% if printer['filament_switch_sensor filament_sensor'].enable == True and
      printer['filament_switch_sensor filament_sensor'].filament_detected == True %}
    {% if (printer.extruder.target != 0 and ... ) %}
        G1 E-2 F2700
        G1 E-2 Z0.2 F2400
    {% endif %}
{% endif %}

```

the trouble is the if statement never returns true, even with the filament\_sensor present, because it needs to be checking enable **D** , like the rest of the macros, not enabl **E** which doesn’t exist anywhere.

simple fix:

```auto
{% if printer['filament_switch_sensor filament_sensor'].enabled == True and
      printer['filament_switch_sensor filament_sensor'].filament_detected == True %}
    {% if (printer.extruder.target != 0 and ... ) %}
        G1 E-2 F2700
        G1 E-2 Z0.2 F2400
    {% endif %}
{% endif %}

```

Thanks to @scotte on Discord for also independently confirming this bug.

---

<div class="post-metadata">

### Author: ![Lion](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.sovol3d.com/lion/32/5586_2.png) [@Lion](https://forum.sovol3d.com/u/Lion)
#### Post date: [August 20, 2026, 8:38pm UTC](https://forum.sovol3d.com/t/oozy-end-print-bugfix-filament-runout-resume-bugs/10312/2 "2026-08-20T20:38:13Z")

</div>

Am I missing something…both codes look the same to me.

---

<div class="post-metadata">

### Author: ![rpcyan](https://avatars.discourse-cdn.com/v4/letter/r/34f0e0/32.png) [@rpcyan](https://forum.sovol3d.com/u/rpcyan)
#### Post date: [August 20, 2026, 8:39pm UTC](https://forum.sovol3d.com/t/oozy-end-print-bugfix-filament-runout-resume-bugs/10312/3 "2026-08-20T20:39:52Z")

</div>

precisely my point! Probably how Sovol missed it (it also fails silently)

enabl **E** vs enable **D**

---

<div class="post-metadata">

### Author: ![MikeHides](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.sovol3d.com/mikehides/32/4372_2.png) [@MikeHides](https://forum.sovol3d.com/u/MikeHides)
#### Post date: [August 21, 2026, 1:50am UTC](https://forum.sovol3d.com/t/oozy-end-print-bugfix-filament-runout-resume-bugs/10312/4 "2026-08-21T01:50:14Z")

</div>

Thanks for pointing that out @rpcyan :100: TY 🥃

I had to read the manual because like most things in the 3D printing world I didn’t understand the fix… Not to mention that I periodically hit the end of print ooze, was driving me nuts as the clean cycle always left a string on the cleaning brush or worse dropped in on the build plate when I started a new print…

Klipper Ref:

> **[filament\_switch\_sensor - Status reference - Klipper documentation](https://www.klipper3d.org/Status_Reference.html#filament_switch_sensor)**
>
> This document is a reference of printer status information available in Klipper macros, display fields, and via the API Server.

Cheers,  
-Mike

---

<div class="post-metadata">

### Author: ![msheldon](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@msheldon](https://forum.sovol3d.com/u/msheldon)
#### Post date: [August 21, 2026, 2:09am UTC](https://forum.sovol3d.com/t/oozy-end-print-bugfix-filament-runout-resume-bugs/10312/5 "2026-08-21T02:09:55Z")

</div>

Note that this is also present in the SV08 END\_PRINT macro

---

<div class="post-metadata">

### Author: ![mich0111](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.sovol3d.com/mich0111/32/1176_2.png) [@mich0111](https://forum.sovol3d.com/u/mich0111)
#### Post date: [August 21, 2026, 7:00am UTC](https://forum.sovol3d.com/t/oozy-end-print-bugfix-filament-runout-resume-bugs/10312/6 "2026-08-21T07:00:58Z")

</div>

Hi @sovol3d  
Just in case, did you take note of that comment?

---

<div class="post-metadata">

### Author: ![neravaren](https://avatars.discourse-cdn.com/v4/letter/n/278dde/32.png) [@neravaren](https://forum.sovol3d.com/u/neravaren)
#### Post date: [August 21, 2026, 10:32am UTC](https://forum.sovol3d.com/t/oozy-end-print-bugfix-filament-runout-resume-bugs/10312/7 "2026-08-21T10:32:03Z")

</div>

Thanks! Fixed for myself too.

What interesting, same file have like 4 similar lines, and 2 is right, while 2 was wrong spelled. Welll.. Happens~

---

<div class="post-metadata">

### Author: ![ducky31](https://avatars.discourse-cdn.com/v4/letter/d/6a8cbe/32.png) [@ducky31](https://forum.sovol3d.com/u/ducky31)
#### Post date: [August 21, 2026, 8:12pm UTC](https://forum.sovol3d.com/t/oozy-end-print-bugfix-filament-runout-resume-bugs/10312/8 "2026-08-21T20:12:58Z")

</div>

Thanks rpcyan,

It’s the same on my S08 MAX.

---

<div class="post-metadata">

### Author: ![Matt](https://avatars.discourse-cdn.com/v4/letter/m/a6a055/32.png) [@Matt](https://forum.sovol3d.com/u/Matt)
#### Post date: [August 23, 2026, 9:04am UTC](https://forum.sovol3d.com/t/oozy-end-print-bugfix-filament-runout-resume-bugs/10312/9 "2026-08-23T09:04:13Z")

</div>

Cheers for that info 🙂 That mistake appears 3 times in Macro.cfg.

Lines: 131, 278 & 302.

All are enable, rather than enabled.

---

<div class="post-metadata">

### Author: ![rpcyan](https://avatars.discourse-cdn.com/v4/letter/r/34f0e0/32.png) [@rpcyan](https://forum.sovol3d.com/u/rpcyan)
#### Post date: [August 23, 2026, 9:33pm UTC](https://forum.sovol3d.com/t/oozy-end-print-bugfix-filament-runout-resume-bugs/10312/10 "2026-08-23T21:33:24Z")

</div>

I’m looking into the other instances you mentioned. It is **NOT** a blind s/enabled/enabled across all instances.

on your line 278, with this bug, the “Please Insert filament in sensor!” guard never fires. It goes immediately into the else branch and runs the E30/E10 purge and goes into RESUME\_BASE. This can safely be simply renamed.

Your line 302 is tricker. Right now resume is refused whenever the switch reads empty, even with the sensor disabled. It needs both a rename and an inverted logic to get the desired behavior. it should read:

```auto
{% if printer['filament_switch_sensor filament_sensor'].enabled == True and
              printer['filament_switch_sensor filament_sensor'].filament_detected != True
        %}
            {action_respond_info("Please Insert filament in Sensor!")}

```

---

<div class="post-metadata">

### Author: ![dthree](https://avatars.discourse-cdn.com/v4/letter/d/d6d6ee/32.png) [@dthree](https://forum.sovol3d.com/u/dthree)
#### Post date: [August 23, 2026, 10:13pm UTC](https://forum.sovol3d.com/t/oozy-end-print-bugfix-filament-runout-resume-bugs/10312/11 "2026-08-23T22:13:27Z")

</div>

Which macro is this inverted logic needed? I have a modified cfg and the line numbers won’t match up.

---

<div class="post-metadata">

### Author: ![rpcyan](https://avatars.discourse-cdn.com/v4/letter/r/34f0e0/32.png) [@rpcyan](https://forum.sovol3d.com/u/rpcyan)
#### Post date: [August 24, 2026, 1:13am UTC](https://forum.sovol3d.com/t/oozy-end-print-bugfix-filament-runout-resume-bugs/10312/12 "2026-08-24T01:13:46Z")

</div>

There are three sections, I’ll list them in order along with their stock 1.3.7 firmware line number. your placement may vary with later firmwares and/or your own customizations

| macro.cfg line | location | change |
| --- | --- | --- |
| ~119 | END\_PRINT macro | simple s/enable/enabled change is OK |
| ~291 | filament change branch of RESUME | simple s/enable/enabled change is OK |
| ~315 | normal branch of RESUME | requires the logic flip of my previous post |

---

<div class="post-metadata">

### Author: ![Lion](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.sovol3d.com/lion/32/5586_2.png) [@Lion](https://forum.sovol3d.com/u/Lion)
#### Post date: [August 24, 2026, 4:51pm UTC](https://forum.sovol3d.com/t/oozy-end-print-bugfix-filament-runout-resume-bugs/10312/13 "2026-08-24T16:51:12Z")

</div>

I had just changed the first one, now I have done all three.  
Thanks for your work.
