Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Cannot install on Python 3.12 #77

Open
JohnyPeaN opened this issue May 16, 2024 · 4 comments
Open

[Bug]: Cannot install on Python 3.12 #77

JohnyPeaN opened this issue May 16, 2024 · 4 comments
Labels
needs review Yet to be reviewed potential bug Bug reported but yet to be analysed

Comments

@JohnyPeaN
Copy link

Description of the bug

Uprgraded octoprint from 1.10.0 to 1.10.1 and restored configuration. This plugin fails on installation.

error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [18 lines of output]
/tmp/pip-req-build-g2y9i4b0/versioneer.py:521: SyntaxWarning: invalid escape sequence '\s'
] = '''# -- coding: utf-8 --

Plugin version

3.3.0

OctoPrint version

1.10.1

M503 Response

Send: M503
Recv: echo:; Linear Units:
Recv: echo:  G21 ; (mm)
Recv: echo:; Temperature Units:
Recv: echo:  M149 C ; Units in Celsius
Recv: echo:; Steps per unit:
Recv: echo:  M92 X80.00 Y80.00 Z400.00 E400.00
Recv: echo:; Max feedrates (units/s):
Recv: echo:  M203 X500.00 Y500.00 Z6.00 E40.00
Recv: echo:; Max Acceleration (units/s2):
Recv: echo:  M201 X3000.00 Y2000.00 Z60.00 E10000.00
Recv: echo:; Acceleration (units/s2) (P<print-accel> R<retract-accel> T<travel-accel>):
Recv: echo:  M204 P1000.00 R1500.00 T1250.00
Recv: echo:; Advanced (B<min_segment_time_us> S<min_feedrate> T<min_travel_feedrate> X<max_jerk> Y<max_jerk> Z<max_jerk> E<max_jerk>):
Recv: echo:  M205 B20000.00 S0.00 T0.00 X12.00 Y12.00 Z0.60 E14.00
Recv: echo:; Home offset:
Recv: echo:  M206 X0.00 Y0.00 Z0.00
Recv: echo:; Auto Bed Leveling:
Recv: echo:  M420 S1 Z0.50 ; Leveling ON
Recv: echo:  G29 W I0 J0 Z-0.23250
Recv: echo:  G29 W I1 J0 Z-0.29000
Recv: echo:  G29 W I2 J0 Z-0.29000
Recv: echo:  G29 W I3 J0 Z-0.20000
Recv: echo:  G29 W I4 J0 Z-0.19250
Recv: echo:  G29 W I0 J1 Z-0.31500
Recv: echo:  G29 W I1 J1 Z-0.29250
Recv: echo:  G29 W I2 J1 Z-0.29250
Recv: echo:  G29 W I3 J1 Z-0.22250
Recv: echo:  G29 W I4 J1 Z-0.21500
Recv: echo:  G29 W I0 J2 Z-0.26500
Recv: echo:  G29 W I1 J2 Z-0.31000
Recv: echo:  G29 W I2 J2 Z-0.29750
Recv: echo:  G29 W I3 J2 Z-0.24500
Recv: echo:  G29 W I4 J2 Z-0.20250
Recv: echo:  G29 W I0 J3 Z-0.28750
Recv: echo:  G29 W I1 J3 Z-0.32500
Recv: echo:  G29 W I2 J3 Z-0.25500
Recv: echo:  G29 W I3 J3 Z-0.25250
Recv: echo:  G29 W I4 J3 Z-0.22250
Recv: echo:  G29 W I0 J4 Z-0.19750
Recv: echo:  G29 W I1 J4 Z-0.27250
Recv: echo:  G29 W I2 J4 Z-0.30000
Recv: echo:  G29 W I3 J4 Z-0.31500
Recv: echo:  G29 W I4 J4 Z-0.28750
Recv: echo:; Endstop adjustment:
Recv: echo:  M666 Z0.00
Recv: echo:; Hotend PID:
Recv: echo:  M301 P13.20 I0.88 D49.74
Recv: echo:; Bed PID:
Recv: echo:  M304 P65.62 I12.92 D222.20
Recv: echo:; Z-Probe Offset:
Recv: echo:  M851 X-2.00 Y-25.00 Z-1.14 ; (mm)
Recv: echo:; Linear Advance:
Recv: echo:  M900 K0.45
Recv: echo:; Filament load/unload:
Recv: echo:  M603 L538.00 U555.00 ; (mm)
Recv: echo:; Filament runout sensor:
Recv: echo:  M412 S0 ; Sensor OFF
Recv: ok

API Response

error	"The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again."

OctoPrint logs

2024-05-16 10:38:38,577 - octoprint.startup - INFO - ******************************************************************************
2024-05-16 10:38:38,579 - octoprint.startup - INFO - Starting OctoPrint 1.10.1
2024-05-16 10:38:38,580 - octoprint.startup - INFO - ******************************************************************************
2024-05-16 10:38:38,790 - octoprint.util.connectivity.connectivity_checker - INFO - Connectivity state is currently: online
2024-05-16 10:38:38,790 - octoprint.util.connectivity.connectivity_checker - INFO - Connecting to 1.1.1.1:53 is working
2024-05-16 10:38:38,791 - octoprint.util.connectivity.connectivity_checker - INFO - Resolving octoprint.org is working
2024-05-16 10:38:38,799 - octoprint.plugin.core - INFO - Loading plugins from /usr/lib/octoprint/lib/python3.12/site-packages/octoprint/plugins, /var/lib/octoprint/.octoprint/plugins and installed plugin packages...
2024-05-16 10:38:40,132 - octoprint.plugin.core - INFO - Plugin Discovery is disabled.
2024-05-16 10:38:40,330 - octoprint.plugin.core - INFO - Plugin Anonymous Usage Tracking is disabled.
2024-05-16 10:38:40,397 - octoprint.plugin.core - INFO - Plugin Virtual Printer is disabled.
2024-05-16 10:38:40,476 - py.warnings - WARNING - /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_DisplayLayerProgress/init.py:110: SyntaxWarning: invalid escape sequence '\d'
FEEDRATE_EXPRESSION = "^G[0|1] .F(\d+.?\d).*"

2024-05-16 10:38:40,476 - py.warnings - WARNING - /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_DisplayLayerProgress/init.py:114: SyntaxWarning: invalid escape sequence '\d'
FANSPEED_EXPRESSION = "^M106.* S(\d+.?\d*).*"

2024-05-16 10:38:40,499 - py.warnings - WARNING - /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_DisplayLayerProgress/init.py:1795: SyntaxWarning: invalid escape sequence '\s'
layerExpressions="1\t\t[;\sLAYER:\s([0-9]+).*]\t\tCURA\r\n" +

2024-05-16 10:38:40,557 - octoprint.plugin.core - INFO - Plugin Macro Steps (0.1.1) is disabled.
2024-05-16 10:38:40,708 - octoprint.plugin.core - ERROR - Error loading plugin filamentmanager
Traceback (most recent call last):
File "/usr/lib/octoprint/lib/python3.12/site-packages/octoprint/plugin/core.py", line 1297, in _import_plugin
module = _load_module(module_name, spec)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/octoprint/lib/python3.12/site-packages/octoprint/plugin/core.py", line 52, in _load_module
return imp.load_module(name, f, filename, details)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/octoprint/lib/python3.12/site-packages/octoprint/vendor/imp.py", line 238, in load_module
return load_package(name, filename)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/octoprint/lib/python3.12/site-packages/octoprint/vendor/imp.py", line 212, in load_package
return _load(spec)
^^^^^^^^^^^
File "", line 966, in _load
File "", line 935, in _load_unlocked
File "", line 995, in exec_module
File "", line 488, in _call_with_frames_removed
File "/usr/lib/octoprint/lib/python3.12/site-packages/octoprint_filamentmanager/init.py", line 17, in
from .data import FilamentManager
File "/usr/lib/octoprint/lib/python3.12/site-packages/octoprint_filamentmanager/data/init.py", line 13, in
from sqlalchemy.engine.url import URL
File "/usr/lib/octoprint/lib/python3.12/site-packages/sqlalchemy/init.py", line 9, in
from .sql import (
File "/usr/lib/octoprint/lib/python3.12/site-packages/sqlalchemy/sql/init.py", line 8, in
from .expression import (
File "/usr/lib/octoprint/lib/python3.12/site-packages/sqlalchemy/sql/expression.py", line 34, in
from .functions import func, modifier, FunctionElement, Function
File "/usr/lib/octoprint/lib/python3.12/site-packages/sqlalchemy/sql/functions.py", line 11, in
from . import sqltypes, schema
File "/usr/lib/octoprint/lib/python3.12/site-packages/sqlalchemy/sql/sqltypes.py", line 17, in
from . import elements
File "/usr/lib/octoprint/lib/python3.12/site-packages/sqlalchemy/sql/elements.py", line 16, in
from . import type_api
File "/usr/lib/octoprint/lib/python3.12/site-packages/sqlalchemy/sql/type_api.py", line 16, in
from .base import SchemaEventTarget
File "/usr/lib/octoprint/lib/python3.12/site-packages/sqlalchemy/sql/base.py", line 49, in
class DialectArgView(collections.MutableMapping):
^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'collections' has no attribute 'MutableMapping'
2024-05-16 10:38:40,845 - octoprint.plugin.core - INFO - Plugin HomeAssistant Discovery (3.7.0) is disabled.
2024-05-16 10:38:41,008 - octoprint.plugin.core - INFO - Plugin Navbar Temperature Plugin (0.15) is disabled.
2024-05-16 10:38:41,614 - octoprint.plugin.core - INFO - Plugin Tasmota-MQTT (0.3.9) is disabled.
2024-05-16 10:38:41,632 - py.warnings - WARNING - /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_telegram/init.py:828: SyntaxWarning: invalid escape sequence '-'
for match in re.findall("[0-9]+:[a-zA-Z0-9
-]+", record.msg):

2024-05-16 10:38:41,639 - py.warnings - WARNING - /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_telegram/init.py:1365: SyntaxWarning: invalid escape sequence '-'
if not re.match("^[0-9]+:[a-zA-Z0-9_-]+$", data["token"]):

2024-05-16 10:38:41,730 - py.warnings - WARNING - /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_ultimakerformatpackage/init.py:29: SyntaxWarning: invalid escape sequence '.'
self.regex_extension = re.compile(".(?:gco(?:de)?(?:.ufp)?)$")

2024-05-16 10:38:41,755 - py.warnings - WARNING - /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_powerfailure/init.py:51: SyntaxWarning: invalid escape sequence '\s'
self.MOVE_RE = re.compile("^G0\s+|^G1\s+")

2024-05-16 10:38:41,756 - py.warnings - WARNING - /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_powerfailure/init.py:52: SyntaxWarning: invalid escape sequence '\s'
self.X_COORD_RE = re.compile(".\s+X([-]\d*.\d)")

2024-05-16 10:38:41,756 - py.warnings - WARNING - /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_powerfailure/init.py:53: SyntaxWarning: invalid escape sequence '\s'
self.Y_COORD_RE = re.compile(".\s+Y([-]\d*.\d)")

2024-05-16 10:38:41,756 - py.warnings - WARNING - /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_powerfailure/init.py:54: SyntaxWarning: invalid escape sequence '\s'
self.E_COORD_RE = re.compile(".\s+E([-]\d*.\d)")

2024-05-16 10:38:41,756 - py.warnings - WARNING - /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_powerfailure/init.py:55: SyntaxWarning: invalid escape sequence '\s'
self.SPEED_VAL_RE = re.compile(".\s+F(\d.\d)")

2024-05-16 10:38:41,870 - octoprint.plugin.core - INFO - Plugin SSD1306-OLED-Display (0.1.4) is disabled.
2024-05-16 10:38:41,878 - py.warnings - WARNING - /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_prusaslicerthumbnails/init.py:45: SyntaxWarning: invalid escape sequence '.'
self.regex_extension = re.compile(".(?:gco(?:de)?|tft)$")

2024-05-16 10:38:42,030 - octoprint.plugin.core - ERROR - There was an error while enabling plugin errortracking
Traceback (most recent call last):
File "/usr/lib/octoprint/lib/python3.12/site-packages/octoprint/plugin/core.py", line 1594, in enable_plugin
plugin.enable()
File "/usr/lib/octoprint/lib/python3.12/site-packages/octoprint/plugins/errortracking/init.py", line 249, in plugin_enable
_enable_errortracking()
File "/usr/lib/octoprint/lib/python3.12/site-packages/octoprint/plugins/errortracking/init.py", line 233, in _enable_errortracking
sentry_sdk.init(url_server, release=version, before_send=_before_send)
File "/usr/lib/octoprint/lib/python3.12/site-packages/sentry_sdk/hub.py", line 103, in _init
client = Client(*args, **kwargs) # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/octoprint/lib/python3.12/site-packages/sentry_sdk/client.py", line 186, in init
self._init_impl()
File "/usr/lib/octoprint/lib/python3.12/site-packages/sentry_sdk/client.py", line 306, in _init_impl
self.integrations = setup_integrations(
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/octoprint/lib/python3.12/site-packages/sentry_sdk/integrations/init.py", line 120, in setup_integrations
for integration_cls in iter_default_integrations(
File "/usr/lib/octoprint/lib/python3.12/site-packages/sentry_sdk/integrations/init.py", line 46, in iter_default_integrations
yield getattr(import_module(module), cls)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/importlib/init.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 995, in exec_module
File "", line 488, in _call_with_frames_removed
File "/usr/lib/octoprint/lib/python3.12/site-packages/sentry_sdk/integrations/sqlalchemy.py", line 6, in
from sentry_sdk.db.explain_plan.sqlalchemy import attach_explain_plan_to_span
File "/usr/lib/octoprint/lib/python3.12/site-packages/sentry_sdk/db/explain_plan/sqlalchemy.py", line 8, in
from sqlalchemy.sql import text # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/octoprint/lib/python3.12/site-packages/sqlalchemy/init.py", line 9, in
from .sql import (
File "/usr/lib/octoprint/lib/python3.12/site-packages/sqlalchemy/sql/init.py", line 8, in
from .expression import (
File "/usr/lib/octoprint/lib/python3.12/site-packages/sqlalchemy/sql/expression.py", line 34, in
from .functions import func, modifier, FunctionElement, Function
File "/usr/lib/octoprint/lib/python3.12/site-packages/sqlalchemy/sql/functions.py", line 11, in
from . import sqltypes, schema
File "/usr/lib/octoprint/lib/python3.12/site-packages/sqlalchemy/sql/sqltypes.py", line 17, in
from . import elements
File "/usr/lib/octoprint/lib/python3.12/site-packages/sqlalchemy/sql/elements.py", line 16, in
from . import type_api
File "/usr/lib/octoprint/lib/python3.12/site-packages/sqlalchemy/sql/type_api.py", line 16, in
from .base import SchemaEventTarget
File "/usr/lib/octoprint/lib/python3.12/site-packages/sqlalchemy/sql/base.py", line 49, in
class _DialectArgView(collections.MutableMapping):
^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'collections' has no attribute 'MutableMapping'
2024-05-16 10:38:42,094 - octoprint.startup - INFO - Added settings overlay from plugin dashboard
2024-05-16 10:38:42,159 - octoprint.plugin.core - INFO - Found 53 plugin(s) providing 44 mixin implementations, 119 hook handlers
2024-05-16 10:38:42,163 - octoprint.server.heartbeat - INFO - Starting server heartbeat, 900.0s interval
2024-05-16 10:38:42,267 - octoprint.server - INFO - Intermediary server started
2024-05-16 10:38:42,277 - octoprint.filemanager.storage - INFO - Initializing the file metadata for /var/lib/octoprint/.octoprint/uploads...
2024-05-16 10:38:42,278 - octoprint.filemanager.storage - INFO - ... file metadata for /var/lib/octoprint/.octoprint/uploads initialized successfully.
2024-05-16 10:38:42,283 - octoprint.server - INFO - Added new permission from plugin PrintJobHistory: PLUGIN_PRINTJOBHISTORY_DELETE_JOB (needs: "Need(method='role', value='plugin_PrintJobHistory_print_operator')")
2024-05-16 10:38:42,284 - octoprint.server - INFO - Added new permission from plugin PrintJobHistory: PLUGIN_PRINTJOBHISTORY_EDIT_JOB (needs: "Need(method='role', value='plugin_PrintJobHistory_print_operator')")
2024-05-16 10:38:42,284 - octoprint.server - INFO - Added new permission from plugin achievements: PLUGIN_ACHIEVEMENTS_VIEW (needs: "Need(method='role', value='plugin_achievements_view')")
2024-05-16 10:38:42,284 - octoprint.server - INFO - Added new permission from plugin achievements: PLUGIN_ACHIEVEMENTS_RESET (needs: "Need(method='role', value='plugin_achievements_reset')")
2024-05-16 10:38:42,284 - octoprint.server - INFO - Added new permission from plugin action_command_notification: PLUGIN_ACTION_COMMAND_NOTIFICATION_SHOW (needs: "Need(method='role', value='plugin_action_command_notification_show')")
2024-05-16 10:38:42,285 - octoprint.server - INFO - Added new permission from plugin action_command_notification: PLUGIN_ACTION_COMMAND_NOTIFICATION_CLEAR (needs: "Need(method='role', value='plugin_action_command_notification_clear')")
2024-05-16 10:38:42,285 - octoprint.server - INFO - Added new permission from plugin action_command_prompt: PLUGIN_ACTION_COMMAND_PROMPT_INTERACT (needs: "Need(method='role', value='plugin_action_command_prompt_interact')")
2024-05-16 10:38:42,285 - octoprint.server - INFO - Added new permission from plugin announcements: PLUGIN_ANNOUNCEMENTS_READ (needs: "Need(method='role', value='plugin_announcements_read')")
2024-05-16 10:38:42,286 - octoprint.server - INFO - Added new permission from plugin announcements: PLUGIN_ANNOUNCEMENTS_MANAGE (needs: "Need(method='role', value='plugin_announcements_read'), Need(method='role', value='plugin_announcements_manage')")
2024-05-16 10:38:42,286 - octoprint.server - INFO - Added new permission from plugin appkeys: PLUGIN_APPKEYS_ADMIN (needs: "Need(method='role', value='plugin_appkeys_admin')")
2024-05-16 10:38:42,287 - octoprint.server - INFO - Added new permission from plugin appkeys: PLUGIN_APPKEYS_GRANT (needs: "Need(method='role', value='plugin_appkeys_user')")
2024-05-16 10:38:42,287 - octoprint.server - INFO - Added new permission from plugin backup: PLUGIN_BACKUP_CREATE (needs: "Need(method='role', value='plugin_backup_create')")
2024-05-16 10:38:42,288 - octoprint.server - INFO - Added new permission from plugin dashboard: PLUGIN_DASHBOARD_ADMIN (needs: "Need(method='role', value='plugin_dashboard_admin')")
2024-05-16 10:38:42,288 - octoprint.server - INFO - Added new permission from plugin file_check: PLUGIN_FILE_CHECK_RUN (needs: "Need(method='role', value='plugin_file_check_run')")
2024-05-16 10:38:42,288 - octoprint.server - INFO - Added new permission from plugin firmware_check: PLUGIN_FIRMWARE_CHECK_DISPLAY (needs: "Need(method='role', value='plugin_firmware_check_display')")
2024-05-16 10:38:42,288 - octoprint.server - INFO - Added new permission from plugin logging: PLUGIN_LOGGING_MANAGE (needs: "Need(method='role', value='plugin_logging_manage')")
2024-05-16 10:38:42,289 - octoprint.server - INFO - Added new permission from plugin pi_support: PLUGIN_PI_SUPPORT_STATUS (needs: "Need(method='role', value='plugin_pi_support_check')")
2024-05-16 10:38:42,292 - octoprint.server - INFO - Added new permission from plugin pluginmanager: PLUGIN_PLUGINMANAGER_LIST (needs: "Need(method='role', value='plugin_pluginmanager_list')")
2024-05-16 10:38:42,292 - octoprint.server - INFO - Added new permission from plugin pluginmanager: PLUGIN_PLUGINMANAGER_MANAGE (needs: "Need(method='role', value='plugin_pluginmanager_manage')")
2024-05-16 10:38:42,294 - octoprint.server - INFO - Added new permission from plugin pluginmanager: PLUGIN_PLUGINMANAGER_INSTALL (needs: "Need(method='role', value='plugin_pluginmanager_install'), Need(method='role', value='plugin_pluginmanager_manage')")
2024-05-16 10:38:42,295 - octoprint.server - INFO - Added new permission from plugin prusaslicerthumbnails: PLUGIN_PRUSASLICERTHUMBNAILS_SCAN (needs: "Need(method='role', value='plugin_prusaslicerthumbnails_admin')")
2024-05-16 10:38:42,296 - octoprint.server - INFO - Added new permission from plugin softwareupdate: PLUGIN_SOFTWAREUPDATE_CHECK (needs: "Need(method='role', value='plugin_softwareupdate_check')")
2024-05-16 10:38:42,296 - octoprint.server - INFO - Added new permission from plugin softwareupdate: PLUGIN_SOFTWAREUPDATE_UPDATE (needs: "Need(method='role', value='plugin_softwareupdate_update')")
2024-05-16 10:38:42,297 - octoprint.server - INFO - Added new permission from plugin softwareupdate: PLUGIN_SOFTWAREUPDATE_CONFIGURE (needs: "Need(method='role', value='plugin_softwareupdate_configure')")
2024-05-16 10:38:42,310 - octoprint.printer.standard - INFO - Using print time estimator provided by PrintTimeGenius
2024-05-16 10:38:42,364 - octoprint.plugins.softwareupdate - INFO - Loaded version cache from disk
2024-05-16 10:38:42,369 - octoprint.plugins.softwareupdate - INFO - Cleaned up -1 old update log entries
2024-05-16 10:38:42,369 - octoprint.plugins.softwareupdate - INFO - Loaded update log from disk
2024-05-16 10:38:43,462 - octoprint.util.pip - INFO - Using "/usr/lib/octoprint/bin/python -m pip" as command to invoke pip
2024-05-16 10:38:44,542 - octoprint.util.pip - INFO - Version of pip is 24.0
2024-05-16 10:38:44,617 - octoprint.util.pip - INFO - pip installs to /usr/lib/octoprint/lib/python3.12/site-packages (writable -> yes), --user flag needed -> no, virtual env -> yes
2024-05-16 10:38:44,617 - octoprint.util.pip - INFO - ==> pip ok -> yes
2024-05-16 10:38:44,626 - octoprint.plugins.achievements - INFO - Loading data from /var/lib/octoprint/.octoprint/data/achievements/data.json
2024-05-16 10:38:44,629 - octoprint.plugins.achievements - INFO - Loading data for None from /var/lib/octoprint/.octoprint/data/achievements/2024.json
2024-05-16 10:38:44,729 - octoprint.plugins.file_check - INFO - Native grep available: True
2024-05-16 10:38:44,744 - octoprint.plugins.firmwareupdater - INFO - Python binproto2 package installed: False
2024-05-16 10:38:44,775 - octoprint.plugins.SpoolManager - INFO - Start initializing
2024-05-16 10:38:44,782 - octoprint.plugins.SpoolManager.DatabaseManager - INFO - Init DatabaseManager
2024-05-16 10:38:44,783 - octoprint.plugins.SpoolManager.DatabaseManager - INFO - Databasefile '/var/lib/octoprint/.octoprint/data/SpoolManager/spoolmanager.db' exists: True
2024-05-16 10:38:44,785 - octoprint.plugins.SpoolManager.DatabaseManager - INFO - Check if database-scheme upgrade needed...
2024-05-16 10:38:44,792 - octoprint.plugins.SpoolManager.DatabaseManager - INFO - Current databasescheme: 7
2024-05-16 10:38:44,792 - octoprint.plugins.SpoolManager.DatabaseManager - INFO - ...Database-scheme upgraded not needed.
2024-05-16 10:38:44,792 - octoprint.plugins.SpoolManager.DatabaseManager - INFO - Database created-check done
2024-05-16 10:38:44,821 - octoprint.plugins.SpoolManager - INFO - Done initializing
2024-05-16 10:38:44,846 - octoprint.plugins.PrintJobHistory - INFO - Start initializing
2024-05-16 10:38:44,848 - octoprint.plugins.PrintJobHistory.DatabaseManager - INFO - Init DatabaseManager
2024-05-16 10:38:44,848 - octoprint.plugins.PrintJobHistory.DatabaseManager - INFO - Using database in: /var/lib/octoprint/.octoprint/data/PrintJobHistory/printJobHistory.db
2024-05-16 10:38:44,850 - octoprint.plugins.PrintJobHistory.DatabaseManager - INFO - Check if database-scheme upgrade needed.
2024-05-16 10:38:44,853 - octoprint.plugins.PrintJobHistory.DatabaseManager - INFO - Done DatabaseManager.createDatabase
2024-05-16 10:38:44,853 - octoprint.plugins.PrintJobHistory.CameraManager - INFO - Init CameraManager
2024-05-16 10:38:44,854 - octoprint.plugins.PrintJobHistory.CameraManager - INFO - Snapshot-Folder:/var/lib/octoprint/.octoprint/data/PrintJobHistory/snapshots
2024-05-16 10:38:44,855 - octoprint.plugins.PrintJobHistory.CameraManager - INFO - Done CameraMenager
2024-05-16 10:38:44,985 - octoprint.plugins.PrintJobHistory - INFO - Done initializing
2024-05-16 10:38:45,000 - octoprint.plugin.core - INFO - Initialized 44 plugin implementation(s)
2024-05-16 10:38:45,522 - octoprint.plugins.uicustomizer - INFO - Downloaded theme: https://lazemss.github.io/OctoPrint-UICustomizerThemes/css/discoranged.css into: /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_uicustomizer/static/themes/css/discoranged.css
2024-05-16 10:38:45,872 - octoprint - INFO - Installing webcam compat overlay for configured default webcam <octoprint.webcams.ProvidedWebcam object at 0xffff94192270>
2024-05-16 10:38:45,874 - octoprint.plugin.core - INFO - 53 plugin(s) registered with the system:
| Achievements Plugin (bundled) = /usr/lib/octoprint/lib/python3.12/site-packages/octoprint/plugins/achievements
| Action Command Notification Support (bundled) = /usr/lib/octoprint/lib/python3.12/site-packages/octoprint/plugins/action_command_notification
| Action Command Prompt Support (bundled) = /usr/lib/octoprint/lib/python3.12/site-packages/octoprint/plugins/action_command_prompt
| Announcement Plugin (bundled) = /usr/lib/octoprint/lib/python3.12/site-packages/octoprint/plugins/announcements
| !Anonymous Usage Tracking (bundled) = /usr/lib/octoprint/lib/python3.12/site-packages/octoprint/plugins/tracking
| Application Keys Plugin (bundled) = /usr/lib/octoprint/lib/python3.12/site-packages/octoprint/plugins/appkeys
| Backup & Restore (bundled) = /usr/lib/octoprint/lib/python3.12/site-packages/octoprint/plugins/backup
| Bed Visualizer (1.1.2rc10) = /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_bedlevelvisualizer
| BetterHeaterTimeout (1.3.0) = /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_BetterHeaterTimeout
| Calibration Tools (1.0.4) = /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_CalibrationTools
| Camera Streamer Control (1.0.1) = /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_camerastreamer_control
| Classic Webcam (bundled) = /usr/lib/octoprint/lib/python3.12/site-packages/octoprint/plugins/classicwebcam
| Core Wizard (bundled) = /usr/lib/octoprint/lib/python3.12/site-packages/octoprint/plugins/corewizard
| Cost Estimation (3.5.0) = /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_costestimation
| Cura Thumbnails (1.0.2) = /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_ultimakerformatpackage
| Dashboard (1.19.11) = /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_dashboard
| !Discovery (bundled) = /usr/lib/octoprint/lib/python3.12/site-packages/octoprint/plugins/discovery
| DisplayLayerProgress Plugin (1.29.0rc1) = /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_DisplayLayerProgress
| !Error Tracking (bundled) = /usr/lib/octoprint/lib/python3.12/site-packages/octoprint/plugins/errortracking
| Event Manager (bundled) = /usr/lib/octoprint/lib/python3.12/site-packages/octoprint/plugins/eventmanager
| File Check (2024.3.27) (bundled) = /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_file_check
| Firmware Check (2021.10.11) (bundled) = /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_firmware_check
| Firmware Updater (1.14.0) = /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_firmwareupdater
| GCode Viewer (bundled) = /usr/lib/octoprint/lib/python3.12/site-packages/octoprint/plugins/gcodeviewer
| !HomeAssistant Discovery (3.7.0) = /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_homeassistant
| Logging (bundled) = /usr/lib/octoprint/lib/python3.12/site-packages/octoprint/plugins/logging
| M300 Player (0.1.1) = /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_M300Player
| !Macro Steps (0.1.1) = /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_MacroSteps
| MeatPack (1.5.22) = /usr/lib/octoprint/lib/python3.12/site-packages/OctoPrint_MeatPack
| !Navbar Temperature Plugin (0.15) = /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_navbartemp
| OctoPrint Micro Panel (3.0.2) = /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_display_panel
| Pi Support Plugin (2023.10.10) (bundled) = /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_pi_support
| Plugin Manager (bundled) = /usr/lib/octoprint/lib/python3.12/site-packages/octoprint/plugins/pluginmanager
| PortLister (0.1.10) = /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_portlister
| Power Failure Recovery (1.2.1) = /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_powerfailure
| Preheat Button (0.8.0) = /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_preheat
| PrettyGCode (1.2.4) = /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_prettygcode
| PrintJobHistory (1.17.2) = /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_PrintJobHistory
| PrintTimeGenius Plugin (2.3.3) = /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_PrintTimeGenius
| Simple Filament Change Buttons (1.2) = /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_simple_filament_change_buttons
| Slicer Thumbnails (1.0.7) = /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_prusaslicerthumbnails
| SlicerSettingsParser (3.3.0) = /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_SlicerSettingsParser
| SlicerSettingsTab (1.1.0) = /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_SlicerSettingsTab
| Software Update (bundled) = /usr/lib/octoprint/lib/python3.12/site-packages/octoprint/plugins/softwareupdate
| SpoolManager Plugin (1.7.4.dev0) = /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_SpoolManager
| !SSD1306-OLED-Display (0.1.4) = /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_ssd1306oleddisplay
| !Tasmota-MQTT (0.3.9) = /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_tasmota_mqtt
| Telegram Notifications (1.6.7) = /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_telegram
| Terminal Commands Extended (0.1.8rc3) = /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_terminalcommandsextended
| UBL Mesh Editor (0.3.2) = /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_ublmeshedit
| UI Customizer (0.1.9.91) = /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_uicustomizer
| !Virtual Printer (bundled) = /usr/lib/octoprint/lib/python3.12/site-packages/octoprint/plugins/virtual_printer
| WiFi Status (1.9.0) = /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_wifistatus
Prefix legend: ! = disabled, # = blacklisted, * = incompatible
2024-05-16 10:38:45,883 - octoprint.environment - INFO - Detected environment is Python 3.12.3 under Linux (linux). Details:
| hardware:
| cores: 4
| freq: 2100.0
| ram: 3788558336
| os:
| bits: 64
| id: linux
| platform: linux
| plugins:
| pi_support:
| model: Raspberry Pi 4 Model B Rev 1.1
| throttle_check_enabled: true
| throttle_check_functional: true
| throttle_state: '0x0'
| python:
| pip: '24.0'
| version: 3.12.3
| virtualenv: /usr/lib/octoprint
2024-05-16 10:38:45,899 - octoprint.server - INFO - Reset webasset folder /var/lib/octoprint/.octoprint/generated/webassets...
2024-05-16 10:38:45,900 - octoprint.server - INFO - Reset webasset folder /var/lib/octoprint/.octoprint/generated/.webassets-cache...
2024-05-16 10:38:45,900 - octoprint.server - INFO - Reset webasset folder /var/lib/octoprint/.octoprint/generated/.webassets-manifest.json...
2024-05-16 10:38:46,003 - octoprint.plugins.DisplayLayerProgress - WARNING - The Blueprint of this plugin is relying on the default implementation of is_blueprint_csrf_protected (newly added in OctoPrint 1.8.3), which in a future version will be switched from False to True for security reasons. Plugin authors should ensure they explicitly declare the CSRF protection status in their BlueprintPlugin mixin implementation. Recommendation is to enable CSRF protection and exempt views that must not use it with the octoprint.plugin.BlueprintPlugin.csrf_exempt decorator.
2024-05-16 10:38:46,003 - octoprint.server - WARNING - CSRF Protection for Blueprint of plugin DisplayLayerProgress is DISABLED
2024-05-16 10:38:46,008 - octoprint.plugins.bedlevelvisualizer - WARNING - The Blueprint of this plugin is relying on the default implementation of is_blueprint_csrf_protected (newly added in OctoPrint 1.8.3), which in a future version will be switched from False to True for security reasons. Plugin authors should ensure they explicitly declare the CSRF protection status in their BlueprintPlugin mixin implementation. Recommendation is to enable CSRF protection and exempt views that must not use it with the octoprint.plugin.BlueprintPlugin.csrf_exempt decorator.
2024-05-16 10:38:46,009 - octoprint.server - WARNING - CSRF Protection for Blueprint of plugin bedlevelvisualizer is DISABLED
2024-05-16 10:38:46,011 - octoprint.plugins.costestimation - WARNING - The Blueprint of this plugin is relying on the default implementation of is_blueprint_csrf_protected (newly added in OctoPrint 1.8.3), which in a future version will be switched from False to True for security reasons. Plugin authors should ensure they explicitly declare the CSRF protection status in their BlueprintPlugin mixin implementation. Recommendation is to enable CSRF protection and exempt views that must not use it with the octoprint.plugin.BlueprintPlugin.csrf_exempt decorator.
2024-05-16 10:38:46,011 - octoprint.server - WARNING - CSRF Protection for Blueprint of plugin costestimation is DISABLED
2024-05-16 10:38:46,750 - octoprint.plugins.firmwareupdater - INFO - Setting maximum upload size for /flash to 5243904
2024-05-16 10:38:46,751 - octoprint.server - INFO - Shutting down intermediary server...
2024-05-16 10:38:47,235 - octoprint.server - INFO - Intermediary server shut down
2024-05-16 10:38:47,245 - octoprint.events - INFO - Processing startup event, this is our first event
2024-05-16 10:38:47,245 - octoprint.events - INFO - Adding 1 events to queue that were held back before startup event
2024-05-16 10:38:47,246 - octoprint.filemanager - INFO - Adding backlog items from all storage types to analysis queue...
2024-05-16 10:38:47,256 - octoprint.server - INFO - Starting autorefresh of serial port list
2024-05-16 10:38:47,260 - octoprint.filemanager - INFO - Added 0 items from storage type "local" to analysis queue
2024-05-16 10:38:47,264 - octoprint.server.util.watchdog - INFO - Running initial scan on watched folder...
2024-05-16 10:38:47,268 - octoprint.server.util.watchdog - INFO - ... initial scan done.
2024-05-16 10:38:47,277 - octoprint.server - INFO - Serial port list was updated, refreshing the port list in the frontend
2024-05-16 10:38:47,305 - octoprint.plugins.telegram - ERROR - Exception on_startup: 'NoneType' object has no attribute 'port'
2024-05-16 10:38:47,306 - octoprint.server - INFO - Listening on http://0.0.0.0:5000
2024-05-16 10:38:47,480 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from disk, was still valid
2024-05-16 10:38:47,856 - octoprint.plugins.pluginmanager - INFO - Loaded notice data from disk, was still valid
2024-05-16 10:38:48,510 - octoprint.util.pip - INFO - Using "/usr/lib/octoprint/bin/python -m pip" as command to invoke pip
2024-05-16 10:38:48,512 - octoprint.util.pip - INFO - pip installs to /usr/lib/octoprint/lib/python3.12/site-packages (writable -> yes), --user flag needed -> no, virtual env -> yes
2024-05-16 10:38:48,512 - octoprint.util.pip - INFO - ==> pip ok -> yes
2024-05-16 10:38:48,516 - octoprint.plugins.softwareupdate - INFO - Minimum free storage across all update relevant locations is 1.8GB. That is considered sufficient for updating.
2024-05-16 10:38:48,518 - octoprint.plugins.softwareupdate - INFO - Fetching check overlays from https://plugins.octoprint.org/update_check_overlay.json
2024-05-16 10:38:48,844 - octoprint.plugins.PrintJobHistory - INFO - Plugin-State:
| PreHeat=enabled (0.8.0)
| filamentmanager=missing (None)
| DisplayLayerProgress=enabled (1.29.0rc1)
| SpoolManager=enabled (1.7.4.dev0)
| UltimakerFormat=enabled (1.0.2)
| PrusaSlicerThumbnail=enabled (1.0.7)
| costestimation=enabled (3.5.0)

2024-05-16 10:38:48,847 - octoprint.plugins.PrintJobHistory - INFO - on after startup done
2024-05-16 10:38:48,848 - octoprint.plugins.SlicerSettingsParser - INFO - SlicerSettingsParser still active
2024-05-16 10:38:48,848 - octoprint.plugins.SpoolManager - INFO - Plugin-State: filamentmanager=missing
2024-05-16 10:38:48,848 - octoprint.plugins.bedlevelvisualizer - INFO - OctoPrint-BedLevelVisualizer loaded!
2024-05-16 10:38:48,848 - octoprint.plugins.dashboard - INFO - Dashboard started
2024-05-16 10:38:48,857 - octoprint.JsFrontendErrors(Dash) - INFO - Js Logger (Dash) started
2024-05-16 10:38:49,065 - octoprint.plugins.display_panel - INFO - Initializing screens...
2024-05-16 10:38:49,319 - octoprint.server.util.sockjs - INFO - New connection from client: 10.2.0.32
2024-05-16 10:38:49,360 - octoprint.plugins.PrintJobHistory - INFO - Plugin-State:
| PreHeat=enabled (0.8.0)
| filamentmanager=missing (None)
| DisplayLayerProgress=enabled (1.29.0rc1)
| SpoolManager=enabled (1.7.4.dev0)
| UltimakerFormat=enabled (1.0.2)
| PrusaSlicerThumbnail=enabled (1.0.7)
| costestimation=enabled (3.5.0)

2024-05-16 10:38:49,400 - octoprint.server.util.flask - INFO - Passively logging in user dzon from 10.2.0.32
2024-05-16 10:38:49,401 - octoprint.access.users - INFO - Logged in user: dzon
2024-05-16 10:38:49,438 - octoprint.server.util.sockjs - INFO - User dzon logged in on the socket from client 10.2.0.32
2024-05-16 10:38:49,536 - octoprint.plugins.meatpack - INFO - [Serial]: Cannot query packing state -- port not open.
2024-05-16 10:38:49,546 - octoprint.plugins.meatpack - INFO - [Serial]: Cannot query packing state -- port not open.
2024-05-16 10:38:49,547 - octoprint.plugins.meatpack - INFO - MeatPack version 1.5.22 loaded... current state is Enabled
2024-05-16 10:38:49,547 - octoprint.plugins.portlister - INFO - Port Lister () {}
2024-05-16 10:38:49,610 - octoprint.plugins.prettygcode - INFO - Pretty GCode.
2024-05-16 10:38:50,459 - octoprint.plugins.uicustomizer - INFO - UI Customizer is initialized.
2024-05-16 10:38:50,555 - octoprint.plugins.wifistatus - INFO - WiFiStatus loaded!
2024-05-16 10:38:51,282 - octoprint.server.preemptive_cache - INFO - Preemptively caching / (ui _default) for {'base_url': 'http://192.168.20.129/', 'path': '/', 'query_string': 'l10n=cs'}
2024-05-16 10:38:51,634 - octoprint.plugins.SpoolManager - INFO - Send Event 'plugin_spoolmanager_spool_selected' with payload '{'toolId': 0, 'databaseId': 2, 'spoolName': 'Ender PLA Yellow', 'material': 'PLA', 'colorName': 'yellow', 'remainingWeight': 11.454085315846214}' to event-bus
2024-05-16 10:38:52,390 - octoprint.plugins.SpoolManager - INFO - Send Event 'plugin_spoolmanager_spool_selected' with payload '{'toolId': 0, 'databaseId': 2, 'spoolName': 'Ender PLA Yellow', 'material': 'PLA', 'colorName': 'yellow', 'remainingWeight': 11.454085315846214}' to event-bus
2024-05-16 10:38:52,403 - octoprint.plugins.SpoolManager - INFO - Send Event 'plugin_spoolmanager_spool_selected' with payload '{'toolId': 0, 'databaseId': 2, 'spoolName': 'Ender PLA Yellow', 'material': 'PLA', 'colorName': 'yellow', 'remainingWeight': 11.454085315846214}' to event-bus
2024-05-16 10:38:52,410 - octoprint.plugins.uicustomizer - INFO - Checking for updated themes
2024-05-16 10:39:00,166 - octoprint.server.preemptive_cache - INFO - ... done in 8.88s
2024-05-16 10:39:11,941 - octoprint.access.users - INFO - Logged in user: dzon
2024-05-16 10:39:11,942 - octoprint.server.api - INFO - Actively logging in user dzon from 10.2.0.32
2024-05-16 10:39:11,978 - octoprint.server.util.sockjs - INFO - User dzon logged in on the socket from client 10.2.0.32
2024-05-16 10:39:11,981 - octoprint.server.util.sockjs - INFO - Client connection closed: 10.2.0.32
2024-05-16 10:39:12,265 - octoprint.server.util.sockjs - INFO - New connection from client: 10.2.0.32
2024-05-16 10:39:12,273 - octoprint.plugins.PrintJobHistory - INFO - Plugin-State:
| PreHeat=enabled (0.8.0)
| filamentmanager=missing (None)
| DisplayLayerProgress=enabled (1.29.0rc1)
| SpoolManager=enabled (1.7.4.dev0)
| UltimakerFormat=enabled (1.0.2)
| PrusaSlicerThumbnail=enabled (1.0.7)
| costestimation=enabled (3.5.0)

2024-05-16 10:39:12,310 - octoprint.server.util.flask - INFO - Passively logging in user dzon from 10.2.0.32
2024-05-16 10:39:12,311 - octoprint.access.users - INFO - Logged in user: dzon
2024-05-16 10:39:12,326 - octoprint.server.util.sockjs - INFO - User dzon logged in on the socket from client 10.2.0.32
2024-05-16 10:39:15,312 - octoprint.plugins.SpoolManager - INFO - Send Event 'plugin_spoolmanager_spool_selected' with payload '{'toolId': 0, 'databaseId': 2, 'spoolName': 'Ender PLA Yellow', 'material': 'PLA', 'colorName': 'yellow', 'remainingWeight': 11.454085315846214}' to event-bus
2024-05-16 10:39:15,322 - octoprint.plugins.SpoolManager - INFO - Send Event 'plugin_spoolmanager_spool_selected' with payload '{'toolId': 0, 'databaseId': 2, 'spoolName': 'Ender PLA Yellow', 'material': 'PLA', 'colorName': 'yellow', 'remainingWeight': 11.454085315846214}' to event-bus
2024-05-16 10:39:16,839 - octoprint.plugins.pluginmanager - INFO - Installing plugin from https://github.com/cp2004/OctoPrint-EEPROM-Marlin/releases/latest/download/release.zip
2024-05-16 10:39:16,954 - octoprint.plugin.core - INFO - Plugin Discovery is disabled.
2024-05-16 10:39:17,151 - octoprint.plugin.core - INFO - Plugin Anonymous Usage Tracking is disabled.
2024-05-16 10:39:17,196 - octoprint.plugin.core - INFO - Plugin Virtual Printer is disabled.
2024-05-16 10:39:17,275 - py.warnings - WARNING - /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_DisplayLayerProgress/init.py:110: SyntaxWarning: invalid escape sequence '\d'
FEEDRATE_EXPRESSION = "^G[0|1] .F(\d+.?\d).*"

2024-05-16 10:39:17,276 - py.warnings - WARNING - /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_DisplayLayerProgress/init.py:114: SyntaxWarning: invalid escape sequence '\d'
FANSPEED_EXPRESSION = "^M106.* S(\d+.?\d*).*"

2024-05-16 10:39:17,299 - py.warnings - WARNING - /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_DisplayLayerProgress/init.py:1795: SyntaxWarning: invalid escape sequence '\s'
layerExpressions="1\t\t[;\sLAYER:\s([0-9]+).*]\t\tCURA\r\n" +

2024-05-16 10:39:17,353 - octoprint.plugin.core - INFO - Plugin Macro Steps (0.1.1) is disabled.
2024-05-16 10:39:17,449 - octoprint.plugin.core - ERROR - Error loading plugin filamentmanager
Traceback (most recent call last):
File "/usr/lib/octoprint/lib/python3.12/site-packages/octoprint/plugin/core.py", line 1297, in _import_plugin
module = _load_module(module_name, spec)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/octoprint/lib/python3.12/site-packages/octoprint/plugin/core.py", line 52, in _load_module
return imp.load_module(name, f, filename, details)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/octoprint/lib/python3.12/site-packages/octoprint/vendor/imp.py", line 238, in load_module
return load_package(name, filename)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/octoprint/lib/python3.12/site-packages/octoprint/vendor/imp.py", line 212, in load_package
return _load(spec)
^^^^^^^^^^^
File "", line 966, in _load
File "", line 935, in _load_unlocked
File "", line 995, in exec_module
File "", line 488, in _call_with_frames_removed
File "/usr/lib/octoprint/lib/python3.12/site-packages/octoprint_filamentmanager/init.py", line 17, in
from .data import FilamentManager
File "/usr/lib/octoprint/lib/python3.12/site-packages/octoprint_filamentmanager/data/init.py", line 13, in
from sqlalchemy.engine.url import URL
File "/usr/lib/octoprint/lib/python3.12/site-packages/sqlalchemy/init.py", line 9, in
from .sql import (
File "/usr/lib/octoprint/lib/python3.12/site-packages/sqlalchemy/sql/init.py", line 8, in
from .expression import (
File "/usr/lib/octoprint/lib/python3.12/site-packages/sqlalchemy/sql/expression.py", line 34, in
from .functions import func, modifier, FunctionElement, Function
File "/usr/lib/octoprint/lib/python3.12/site-packages/sqlalchemy/sql/functions.py", line 11, in
from . import sqltypes, schema
File "/usr/lib/octoprint/lib/python3.12/site-packages/sqlalchemy/sql/sqltypes.py", line 17, in
from . import elements
File "/usr/lib/octoprint/lib/python3.12/site-packages/sqlalchemy/sql/elements.py", line 16, in
from . import type_api
File "/usr/lib/octoprint/lib/python3.12/site-packages/sqlalchemy/sql/type_api.py", line 16, in
from .base import SchemaEventTarget
File "/usr/lib/octoprint/lib/python3.12/site-packages/sqlalchemy/sql/base.py", line 49, in
class DialectArgView(collections.MutableMapping):
^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'collections' has no attribute 'MutableMapping'
2024-05-16 10:39:17,555 - octoprint.plugin.core - INFO - Plugin HomeAssistant Discovery (3.7.0) is disabled.
2024-05-16 10:39:17,583 - octoprint.plugin.core - INFO - Plugin Navbar Temperature Plugin (0.15) is disabled.
2024-05-16 10:39:17,713 - octoprint.plugin.core - INFO - Plugin Tasmota-MQTT (0.3.9) is disabled.
2024-05-16 10:39:17,727 - py.warnings - WARNING - /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_telegram/init.py:828: SyntaxWarning: invalid escape sequence '-'
for match in re.findall("[0-9]+:[a-zA-Z0-9
-]+", record.msg):

2024-05-16 10:39:17,735 - py.warnings - WARNING - /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_telegram/init.py:1365: SyntaxWarning: invalid escape sequence '-'
if not re.match("^[0-9]+:[a-zA-Z0-9_-]+$", data["token"]):

2024-05-16 10:39:17,823 - py.warnings - WARNING - /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_ultimakerformatpackage/init.py:29: SyntaxWarning: invalid escape sequence '.'
self.regex_extension = re.compile(".(?:gco(?:de)?(?:.ufp)?)$")

2024-05-16 10:39:17,840 - py.warnings - WARNING - /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_powerfailure/init.py:51: SyntaxWarning: invalid escape sequence '\s'
self.MOVE_RE = re.compile("^G0\s+|^G1\s+")

2024-05-16 10:39:17,841 - py.warnings - WARNING - /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_powerfailure/init.py:52: SyntaxWarning: invalid escape sequence '\s'
self.X_COORD_RE = re.compile(".\s+X([-]\d*.\d)")

2024-05-16 10:39:17,841 - py.warnings - WARNING - /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_powerfailure/init.py:53: SyntaxWarning: invalid escape sequence '\s'
self.Y_COORD_RE = re.compile(".\s+Y([-]\d*.\d)")

2024-05-16 10:39:17,841 - py.warnings - WARNING - /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_powerfailure/init.py:54: SyntaxWarning: invalid escape sequence '\s'
self.E_COORD_RE = re.compile(".\s+E([-]\d*.\d)")

2024-05-16 10:39:17,841 - py.warnings - WARNING - /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_powerfailure/init.py:55: SyntaxWarning: invalid escape sequence '\s'
self.SPEED_VAL_RE = re.compile(".\s+F(\d.\d)")

2024-05-16 10:39:18,094 - octoprint.plugin.core - INFO - Plugin SSD1306-OLED-Display (0.1.4) is disabled.
2024-05-16 10:39:18,102 - py.warnings - WARNING - /usr/lib/octoprint/lib/python3.12/site-packages/octoprint_prusaslicerthumbnails/init.py:45: SyntaxWarning: invalid escape sequence '.'
self.regex_extension = re.compile(".(?:gco(?:de)?|tft)$")

2024-05-16 10:39:21,037 - octoprint.plugins.pluginmanager - ERROR - Installing the plugin from https://github.com/cp2004/OctoPrint-EEPROM-Marlin/releases/latest/download/release.zip failed, could not parse output from pip. See plugin_pluginmanager_console.log for generated output
2024-05-16 10:39:26,419 - octoprint.server.util.sockjs - INFO - Client connection closed: 10.2.0.32

@github-actions github-actions bot added potential bug Bug reported but yet to be analysed needs review Yet to be reviewed labels May 16, 2024
@cp2004
Copy link
Owner

cp2004 commented May 16, 2024

Unfortunately the plugin is not yet compatible with Python 3.12, I think none of my plugins are due to the same issue. I'll be able to fix it at some point in June, I hope.

@cp2004 cp2004 changed the title [Bug]: Cannot install on octorint 1.10.1 [Bug]: Cannot install on Python 3.12 May 17, 2024
@automontronic
Copy link

I ran into the same issue. Looks like OctoPrint is no longer using versioneer (referenced in the error): OctoPrint/OctoPrint@579bfcc.

@JohnyPeaN
Copy link
Author

I have managed to install this plugin by replacing versioneer.py with git version from master of official versioneer (https://github.com/python-versioneer/python-versioneer), repacking back into zip and installing from file. Works for octolapse, too.

@automontronic
Copy link

I have confirmed replacing versioneer.py works. Good find!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs review Yet to be reviewed potential bug Bug reported but yet to be analysed
Projects
None yet
Development

No branches or pull requests

3 participants