Python3 Compatibility with CANVAS Hub Plugins
Notes on updating the Palette and Canvas plugins for OctoPrint and Python3.
The main Mosaic plugins (i.e CANVAS plugin and Palette 2 plugin) are now compatible with Python3, as of versions 2.3.2 and 2.4.6, respectively.
That said, certain Mosaic helper plugins (i.e a Mosaic-modified version of OctoPrint-Netconnectd and Webcam Package) must also be updated to their latest versions for Python3 compatibility, but unfortunately do not have their own built-in software update checks.
Users who own Mosaic CANVAS Hub products (CANVAS Hub or CANVAS Hub S) should update OctoPrint-Netconnectd and Webcam Package to their latest versions. If you own a CANVAS Hub product, an alert should appear after you upgrade your Palette 2 plugin to >=2.4.6, prompting you to also update the relevant helper plugins on your Hub. You will be prompted to restart Octoprint after the plugins have successfully updated.
If you encounter errors after pressing “Update Now” as shown in the above screenshot, please use the following links to update them manually via the plugin manager in the settings.
ONLY if you own a CANVAS Hub:
- OctoPrint-Netconnectd (1.1.0): https://gitlab.com/mosaic-mfg/OctoPrint-...
ONLY if you own a CANVAS Hub S:
- OctoPrint-Netconnectd (1.1.0): https://gitlab.com/mosaic-mfg/OctoPrint-...
- Webcam Package (1.1.2): https://gitlab.com/mosaic-mfg/webcam-pac...
If you have a DIY Raspberry Pi/Octoprint setup with the main Mosaic plugins:
- No action needed. Please do not install the helper plugins as they are meant specifically for their respective Hub products.
Once updated, the helper plugins will now be compatible with Python3 and also have their own built-in software update checks for any future updates, if needed.
If you have any additional questions, please send us a message at support@mosaicmfg.com
28 Comments
so i followed these steps but my hub and and hub s still show Python 2 is end-of-life as of January 1st 2020. While OctoPrint currently still supports running under Python 2, a future version will remove support and require Python 3. You should upgrade as soon as possible!
so what do i have to do now
Damien Ortiz - Reply
Hi Damien, you can follow the steps in this article: mm3d.co/canvashub-reset
Jonny Yeu -
I’m still on python 2 but my canvas appears to be available and so does palette. But the files didn’t update my python… can someone do a video tutorial on how to exactly do the steps so the canvas hub has python 3 ?
Damien Ortiz -
Are you able to use your Hub after flashing the new image file? Also, do the P2 and Canvas tabs appear in Octoprint?
Jonny Yeu -
I tried updating to Py3 but it says I need to have Py3 to update using python3 upgrade.py. circular loop. My hub s is still py 2.7.
R Reynolds - Reply