Upgrade your OctoPrint install to Python 3!

Read (and follow) the instructions on upgrading more carefully. The upgrade script is not a plugin, so it should not be installed as a plugin. The upgrade script is something you would run in an SSH session (eg Putty), or using a keyboard and display on the Pi.

1 Like

Is there a python 3 version of the klipper plugin? I can't find one.

@simpat1zq - there will be within the week, its being adopted by someone who has updated it to be Py3 compatible.

@jdcamc I'm not sure what to say.... This is not a plugin, read the instructions, it goes nowhere near the plugin manager.

You can use Octoprint and Klipper without the plugin. The printer-queue is /tmp/primter which looks a bit odd, but for Octoprint, Klipper behaves like a standard printer. It handles the common G-codes like temperature control, G28, G1 and the like. The plugin gives you the capability to edit the Klipper-configuration with data like default acceleration etc from within the browser. This is a huge bonus over Marlin where simple things like configuring ABL require the compilation of a new firmware file.

1 Like

Thank you. Is there a github link to the project?

This is the link to the adoption ticket:

The repo is here:

The upgrade worked very well. So simple. Thanks for making the upgrade easy. I did have one issue after the upgrade. Trying to install a new plugin, I got the error message that my OctoPrint was not connected to the internet. I ran through all of the connectivity checks and it was connected. I spent a little time trying to identify the issue with no success. I rebooted Octoprint and the Raspberry Pi several times, no joy.

I decided to manually download the zip file for the plugin that I wanted. It upgraded and once the system rebooted it was working fine.

Thanks to all for making this so super simple.

1 Like

Just need to wait for an update to Filament Manager

Not running it as root solved my issue.

1 Like

@Niamh - Filament manager got taken over by @OllisGit yesterday (maybe the day before), so you're in luck!

Release notes :point_right: https://github.com/OllisGit/OctoPrint-FilamentManager/releases/tag/1.6.0

You should get a notice that it has been transferred, but you need to reinstall as the updates are looking in the wrong place. See plugin notices if you don't get it, at the bottom Plugin notices

OK, so just uninstall the existing filament manager ten install the new one?

If you go to Settings > Plugin Manger > Get More then find 'Filament Manager' there should be a reinstall button beside it :slightly_smiling_face: you may need to check it is not filtered on installed plugins only.

Or if you can't find that, uninstall without cleaning data (you'll lose all your config) then install it again.

I am running .17. I rcvd this error:

E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/dpkg/status
E: The package lists or status file could not be parsed or opened.
ERROR: failed to update package list
Please try manually

Cleaning up...
Fatal error: Exiting

Try updating the package list manually, with sudo apt-get update, that seems an issue with your OctoPi installation - nothing I can do about that.

Also check it is connected to the internet, then if you still need help solving the problem please open a separate topic in 'Get help'.

Definitely connected to the internet
pi@octopi:~ $ sudo apt-get update
[sudo] password for pi:
Get:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Hit:2 http://archive.raspberrypi.org/debian buster InRelease
Fetched 15.0 kB in 1s (13.8 kB/s)
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/dpkg/status
E: The package lists or status file could not be parsed or opened.

Thanks for the upgrade script.
I found that I had 3 plugins that used python V2, so deleted them first.
The upgrade script worked flawlessly :slight_smile:

I now just have to wait for the plugin owners to upgrade their pplugins to V3

cheers
ian

1 Like

I wish these 4 plugins would be upgraded to python 3

  • LayerDisplay (0.4.3) from Matt Thompson
  • OctoKlipper (0.2.5) from Martin Muehlhaeuser
  • Terminal Commands (0.1.6) from ieatacid
  • Webcam Tab (0.1.2) from Sven Lohrmann
    most importantly the Octoklipper plugin.

EDIT: Whoahh, I just realised that after removing the Octoklipper 0.2.5 plugin I could install the 0.3.1 version from Alice Weigt, which is python 3 compatible!!!
Hope that helps anyone
EDIT 2: Success: OctoPrint 1.4.2 Python 3.7.3 OctoPi 0.17.0 (deactivated the three plugins before upgrading with the script).
THANKS

1 Like

Yeah, the Klipper plugin it was adopted officially yesterday. Go and let the plugin authors know that you want Python 3 compatibility, for the others, at some point OctoPrint will drop Py2 support so they need to be made compatible.

On every plugin there is at least one "python 3 upgrade" issue.

my Terminal Commands Extended plugin is Py3 compatible...

1 Like