guysoft / OctoKlipperPi

OctoPi klipper using the CustoPiZer distro builder
GNU General Public License v3.0
89 stars 15 forks source link

Show editor button loads the last loaded file for editing after you use the Tools / Plugins / OctoKlipper setup #12

Closed jakebullet70 closed 1 year ago

jakebullet70 commented 1 year ago

What were you doing?

Adding a new file in the Octoprint / plugins / OctoKlipper - klipper configuration tab. When going back to the Klipper TAB on the main Octo screen the 'Show Editor' loads the last edited file instead of the printer.cfg file

  1. Goto Tools / Plugins / OctoKlipper
  2. Click Klipper Configuration
  3. Add a file (whatever.cfg)
  4. Save and exit and go back to Octoprint main screen
  5. Switch to Klipper TAB
  6. Click 'Show Editor' button - it loads the last edited file you just created and not printer.cfg

What did you expect to happen?

Show printer.cfg

What happened instead?

loads whatever was the last file edited in the plugin config.

Did the same happen when running OctoPrint in safe mode?

In safe mode OctoKlipper does not run. :)

Version of OctoPi-Klipper

Installed Octo-Klipper from RasPi installer 3 days ago, upgraded anything and everything when prompted.

octoprint-systeminfo-20230912050016.zip

Printer model & used firmware incl. version

Anycubic 4Max - Did a Git PULL so latest Klipper firmware and re compiled.

Screenshot(s)/video(s) showing the problem:

1 2

I have read the FAQ.

guysoft commented 1 year ago

Hey, I think you are looking for the OctoKlipper plugin repo, this one is for the raspberry distribution "OctoKlipperPi" That ships klipper per-installed with OctoPrint

The repo you want is here: https://github.com/thelastWallE/OctoprintKlipperPlugin