What is the problem?
OctoPrint 1.8.6 error after first start – Fedora 37 Linux
I trying to use this guide step by step:
Installation of octoprint proceeds without problems.... but after launch it crashed / ERROR
2022-12-05 18:42:45,595 - octoprint.startup - INFO - ******************************************************************************
2022-12-05 18:42:45,596 - octoprint.startup - INFO - Starting OctoPrint 1.8.6
2022-12-05 18:42:45,597 - octoprint.startup - INFO - ******************************************************************************
2022-12-05 18:42:45,880 - octoprint.util.connectivity.connectivity_checker - INFO - Connectivity state is currently: online
2022-12-05 18:42:45,881 - octoprint.util.connectivity.connectivity_checker - INFO - Connecting to 1.1.1.1:53 is working
2022-12-05 18:42:45,881 - octoprint.util.connectivity.connectivity_checker - INFO - Resolving octoprint.org is working
2022-12-05 18:42:45,889 - octoprint.plugin.core - INFO - Loading plugins from /opt/octoprint/lib/python3.11/site-packages/octoprint/plugins, /opt/octoprint/.octoprint/plugins and installed plugin packages...
2022-12-05 18:42:46,352 - octoprint.plugin.core - ERROR - Error loading plugin announcements
Traceback (most recent call last):
File "/opt/octoprint/lib64/python3.11/site-packages/octoprint/plugin/core.py", line 1274, in _import_plugin
module = _load_module(module_name, spec)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/octoprint/lib64/python3.11/site-packages/octoprint/plugin/core.py", line 52, in _load_module
return imp.load_module(name, f, filename, details)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/octoprint/lib64/python3.11/site-packages/octoprint/vendor/imp.py", line 238, in load_module
return load_package(name, filename)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/octoprint/lib64/python3.11/site-packages/octoprint/vendor/imp.py", line 212, in load_package
return _load(spec)
^^^^^^^^^^^
File "", line 721, in _load
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "/opt/octoprint/lib/python3.11/site-packages/octoprint/plugins/announcements/init.py", line 22, in
from octoprint.server.util.flask import (
File "/opt/octoprint/lib64/python3.11/site-packages/octoprint/server/init.py", line 46, in
from octoprint.server import util
File "/opt/octoprint/lib64/python3.11/site-packages/octoprint/server/util/init.py", line 21, in
from . import flask, sockjs, tornado, watchdog # noqa: F401
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/octoprint/lib64/python3.11/site-packages/octoprint/server/util/flask.py", line 34, in
import octoprint.access.users
File "/opt/octoprint/lib64/python3.11/site-packages/octoprint/access/users.py", line 11, in
import wrapt
File "/opt/octoprint/lib64/python3.11/site-packages/wrapt/init.py", line 10, in
from .decorators import (adapter_factory, AdapterFactory, decorator,
File "/opt/octoprint/lib64/python3.11/site-packages/wrapt/decorators.py", line 34, in
from inspect import ismethod, isclass, formatargspec
ImportError: cannot import name 'formatargspec' from 'inspect' (/usr/lib64/python3.11/inspect.py)
2022-12-05 18:42:46,395 - octoprint.plugin.core - ERROR - Error loading plugin appkeys
Traceback (most recent call last):
File "/opt/octoprint/lib64/python3.11/site-packages/octoprint/plugin/core.py", line 1274, in _import_plugin
module = _load_module(module_name, spec)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/octoprint/lib64/python3.11/site-packages/octoprint/plugin/core.py", line 52, in _load_module
return imp.load_module(name, f, filename, details)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/octoprint/lib64/python3.11/site-packages/octoprint/vendor/imp.py", line 238, in load_module
return load_package(name, filename)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/octoprint/lib64/python3.11/site-packages/octoprint/vendor/imp.py", line 212, in load_package
return _load(spec)
^^^^^^^^^^^
File "", line 721, in _load
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "/opt/octoprint/lib/python3.11/site-packages/octoprint/plugins/appkeys/init.py", line 12, in
from octoprint.server import NO_CONTENT, admin_permission, current_user
File "/opt/octoprint/lib64/python3.11/site-packages/octoprint/server/init.py", line 46, in
from octoprint.server import util
File "/opt/octoprint/lib64/python3.11/site-packages/octoprint/server/util/init.py", line 21, in
from . import flask, sockjs, tornado, watchdog # noqa: F401
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/octoprint/lib64/python3.11/site-packages/octoprint/server/util/flask.py", line 34, in
import octoprint.access.users
File "/opt/octoprint/lib64/python3.11/site-packages/octoprint/access/users.py", line 11, in
import wrapt
File "/opt/octoprint/lib64/python3.11/site-packages/wrapt/init.py", line 10, in
from .decorators import (adapter_factory, AdapterFactory, decorator,
File "/opt/octoprint/lib64/python3.11/site-packages/wrapt/decorators.py", line 34, in
from inspect import ismethod, isclass, formatargspec
ImportError: cannot import name 'formatargspec' from 'inspect' (/usr/lib64/python3.11/inspect.py)
2022-12-05 18:42:46,445 - octoprint.plugin.core - ERROR - Error loading plugin backup
Traceback (most recent call last):
File "/opt/octoprint/lib64/python3.11/site-packages/octoprint/plugin/core.py", line 1274, in _import_plugin
module = _load_module(module_name, spec)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/octoprint/lib64/python3.11/site-packages/octoprint/plugin/core.py", line 52, in _load_module
return imp.load_module(name, f, filename, details)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/octoprint/lib64/python3.11/site-packages/octoprint/vendor/imp.py", line 238, in load_module
return load_package(name, filename)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/octoprint/lib64/python3.11/site-packages/octoprint/vendor/imp.py", line 212, in load_package
return _load(spec)
^^^^^^^^^^^
File "", line 721, in _load
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "/opt/octoprint/lib/python3.11/site-packages/octoprint/plugins/backup/init.py", line 8, in
from octoprint.server import NO_CONTENT
File "/opt/octoprint/lib64/python3.11/site-packages/octoprint/server/init.py", line 46, in
from octoprint.server import util
File "/opt/octoprint/lib64/python3.11/site-packages/octoprint/server/util/init.py", line 21, in
from . import flask, sockjs, tornado, watchdog # noqa: F401
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/octoprint/lib64/python3.11/site-packages/octoprint/server/util/flask.py", line 34, in
import octoprint.access.users
File "/opt/octoprint/lib64/python3.11/site-packages/octoprint/access/users.py", line 11, in
import wrapt
File "/opt/octoprint/lib64/python3.11/site-packages/wrapt/init.py", line 10, in
from .decorators import (adapter_factory, AdapterFactory, decorator,
File "/opt/octoprint/lib64/python3.11/site-packages/wrapt/decorators.py", line 34, in
from inspect import ismethod, isclass, formatargspec
ImportError: cannot import name 'formatargspec' from 'inspect' (/usr/lib64/python3.11/inspect.py)
2022-12-05 18:42:46,550 - octoprint.plugin.core - ERROR - Error loading plugin logging
Traceback (most recent call last):
File "/opt/octoprint/lib64/python3.11/site-packages/octoprint/plugin/core.py", line 1274, in _import_plugin
module = _load_module(module_name, spec)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/octoprint/lib64/python3.11/site-packages/octoprint/plugin/core.py", line 52, in _load_module
return imp.load_module(name, f, filename, details)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/octoprint/lib64/python3.11/site-packages/octoprint/vendor/imp.py", line 238, in load_module
return load_package(name, filename)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/octoprint/lib64/python3.11/site-packages/octoprint/vendor/imp.py", line 212, in load_package
return _load(spec)
^^^^^^^^^^^
File "", line 721, in _load
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "/opt/octoprint/lib/python3.11/site-packages/octoprint/plugins/logging/init.py", line 14, in
from octoprint.server import NO_CONTENT
File "/opt/octoprint/lib64/python3.11/site-packages/octoprint/server/init.py", line 46, in
from octoprint.server import util
File "/opt/octoprint/lib64/python3.11/site-packages/octoprint/server/util/init.py", line 21, in
from . import flask, sockjs, tornado, watchdog # noqa: F401
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/octoprint/lib64/python3.11/site-packages/octoprint/server/util/flask.py", line 34, in
import octoprint.access.users
File "/opt/octoprint/lib64/python3.11/site-packages/octoprint/access/users.py", line 11, in
import wrapt
File "/opt/octoprint/lib64/python3.11/site-packages/wrapt/init.py", line 10, in
from .decorators import (adapter_factory, AdapterFactory, decorator,
File "/opt/octoprint/lib64/python3.11/site-packages/wrapt/decorators.py", line 34, in
from inspect import ismethod, isclass, formatargspec
ImportError: cannot import name 'formatargspec' from 'inspect' (/usr/lib64/python3.11/inspect.py)
2022-12-05 18:42:46,625 - octoprint.plugin.core - ERROR - Error loading plugin pluginmanager
Traceback (most recent call last):
File "/opt/octoprint/lib64/python3.11/site-packages/octoprint/plugin/core.py", line 1274, in _import_plugin
module = _load_module(module_name, spec)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/octoprint/lib64/python3.11/site-packages/octoprint/plugin/core.py", line 52, in _load_module
return imp.load_module(name, f, filename, details)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/octoprint/lib64/python3.11/site-packages/octoprint/vendor/imp.py", line 238, in load_module
return load_package(name, filename)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/octoprint/lib64/python3.11/site-packages/octoprint/vendor/imp.py", line 212, in load_package
return _load(spec)
^^^^^^^^^^^
File "", line 721, in _load
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "/opt/octoprint/lib/python3.11/site-packages/octoprint/plugins/pluginmanager/init.py", line 29, in
from octoprint.server import safe_mode
File "/opt/octoprint/lib64/python3.11/site-packages/octoprint/server/init.py", line 46, in
from octoprint.server import util
File "/opt/octoprint/lib64/python3.11/site-packages/octoprint/server/util/init.py", line 21, in
from . import flask, sockjs, tornado, watchdog # noqa: F401
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/octoprint/lib64/python3.11/site-packages/octoprint/server/util/flask.py", line 34, in
import octoprint.access.users
File "/opt/octoprint/lib64/python3.11/site-packages/octoprint/access/users.py", line 11, in
import wrapt
File "/opt/octoprint/lib64/python3.11/site-packages/wrapt/init.py", line 10, in
from .decorators import (adapter_factory, AdapterFactory, decorator,
File "/opt/octoprint/lib64/python3.11/site-packages/wrapt/decorators.py", line 34, in
from inspect import ismethod, isclass, formatargspec
ImportError: cannot import name 'formatargspec' from 'inspect' (/usr/lib64/python3.11/inspect.py)
2022-12-05 18:42:46,762 - octoprint.plugin.core - ERROR - Error loading plugin softwareupdate
Traceback (most recent call last):
File "/opt/octoprint/lib64/python3.11/site-packages/octoprint/plugin/core.py", line 1274, in _import_plugin
module = _load_module(module_name, spec)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/octoprint/lib64/python3.11/site-packages/octoprint/plugin/core.py", line 52, in _load_module
return imp.load_module(name, f, filename, details)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/octoprint/lib64/python3.11/site-packages/octoprint/vendor/imp.py", line 238, in load_module
return load_package(name, filename)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/octoprint/lib64/python3.11/site-packages/octoprint/vendor/imp.py", line 212, in load_package
return _load(spec)
^^^^^^^^^^^
File "", line 721, in _load
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "/opt/octoprint/lib/python3.11/site-packages/octoprint/plugins/softwareupdate/init.py", line 24, in
from octoprint.server import BRANCH, NO_CONTENT, REVISION, VERSION
File "/opt/octoprint/lib64/python3.11/site-packages/octoprint/server/init.py", line 46, in
from octoprint.server import util
File "/opt/octoprint/lib64/python3.11/site-packages/octoprint/server/util/init.py", line 21, in
from . import flask, sockjs, tornado, watchdog # noqa: F401
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/octoprint/lib64/python3.11/site-packages/octoprint/server/util/flask.py", line 34, in
import octoprint.access.users
File "/opt/octoprint/lib64/python3.11/site-packages/octoprint/access/users.py", line 11, in
import wrapt
File "/opt/octoprint/lib64/python3.11/site-packages/wrapt/init.py", line 10, in
from .decorators import (adapter_factory, AdapterFactory, decorator,
File "/opt/octoprint/lib64/python3.11/site-packages/wrapt/decorators.py", line 34, in
from inspect import ismethod, isclass, formatargspec
ImportError: cannot import name 'formatargspec' from 'inspect' (/usr/lib64/python3.11/inspect.py)
2022-12-05 18:42:46,856 - octoprint.plugin.core - INFO - Plugin Pi Support Plugin (2022.6.13) did not pass check, not loading.
2022-12-05 18:42:46,920 - octoprint.plugin.core - INFO - Found 11 plugin(s) providing 11 mixin implementations, 15 hook handlers
2022-12-05 18:42:46,952 - octoprint.cli.server - ERROR - Uncaught exception
Traceback (most recent call last):
File "/opt/octoprint/bin/octoprint", line 8, in
sys.exit(main())
^^^^^^
File "/opt/octoprint/lib64/python3.11/site-packages/octoprint/init.py", line 936, in main
octo(args=args, prog_name="octoprint", auto_envvar_prefix="OCTOPRINT")
File "/opt/octoprint/lib64/python3.11/site-packages/click/core.py", line 1130, in call
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/octoprint/lib64/python3.11/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/opt/octoprint/lib64/python3.11/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/octoprint/lib64/python3.11/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/octoprint/lib64/python3.11/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/octoprint/lib64/python3.11/site-packages/click/decorators.py", line 26, in new_func
return f(get_current_context(), *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/octoprint/lib64/python3.11/site-packages/octoprint/cli/server.py", line 317, in serve_command
run_server(
File "/opt/octoprint/lib64/python3.11/site-packages/octoprint/cli/server.py", line 145, in run_server
from octoprint.server import CannotStartServerException, Server
File "/opt/octoprint/lib64/python3.11/site-packages/octoprint/server/init.py", line 46, in
from octoprint.server import util
File "/opt/octoprint/lib64/python3.11/site-packages/octoprint/server/util/init.py", line 21, in
from . import flask, sockjs, tornado, watchdog # noqa: F401
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/octoprint/lib64/python3.11/site-packages/octoprint/server/util/flask.py", line 34, in
import octoprint.access.users
File "/opt/octoprint/lib64/python3.11/site-packages/octoprint/access/users.py", line 11, in
import wrapt
File "/opt/octoprint/lib64/python3.11/site-packages/wrapt/init.py", line 10, in
from .decorators import (adapter_factory, AdapterFactory, decorator,
File "/opt/octoprint/lib64/python3.11/site-packages/wrapt/decorators.py", line 34, in
from inspect import ismethod, isclass, formatargspec
ImportError: cannot import name 'formatargspec' from 'inspect' (/usr/lib64/python3.11/inspect.py)
What did you already try to solve it?
I traing to use this guide step by step:
Have you tried running in safe mode?
WRITE HERE
Did running in safe mode solve the problem?
WRITE HERE
Systeminfo Bundle
You can download this in OctoPrint's System Information dialog ... no bundle, no support!)
WRITE HERE
Additional information about your setup
OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible
WRITE HERE