What is the problem?
I am unable to even launch Octoprint on MacOS. I followed the guide posted at link below, but when actually running the application with the command octoprint serve
it doesn't launch, and gives errors.
What did you already try to solve it?
I do not know how to fix this issue, so I have not attempted anything. I am not comfortable messing with the code.
Have you tried running in safe mode?
No, I cannot run OctoPrint at all.
Systeminfo Bundle
I am not able to get a Systeminfo Bundle at all, from neither the UI (cannot launch) or the CLI request (gives no output)
Additional information about your setup
MacOS Ventura Version 13.2 Beta (22D5027d),
Last login: Wed Mar 1 10:25:24 on ttys000
nathanfender@Nathans-MacBook-Pro ~ % cd Documents
nathanfender@Nathans-MacBook-Pro Documents % cd octoprint
nathanfender@Nathans-MacBook-Pro octoprint % cd ..
nathanfender@Nathans-MacBook-Pro Documents % cd OctoPrint
nathanfender@Nathans-MacBook-Pro OctoPrint % source venv/bin/activate
(venv) nathanfender@Nathans-MacBook-Pro OctoPrint % octoprint serve
2023-03-01 10:45:14,395 - octoprint.startup - INFO - ******************************************************************************
2023-03-01 10:45:14,395 - octoprint.startup - INFO - Starting OctoPrint 1.8.6
2023-03-01 10:45:14,396 - octoprint.startup - INFO - ******************************************************************************
2023-03-01 10:45:14,645 - octoprint.util.connectivity.connectivity_checker - INFO - Connectivity state is currently: online
2023-03-01 10:45:14,645 - octoprint.util.connectivity.connectivity_checker - INFO - Connecting to 1.1.1.1:53 is working
2023-03-01 10:45:14,645 - octoprint.util.connectivity.connectivity_checker - INFO - Resolving octoprint.org is working
2023-03-01 10:45:14,648 - octoprint.plugin.core - INFO - Loading plugins from /usr/local/lib/python3.11/site-packages/octoprint/plugins, /Users/nathanfender/Library/Application Support/OctoPrint/plugins and installed plugin packages...
2023-03-01 10:45:14,976 - octoprint.plugin.core - ERROR - Error loading plugin announcements
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/octoprint/plugin/core.py", line 1274, in _import_plugin
module = _load_module(module_name, spec)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/octoprint/plugin/core.py", line 52, in _load_module
return imp.load_module(name, f, filename, details)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/octoprint/vendor/imp.py", line 238, in load_module
return load_package(name, filename)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/octoprint/vendor/imp.py", line 212, in load_package
return _load(spec)
^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 721, in _load
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/local/lib/python3.11/site-packages/octoprint/plugins/announcements/__init__.py", line 22, in <module>
from octoprint.server.util.flask import (
File "/usr/local/lib/python3.11/site-packages/octoprint/server/__init__.py", line 46, in <module>
from octoprint.server import util
File "/usr/local/lib/python3.11/site-packages/octoprint/server/util/__init__.py", line 21, in <module>
from . import flask, sockjs, tornado, watchdog # noqa: F401
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/octoprint/server/util/flask.py", line 34, in <module>
import octoprint.access.users
File "/usr/local/lib/python3.11/site-packages/octoprint/access/users.py", line 11, in <module>
import wrapt
File "/usr/local/lib/python3.11/site-packages/wrapt/__init__.py", line 10, in <module>
from .decorators import (adapter_factory, AdapterFactory, decorator,
File "/usr/local/lib/python3.11/site-packages/wrapt/decorators.py", line 34, in <module>
from inspect import ismethod, isclass, formatargspec
ImportError: cannot import name 'formatargspec' from 'inspect' (/usr/local/Cellar/python@3.11/3.11.2_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/inspect.py)
2023-03-01 10:45:15,012 - octoprint.plugin.core - ERROR - Error loading plugin softwareupdate
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/octoprint/plugin/core.py", line 1274, in _import_plugin
module = _load_module(module_name, spec)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/octoprint/plugin/core.py", line 52, in _load_module
return imp.load_module(name, f, filename, details)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/octoprint/vendor/imp.py", line 238, in load_module
return load_package(name, filename)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/octoprint/vendor/imp.py", line 212, in load_package
return _load(spec)
^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 721, in _load
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/local/lib/python3.11/site-packages/octoprint/plugins/softwareupdate/__init__.py", line 24, in <module>
from octoprint.server import BRANCH, NO_CONTENT, REVISION, VERSION
File "/usr/local/lib/python3.11/site-packages/octoprint/server/__init__.py", line 46, in <module>
from octoprint.server import util
File "/usr/local/lib/python3.11/site-packages/octoprint/server/util/__init__.py", line 21, in <module>
from . import flask, sockjs, tornado, watchdog # noqa: F401
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/octoprint/server/util/flask.py", line 34, in <module>
import octoprint.access.users
File "/usr/local/lib/python3.11/site-packages/octoprint/access/users.py", line 11, in <module>
import wrapt
File "/usr/local/lib/python3.11/site-packages/wrapt/__init__.py", line 10, in <module>
from .decorators import (adapter_factory, AdapterFactory, decorator,
File "/usr/local/lib/python3.11/site-packages/wrapt/decorators.py", line 34, in <module>
from inspect import ismethod, isclass, formatargspec
ImportError: cannot import name 'formatargspec' from 'inspect' (/usr/local/Cellar/python@3.11/3.11.2_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/inspect.py)
2023-03-01 10:45:15,045 - octoprint.plugin.core - ERROR - Error loading plugin pluginmanager
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/octoprint/plugin/core.py", line 1274, in _import_plugin
module = _load_module(module_name, spec)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/octoprint/plugin/core.py", line 52, in _load_module
return imp.load_module(name, f, filename, details)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/octoprint/vendor/imp.py", line 238, in load_module
return load_package(name, filename)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/octoprint/vendor/imp.py", line 212, in load_package
return _load(spec)
^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 721, in _load
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/local/lib/python3.11/site-packages/octoprint/plugins/pluginmanager/__init__.py", line 29, in <module>
from octoprint.server import safe_mode
File "/usr/local/lib/python3.11/site-packages/octoprint/server/__init__.py", line 46, in <module>
from octoprint.server import util
File "/usr/local/lib/python3.11/site-packages/octoprint/server/util/__init__.py", line 21, in <module>
from . import flask, sockjs, tornado, watchdog # noqa: F401
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/octoprint/server/util/flask.py", line 34, in <module>
import octoprint.access.users
File "/usr/local/lib/python3.11/site-packages/octoprint/access/users.py", line 11, in <module>
import wrapt
File "/usr/local/lib/python3.11/site-packages/wrapt/__init__.py", line 10, in <module>
from .decorators import (adapter_factory, AdapterFactory, decorator,
File "/usr/local/lib/python3.11/site-packages/wrapt/decorators.py", line 34, in <module>
from inspect import ismethod, isclass, formatargspec
ImportError: cannot import name 'formatargspec' from 'inspect' (/usr/local/Cellar/python@3.11/3.11.2_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/inspect.py)
2023-03-01 10:45:15,062 - octoprint.plugin.core - ERROR - Error loading plugin appkeys
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/octoprint/plugin/core.py", line 1274, in _import_plugin
module = _load_module(module_name, spec)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/octoprint/plugin/core.py", line 52, in _load_module
return imp.load_module(name, f, filename, details)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/octoprint/vendor/imp.py", line 238, in load_module
return load_package(name, filename)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/octoprint/vendor/imp.py", line 212, in load_package
return _load(spec)
^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 721, in _load
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/local/lib/python3.11/site-packages/octoprint/plugins/appkeys/__init__.py", line 12, in <module>
from octoprint.server import NO_CONTENT, admin_permission, current_user
File "/usr/local/lib/python3.11/site-packages/octoprint/server/__init__.py", line 46, in <module>
from octoprint.server import util
File "/usr/local/lib/python3.11/site-packages/octoprint/server/util/__init__.py", line 21, in <module>
from . import flask, sockjs, tornado, watchdog # noqa: F401
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/octoprint/server/util/flask.py", line 34, in <module>
import octoprint.access.users
File "/usr/local/lib/python3.11/site-packages/octoprint/access/users.py", line 11, in <module>
import wrapt
File "/usr/local/lib/python3.11/site-packages/wrapt/__init__.py", line 10, in <module>
from .decorators import (adapter_factory, AdapterFactory, decorator,
File "/usr/local/lib/python3.11/site-packages/wrapt/decorators.py", line 34, in <module>
from inspect import ismethod, isclass, formatargspec
ImportError: cannot import name 'formatargspec' from 'inspect' (/usr/local/Cellar/python@3.11/3.11.2_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/inspect.py)
2023-03-01 10:45:15,109 - octoprint.plugin.core - ERROR - Error loading plugin backup
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/octoprint/plugin/core.py", line 1274, in _import_plugin
module = _load_module(module_name, spec)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/octoprint/plugin/core.py", line 52, in _load_module
return imp.load_module(name, f, filename, details)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/octoprint/vendor/imp.py", line 238, in load_module
return load_package(name, filename)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/octoprint/vendor/imp.py", line 212, in load_package
return _load(spec)
^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 721, in _load
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/local/lib/python3.11/site-packages/octoprint/plugins/backup/__init__.py", line 8, in <module>
from octoprint.server import NO_CONTENT
File "/usr/local/lib/python3.11/site-packages/octoprint/server/__init__.py", line 46, in <module>
from octoprint.server import util
File "/usr/local/lib/python3.11/site-packages/octoprint/server/util/__init__.py", line 21, in <module>
from . import flask, sockjs, tornado, watchdog # noqa: F401
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/octoprint/server/util/flask.py", line 34, in <module>
import octoprint.access.users
File "/usr/local/lib/python3.11/site-packages/octoprint/access/users.py", line 11, in <module>
import wrapt
File "/usr/local/lib/python3.11/site-packages/wrapt/__init__.py", line 10, in <module>
from .decorators import (adapter_factory, AdapterFactory, decorator,
File "/usr/local/lib/python3.11/site-packages/wrapt/decorators.py", line 34, in <module>
from inspect import ismethod, isclass, formatargspec
ImportError: cannot import name 'formatargspec' from 'inspect' (/usr/local/Cellar/python@3.11/3.11.2_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/inspect.py)
2023-03-01 10:45:15,139 - octoprint.plugin.core - ERROR - Error loading plugin logging
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/octoprint/plugin/core.py", line 1274, in _import_plugin
module = _load_module(module_name, spec)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/octoprint/plugin/core.py", line 52, in _load_module
return imp.load_module(name, f, filename, details)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/octoprint/vendor/imp.py", line 238, in load_module
return load_package(name, filename)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/octoprint/vendor/imp.py", line 212, in load_package
return _load(spec)
^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 721, in _load
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/local/lib/python3.11/site-packages/octoprint/plugins/logging/__init__.py", line 14, in <module>
from octoprint.server import NO_CONTENT
File "/usr/local/lib/python3.11/site-packages/octoprint/server/__init__.py", line 46, in <module>
from octoprint.server import util
File "/usr/local/lib/python3.11/site-packages/octoprint/server/util/__init__.py", line 21, in <module>
from . import flask, sockjs, tornado, watchdog # noqa: F401
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/octoprint/server/util/flask.py", line 34, in <module>
import octoprint.access.users
File "/usr/local/lib/python3.11/site-packages/octoprint/access/users.py", line 11, in <module>
import wrapt
File "/usr/local/lib/python3.11/site-packages/wrapt/__init__.py", line 10, in <module>
from .decorators import (adapter_factory, AdapterFactory, decorator,
File "/usr/local/lib/python3.11/site-packages/wrapt/decorators.py", line 34, in <module>
from inspect import ismethod, isclass, formatargspec
ImportError: cannot import name 'formatargspec' from 'inspect' (/usr/local/Cellar/python@3.11/3.11.2_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/inspect.py)
2023-03-01 10:45:15,184 - octoprint.plugin.core - INFO - Plugin Pi Support Plugin (2022.6.13) did not pass check, not loading.
2023-03-01 10:45:15,225 - octoprint.plugin.core - INFO - Found 11 plugin(s) providing 11 mixin implementations, 15 hook handlers
2023-03-01 10:45:15,243 - octoprint.cli.server - ERROR - Uncaught exception
Traceback (most recent call last):
File "/usr/local/bin/octoprint", line 8, in <module>
sys.exit(main())
^^^^^^
File "/usr/local/lib/python3.11/site-packages/octoprint/__init__.py", line 936, in main
octo(args=args, prog_name="octoprint", auto_envvar_prefix="OCTOPRINT")
File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1130, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/click/decorators.py", line 26, in new_func
return f(get_current_context(), *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/octoprint/cli/server.py", line 317, in serve_command
run_server(
File "/usr/local/lib/python3.11/site-packages/octoprint/cli/server.py", line 145, in run_server
from octoprint.server import CannotStartServerException, Server
File "/usr/local/lib/python3.11/site-packages/octoprint/server/__init__.py", line 46, in <module>
from octoprint.server import util
File "/usr/local/lib/python3.11/site-packages/octoprint/server/util/__init__.py", line 21, in <module>
from . import flask, sockjs, tornado, watchdog # noqa: F401
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/octoprint/server/util/flask.py", line 34, in <module>
import octoprint.access.users
File "/usr/local/lib/python3.11/site-packages/octoprint/access/users.py", line 11, in <module>
import wrapt
File "/usr/local/lib/python3.11/site-packages/wrapt/__init__.py", line 10, in <module>
from .decorators import (adapter_factory, AdapterFactory, decorator,
File "/usr/local/lib/python3.11/site-packages/wrapt/decorators.py", line 34, in <module>
from inspect import ismethod, isclass, formatargspec
ImportError: cannot import name 'formatargspec' from 'inspect' (/usr/local/Cellar/python@3.11/3.11.2_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/inspect.py)
(venv) nathanfender@Nathans-MacBook-Pro OctoPrint % octoprint systeminfo
(venv) nathanfender@Nathans-MacBook-Pro OctoPrint %