The problem
Installed 2.0.0rc1
Installed Bambu A1 0.0.1 connector
Get error when attempted to connect:
Queue:
State: Offline after error
module 'paho.mqtt.client' has no attribute 'CallbackAPIVersion'
Did the issue persist even in safe mode?
I cannot test this issue in safe mode (state why below)
If you could not test in safe mode, please state why ("currently printing" is NOT an excuse!)
Irrelevant
Version of OctoPrint
2.0.0rc1
Operating system running OctoPrint
OctoPi
Browser and version of browser, operating system running browser
Firefox - macos
Printer model & used firmware incl. version
Bambu A1 1.03.30.01 (not the latest!)
Systeminfo Bundle
octoprint-systeminfo-20260428153300.zip1
Checklist of files to include below
Additional information & file uploads
Did a quick search:
The error "module 'paho.mqtt.client' has no attribute 'CallbackAPIVersion'" occurs when your code tries to access CallbackAPIVersion (typically in a line like mqtt.Client(mqtt.CallbackAPIVersion.VERSION1)), but the installed paho-mqtt library version doesn't export it from that module.
The problem
Installed 2.0.0rc1
Installed Bambu A1 0.0.1 connector
Get error when attempted to connect:
Queue:
State: Offline after error
module 'paho.mqtt.client' has no attribute 'CallbackAPIVersion'
Did the issue persist even in safe mode?
I cannot test this issue in safe mode (state why below)
If you could not test in safe mode, please state why ("currently printing" is NOT an excuse!)
Irrelevant
Version of OctoPrint
2.0.0rc1
Operating system running OctoPrint
OctoPi
Browser and version of browser, operating system running browser
Firefox - macos
Printer model & used firmware incl. version
Bambu A1 1.03.30.01 (not the latest!)
Systeminfo Bundle
octoprint-systeminfo-20260428153300.zip1
Checklist of files to include below
Additional information & file uploads
Did a quick search:
The error "module 'paho.mqtt.client' has no attribute 'CallbackAPIVersion'" occurs when your code tries to access CallbackAPIVersion (typically in a line like mqtt.Client(mqtt.CallbackAPIVersion.VERSION1)), but the installed paho-mqtt library version doesn't export it from that module.
Footnotes
octoprint-systeminfo-20260428153300.zip(bundleviewer) (download)OctoPrint: 2.0.0rc1
Python: 3.11.2
OS: Linux-6.12.25+rpt-rpi-v7-armv7l-with-glibc2.36
RPi: Raspberry Pi 2 Model B Rev 1.1
OctoPi: 1.1.0 (build 2025.05.13.134411)
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:150.0) Gecko/20100101 Firefox/150.0 ↩