Fresh install of PiOS Bookworm on Raspberry PI Zero 2.
What it means ?
"Could not initialize settings manager: Argument 'bases' has incorrect type (expected list, got tuple)
There was a fatal error initializing the platform."
Cannot run it at all (safe mode, debug, etc.).
Cannot obtain systeminfo (there is no systeminfo bundle).
Have you tried running in safe mode?
Yes i try
Did running in safe mode solve the problem?
What sysytem bundle ??? Octoprint wont start. Even with system info
Additional information about your setup
OctoPrint 1.9.2 Raspberry Pi Zero 2 with fresh install of PiOS Bookworm Python 3.11
Are you sure this includes OctoPrint?
Usually you use an OctoPi image to start.
Looks like bookworm issue. Back to bullseye, and works.
Downgrading pydantic to version 1.10.9 fixed the same problem for me. It looks like pydantic has the same issue in other projects.
I tried downgrading to 1.10.9 and still the same error.
How did you perform this downgrade?
Downgraded octoprint to 1.8.6 and it works now.
@Mikhail_Ryzhov answer worked for me. I ran
pip install --force-reinstall -v "pydantic==1.10.9" in my Octoprint virtualenv. I am on Raspbian Buster.
for me on octopi image 0.18 i had to run the pip command from oprint folder. this solved it as well for me. hopefully this bug is fixed soon
I can confirm downgrading pydantic to 1.10.9 worked for me as well on this issue.
Running on Raspbian Buster.
pip install --force-reinstall -v "pydantic==1.10.9"
T̶h̶i̶s̶ ̶d̶i̶d̶ ̶
̶̶n̶o̶t̶ ̶̶ ̶w̶o̶r̶k̶ ̶f̶o̶r̶ ̶m̶e̶.̶
Edit: Wrong steps followed. Follow the following official steps
did you do it from within the oprint folder virtual environment? We've found that it's version 1.10.13 of pydantic that broke, and released this announcement on the exact steps to fix.
Some of you may encounter a problem after upgrading OctoPrint to 1.9.2 which prevents OctoPrint from starting.
We think the issue is related to a recent pydantic update - a dependency of OctoPrint.
Here's a quick solution for OctoPi users which should hopefully fix the issue for you in a few minutes:
SSH into the Pi
(if you need help with that part and you're a Windows user checkout this guide or this guide for Mac users).
The credentials are (assuming you…
I missed the virtual environment step. My apologies. I followed the instructions on the announcement and it's back up again. Thank you!
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.