# Gcode\_shell\_command clear\_plr

**URL:** <https://klipper.discourse.group/t/gcode-shell-command-clear-plr/14119>\
**Category:** General Discussion\
**Created:** [February 15, 2024, 12:40am UTC](https://klipper.discourse.group/t/gcode-shell-command-clear-plr/14119 "2024-02-15T00:40:02Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![sforrest](https://avatars.discourse-cdn.com/v4/letter/s/77aa72/32.png) [@sforrest](https://klipper.discourse.group/u/sforrest)\
**Post date:** [February 15, 2024, 12:40am UTC](https://klipper.discourse.group/t/gcode-shell-command-clear-plr/14119/1 "2024-02-15T00:40:02Z")

</div>

[klippy (1).log](https://klipper.discourse.group/uploads/short-url/ueelHKSX7Gum3d1tDlz46sxTuvD.log) (28.7 KB)

### Basic Information:

Printer Model: Sovol sv07  
 MCU / Printerboard:  
 `klippy.log`

### Describe your issue: I am receiving this error and I don’t know what to do to remedy it. Please help.

 ![image](https://global.discourse-cdn.com/free1/uploads/klipper/original/2X/9/9b46182a7c8fd30b8ad2bcec6aeb112c21a1c71e.png)

…

---

<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:** [February 15, 2024, 6:56am UTC](https://klipper.discourse.group/t/gcode-shell-command-clear-plr/14119/2 "2024-02-15T06:56:10Z")

</div>

> [@sforrest](#):
>
> Sovol sv07

This printer uses a modified Klipper version and Sovol is violating Klipper’s license since they did not publish their changes.

It seems you have updated to the original version, which likely will not work out of the box.  
The best approach is to revert to the original Sovol version and contact them if the error persists.

---

<div class="post-metadata">

**Author:** ![sforrest](https://avatars.discourse-cdn.com/v4/letter/s/77aa72/32.png) [@sforrest](https://klipper.discourse.group/u/sforrest)\
**Post date:** [February 15, 2024, 12:53pm UTC](https://klipper.discourse.group/t/gcode-shell-command-clear-plr/14119/3 "2024-02-15T12:53:02Z")

</div>

Thank you! How do I revert it back to the original?

---

<div class="post-metadata">

**Author:** ![hcet14](https://avatars.discourse-cdn.com/v4/letter/h/ecd19e/32.png) [@hcet14](https://klipper.discourse.group/u/hcet14)\
**Post date:** [February 15, 2024, 3:37pm UTC](https://klipper.discourse.group/t/gcode-shell-command-clear-plr/14119/4 "2024-02-15T15:37:41Z")

</div>

> [@sforrest](#):
>
> Sovol sv07

You may find the printer.cfg following [Stuck at SD Card Update due to MCU Type mismatch - #4 by hcet14](https://klipper.discourse.group/t/stuck-at-sd-card-update-due-to-mcu-type-mismatch/13585/4)

Good luck, hcet14

---

<div class="post-metadata">

**Author:** ![LifeOfBrian](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/lifeofbrian/32/2380_2.png) [@LifeOfBrian](https://klipper.discourse.group/u/LifeOfBrian)\
**Post date:** [February 15, 2024, 3:52pm UTC](https://klipper.discourse.group/t/gcode-shell-command-clear-plr/14119/5 "2024-02-15T15:52:56Z")

</div>

I think you have to delete the  
`gcode_shell_command.py` and `gcode_shell_command.pyc`  
from within `klipper/klippy/extras/`  
and of course remove any of the created sections and commands respectively.

---

<div class="post-metadata">

**Author:** ![sforrest](https://avatars.discourse-cdn.com/v4/letter/s/77aa72/32.png) [@sforrest](https://klipper.discourse.group/u/sforrest)\
**Post date:** [February 15, 2024, 3:54pm UTC](https://klipper.discourse.group/t/gcode-shell-command-clear-plr/14119/6 "2024-02-15T15:54:21Z")

</div>

Would I ssh into the printer and run a command to do that?  
Sorry this stuff is very new to me and I’m trying to learn it as I go.

---

<div class="post-metadata">

**Author:** ![sforrest](https://avatars.discourse-cdn.com/v4/letter/s/77aa72/32.png) [@sforrest](https://klipper.discourse.group/u/sforrest)\
**Post date:** [February 15, 2024, 3:56pm UTC](https://klipper.discourse.group/t/gcode-shell-command-clear-plr/14119/7 "2024-02-15T15:56:17Z")

</div>

Like I’m not even sure what gcode command shell does and why it started receiving this error all of the sudden

---

<div class="post-metadata">

**Author:** ![LifeOfBrian](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/lifeofbrian/32/2380_2.png) [@LifeOfBrian](https://klipper.discourse.group/u/LifeOfBrian)\
**Post date:** [February 15, 2024, 4:04pm UTC](https://klipper.discourse.group/t/gcode-shell-command-clear-plr/14119/8 "2024-02-15T16:04:55Z")

</div>

That seems to come from custom printer configs from the internet I think.  
Gcode\_command\_shell is a script that allows you to execute scripts on your RasPi oder SBC from within Klipper:

> <https://github.com/dw-0/kiauh/blob/master/docs/gcode_shell_command.md>

If you do not know what you are doing it should be kept off of your printer!

---

<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:** [February 15, 2024, 4:11pm UTC](https://klipper.discourse.group/t/gcode-shell-command-clear-plr/14119/9 "2024-02-15T16:11:08Z")

</div>

> [@LifeOfBrian](#):
>
> If you do not know what you are doing it should be kept off of your printer!

@LifeOfBrian this stuff belongs to the S7 Klipper modifications and also to some levelling routines that this printer is using.

I would not advice

- To delete anything of it
- To deviate from the “official” Sovol S7 Klipper distribution

At least not without having a very solid understanding of what Sovol is doing and how to mange potential deviations.

---

<div class="post-metadata">

**Author:** ![sforrest](https://avatars.discourse-cdn.com/v4/letter/s/77aa72/32.png) [@sforrest](https://klipper.discourse.group/u/sforrest)\
**Post date:** [February 15, 2024, 4:15pm UTC](https://klipper.discourse.group/t/gcode-shell-command-clear-plr/14119/11 "2024-02-15T16:15:25Z")

</div>

So would the best approach be to restore it to how sovol had it configured? And if so how do I do that?

---

<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:** [February 15, 2024, 4:25pm UTC](https://klipper.discourse.group/t/gcode-shell-command-clear-plr/14119/12 "2024-02-15T16:25:45Z")

</div>

> [@sforrest](#):
>
> So would the best approach be to restore it to how sovol had it configured?

Either this or you are able to analyze what Sovol has been doing originally and are able to either replicate or work-around the missing modification in the original Klipper.

> [@sforrest](#):
>
> And if so how do I do that?

No idea as I do not own this printer. Their original firmware can be downloaded here: [Firmware Download](https://www.sovol3d.com/pages/download)  
It seems that there are instructions available as well.

This is exactly the “trap” you run into when having manufacturers that do not abide to the license and open source philosophy. Some thoughts on this here: [Importance of Open Source in 3D Printing and the Consequences of OSS License Infringement](https://klipper.discourse.group/t/importance-of-open-source-in-3d-printing-and-the-consequences-of-oss-license-infringement/12624/)

---

<div class="post-metadata">

**Author:** ![sforrest](https://avatars.discourse-cdn.com/v4/letter/s/77aa72/32.png) [@sforrest](https://klipper.discourse.group/u/sforrest)\
**Post date:** [February 15, 2024, 4:32pm UTC](https://klipper.discourse.group/t/gcode-shell-command-clear-plr/14119/13 "2024-02-15T16:32:38Z")

</div>

Dang, good to know this. I’ll definitely have to consider this next time I purchase a 3D printer, thank you!

---

<div class="post-metadata">

**Author:** ![LifeOfBrian](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/lifeofbrian/32/2380_2.png) [@LifeOfBrian](https://klipper.discourse.group/u/LifeOfBrian)\
**Post date:** [February 15, 2024, 4:41pm UTC](https://klipper.discourse.group/t/gcode-shell-command-clear-plr/14119/14 "2024-02-15T16:41:46Z")

</div>

Ah sorry, did not know the printer was using that mods by default. 😕

---

<div class="post-metadata">

**Author:** ![sforrest](https://avatars.discourse-cdn.com/v4/letter/s/77aa72/32.png) [@sforrest](https://klipper.discourse.group/u/sforrest)\
**Post date:** [February 20, 2024, 4:27am UTC](https://klipper.discourse.group/t/gcode-shell-command-clear-plr/14119/15 "2024-02-20T04:27:55Z")

</div>

So I followed the instructions and it seems to be working except the Klipper screen will pop up properly for a few seconds, then the extruder’s temp will display something like -97 degrees Celsius and will display the error on the screen. It will do this everytime I hit firmware restart.  
[klippy (3).log](https://klipper.discourse.group/uploads/short-url/fVV2TIGyIIv1T5qByGipFJR6QWO.log) (444.0 KB)

 ![image](https://global.discourse-cdn.com/free1/uploads/klipper/original/2X/9/9f571f27852e1f58587eee5e60c3e2963c7ce294.png)  
Not sure what’s going on here.

---

<div class="post-metadata">

**Author:** ![sforrest](https://avatars.discourse-cdn.com/v4/letter/s/77aa72/32.png) [@sforrest](https://klipper.discourse.group/u/sforrest)\
**Post date:** [February 20, 2024, 4:47am UTC](https://klipper.discourse.group/t/gcode-shell-command-clear-plr/14119/16 "2024-02-20T04:47:56Z")

</div>

Nevermind, I fixed it!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/klipper/original/1X/64419bf2aac6639e6ef5cef200dcd456b0a01ac3.png) [@system](https://klipper.discourse.group/u/system)\
**Post date:** [March 21, 2024, 2:48pm UTC](https://klipper.discourse.group/t/gcode-shell-command-clear-plr/14119/17 "2024-03-21T14:48:08Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
