# Internal error on G1" stepcompress error

**URL:** <https://klipper.discourse.group/t/internal-error-on-g1-stepcompress-error/9588>\
**Category:** General Discussion\
**Created:** [July 22, 2023, 2:40am UTC](https://klipper.discourse.group/t/internal-error-on-g1-stepcompress-error/9588 "2023-07-22T02:40:56Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![skierskiiing](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@skierskiiing](https://klipper.discourse.group/u/skierskiiing)\
**Post date:** [July 22, 2023, 2:40am UTC](https://klipper.discourse.group/t/internal-error-on-g1-stepcompress-error/9588/1 "2023-07-22T02:40:56Z")

</div>

### Basic Information:

Printer Model: voron 2.4  
 MCU / Printerboard: btt octopus/ raspi 3b  
 [klippy(14).log](https://klipper.discourse.group/uploads/short-url/2E8R3XX7MZ7NQ4WhO53aCsD0Rct.log) (6.4 MB)

_Fill out above information and_ **_in all cases attach your_ `klippy.log` _file_**. _Pasting your_ `printer.cfg` _is **not** needed_

### Describe your issue:

…I’ve had a big problem on my voron 2.4 running klipper mainsail where everytime after it prints for 4 or so hours it shuts down with “internal error on G1” and in klippy.log it says something along the lines of step compress error. This issue has been plaguing me after multiple reinstalls and hardware changes.

---

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [July 22, 2023, 8:04am UTC](https://klipper.discourse.group/t/internal-error-on-g1-stepcompress-error/9588/2 "2023-07-22T08:04:22Z")

</div>

There are quite a few  
`Transition to shutdown state: Lost communication with MCU 'mcu'`  
errors in your log, which point to a general hardware instability. See [Timeout with MCU / Lost communication with MCU](https://klipper.discourse.group/t/timeout-with-mcu-lost-communication-with-mcu/6639)

---

<div class="post-metadata">

**Author:** ![skierskiiing](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@skierskiiing](https://klipper.discourse.group/u/skierskiiing)\
**Post date:** [July 22, 2023, 2:36pm UTC](https://klipper.discourse.group/t/internal-error-on-g1-stepcompress-error/9588/3 "2023-07-22T14:36:21Z")

</div>

so this could mean a bad raspi or cable?

---

<div class="post-metadata">

**Author:** ![skierskiiing](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@skierskiiing](https://klipper.discourse.group/u/skierskiiing)\
**Post date:** [July 31, 2023, 9:30pm UTC](https://klipper.discourse.group/t/internal-error-on-g1-stepcompress-error/9588/4 "2023-07-31T21:30:58Z")

</div>

I’ve gone through all my wiring even gotten a new USB c cable and the error still continues to happen. Can you help me diagnose whats wrong?

---

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [August 1, 2023, 6:56am UTC](https://klipper.discourse.group/t/internal-error-on-g1-stepcompress-error/9588/5 "2023-08-01T06:56:38Z")

</div>

The known causes of such a timeout error are listed in the linked post above (which is more than just changing the USB cable).

In addition, I see two points for troubleshooting:

- Your configuration is very complex: I’d reduce it to the minimum needed for printing and see if the errors still occur.
- You are using a modified version of Klipper. Go back to the original mainline Klipper and test again.

---

<div class="post-metadata">

**Author:** ![skierskiiing](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@skierskiiing](https://klipper.discourse.group/u/skierskiiing)\
**Post date:** [August 1, 2023, 4:32pm UTC](https://klipper.discourse.group/t/internal-error-on-g1-stepcompress-error/9588/7 "2023-08-01T16:32:28Z")

</div>

what do you mean by modified version of klipper and how do i go back to the original?

---

<div class="post-metadata">

**Author:** ![jakep\_82](https://avatars.discourse-cdn.com/v4/letter/j/ea666f/32.png) [@jakep\_82](https://klipper.discourse.group/u/jakep_82)\
**Post date:** [August 2, 2023, 1:48am UTC](https://klipper.discourse.group/t/internal-error-on-g1-stepcompress-error/9588/8 "2023-08-02T01:48:06Z")

</div>

> ‘/home/voron/printer\_data/comms/klippy.sock’]  
> Git version: ‘v0.11.0-240-g6d48adf9-dirty’  
> Untracked files: klippy/extras/z\_calibration.py

---

<div class="post-metadata">

**Author:** ![skierskiiing](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@skierskiiing](https://klipper.discourse.group/u/skierskiiing)\
**Post date:** [August 2, 2023, 1:59am UTC](https://klipper.discourse.group/t/internal-error-on-g1-stepcompress-error/9588/9 "2023-08-02T01:59:15Z")

</div>

what does this tell you? also this error has happened before i installed z\_calibration

---

<div class="post-metadata">

**Author:** ![jakep\_82](https://avatars.discourse-cdn.com/v4/letter/j/ea666f/32.png) [@jakep\_82](https://klipper.discourse.group/u/jakep_82)\
**Post date:** [August 2, 2023, 2:12am UTC](https://klipper.discourse.group/t/internal-error-on-g1-stepcompress-error/9588/10 "2023-08-02T02:12:28Z")

</div>

It indicates that you have z\_calibration installed which is not a mainline Klipper module. The developers generally won’t investigate errors like this when you’re running code from someone else.

---

<div class="post-metadata">

**Author:** ![skierskiiing](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@skierskiiing](https://klipper.discourse.group/u/skierskiiing)\
**Post date:** [August 3, 2023, 5:15pm UTC](https://klipper.discourse.group/t/internal-error-on-g1-stepcompress-error/9588/11 "2023-08-03T17:15:08Z")

</div>

I’ve removed the modified files from klipper and got the same error  
[klippy(18).log](https://klipper.discourse.group/uploads/short-url/ApTw7EG3KE5sXbg8nAYlt2Do6mZ.log) (3.6 MB)

---

<div class="post-metadata">

**Author:** ![koconnor](https://avatars.discourse-cdn.com/v4/letter/k/aca169/32.png) [@koconnor](https://klipper.discourse.group/u/koconnor)\
**Post date:** [August 4, 2023, 5:39pm UTC](https://klipper.discourse.group/t/internal-error-on-g1-stepcompress-error/9588/12 "2023-08-04T17:39:46Z")

</div>

That’s odd. Can you also compress and attach the gcode file that you were printing at the time of the failure?

-Kevin

---

<div class="post-metadata">

**Author:** ![skierskiiing](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@skierskiiing](https://klipper.discourse.group/u/skierskiiing)\
**Post date:** [August 6, 2023, 1:44am UTC](https://klipper.discourse.group/t/internal-error-on-g1-stepcompress-error/9588/13 "2023-08-06T01:44:47Z")

</div>

Sorry for the late response. I am unable to pinpoint where in the gcode file where the error occurred but it happened somewhere around 1 hour and 15 minutes in but this was the most recent file i printed where this error occured  
[contact sleeve.gcode](https://klipper.discourse.group/uploads/short-url/h6AtDl3kwP1ON4iPxAZWPLbmvqB.gcode) (915.2 KB)

---

<div class="post-metadata">

**Author:** ![skierskiiing](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@skierskiiing](https://klipper.discourse.group/u/skierskiiing)\
**Post date:** [August 9, 2023, 5:24pm UTC](https://klipper.discourse.group/t/internal-error-on-g1-stepcompress-error/9588/14 "2023-08-09T17:24:27Z")

</div>

i’ve also changed my MCU and ras pi and this error still happens

---

<div class="post-metadata">

**Author:** ![skierskiiing](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@skierskiiing](https://klipper.discourse.group/u/skierskiiing)\
**Post date:** [August 14, 2023, 3:50pm UTC](https://klipper.discourse.group/t/internal-error-on-g1-stepcompress-error/9588/15 "2023-08-14T15:50:53Z")

</div>

sorry to keep on replying but i’d really like to get some help on this error. I’m going to college on wednesday and won’t have my printer with me for several months

---

<div class="post-metadata">

**Author:** ![koconnor](https://avatars.discourse-cdn.com/v4/letter/k/aca169/32.png) [@koconnor](https://klipper.discourse.group/u/koconnor)\
**Post date:** [August 18, 2023, 12:25am UTC](https://klipper.discourse.group/t/internal-error-on-g1-stepcompress-error/9588/16 "2023-08-18T00:25:05Z")

</div>

I looked through the logs again, and also ran a simulation of the print from that file. I was not able to reproduce the failure (simulating the print succeeds without issue). Unfortunately, that means I don’t have any leads on what the root cause of the problem is.

These types of failures are very rare. It’s possible (although unlikely) that there is some kind of corruption of the code or OS. You could try a full reinstall of the host machine and reflash of the micro-controllers.

Otherwise, if the problem persists, the only advice I can give is to gather more information. (For example, see if there is a pattern on failures, check if the same prints always fail at the same time, and similar.)

-Kevin

---

<div class="post-metadata">

**Author:** ![skierskiiing](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@skierskiiing](https://klipper.discourse.group/u/skierskiiing)\
**Post date:** [August 18, 2023, 4:24am UTC](https://klipper.discourse.group/t/internal-error-on-g1-stepcompress-error/9588/17 "2023-08-18T04:24:56Z")

</div>

Thank you for looking into the issue though unfortunately i moved into my college dorm and am unable to access my printer until december. for information regarding the problem i’ve done multiple reinstalls of klipper on multiple different boards and the prints typically are failing at the same time give or take 5-10 minutes

---

<div class="post-metadata">

**Author:** ![skierskiiing](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@skierskiiing](https://klipper.discourse.group/u/skierskiiing)\
**Post date:** [December 19, 2023, 10:37pm UTC](https://klipper.discourse.group/t/internal-error-on-g1-stepcompress-error/9588/19 "2023-12-19T22:37:20Z")

</div>

> [@skierskiiing](#):
>
> am back from college for break, I have once again reinstalled klipper and have updated all dependents yet I still get the exact same error at a similar time interval of printing

am back from college for break, I have once again reinstalled klipper and have updated all dependents yet I still get the exact same error at a similar time interval of printing  
[klippy(19).log](https://klipper.discourse.group/uploads/short-url/odfFjltjb9GQsClRaYcCeCACnR9.log) (956.6 KB)

---

<div class="post-metadata">

**Author:** ![koconnor](https://avatars.discourse-cdn.com/v4/letter/k/aca169/32.png) [@koconnor](https://klipper.discourse.group/u/koconnor)\
**Post date:** [December 26, 2023, 7:30pm UTC](https://klipper.discourse.group/t/internal-error-on-g1-stepcompress-error/9588/20 "2023-12-26T19:30:23Z")

</div>

That log does not show an error.

-Kevin

---

<div class="post-metadata">

**Author:** ![skierskiiing](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@skierskiiing](https://klipper.discourse.group/u/skierskiiing)\
**Post date:** [December 26, 2023, 11:21pm UTC](https://klipper.discourse.group/t/internal-error-on-g1-stepcompress-error/9588/21 "2023-12-26T23:21:18Z")

</div>

whoops for some reason that log didn’t show the error, this one should. I noticed that when i reposition my mcu cooling fans to be more direct with the mcu i was able to get a 2 hour print done before it shuts down to the same error. could over heating have something to do with the error?  
[klippy(21).log](https://klipper.discourse.group/uploads/short-url/hpz4RKJQj0ol8EtvEXYILy8JtJt.log) (6.0 MB)

---

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [December 27, 2023, 6:10am UTC](https://klipper.discourse.group/t/internal-error-on-g1-stepcompress-error/9588/22 "2023-12-27T06:10:47Z")

</div>

Your log shows:

```auto
Git version: 'v0.12.0-32-gf0753bd3'

```

which suggests that you have not updated to current git and thus do not run the fixed version.

[Next page](https://klipper.discourse.group/t/internal-error-on-g1-stepcompress-error/9588.md?page=2)
