api | Traceback (most recent call last):
api | File "/karrio/venv/bin/karrio", line 8, in <module>
api | sys.exit(main())
api | ^^^^^^
api | File "/karrio/venv/lib/python3.11/site-packages/karrio/server/__main__.py", line 17, in main
api | execute_from_command_line(sys.argv)
api | File "/karrio/venv/lib/python3.11/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line
api | utility.execute()
api | File "/karrio/venv/lib/python3.11/site-packages/django/core/management/__init__.py", line 436, in execute
api | self.fetch_command(subcommand).run_from_argv(self.argv)
api | File "/karrio/venv/lib/python3.11/site-packages/django/core/management/base.py", line 412, in run_from_argv
api | self.execute(*args, **cmd_options)
api | File "/karrio/venv/lib/python3.11/site-packages/django/core/management/base.py", line 458, in execute
api | output = self.handle(*args, **options)
api | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api | File "/karrio/venv/lib/python3.11/site-packages/django/core/management/base.py", line 106, in wrapper
api | res = handle_func(*args, **kwargs)
api | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api | File "/karrio/venv/lib/python3.11/site-packages/django/core/management/commands/migrate.py", line 100, in handle
api | self.check(databases=[database])
api | File "/karrio/venv/lib/python3.11/site-packages/django/core/management/base.py", line 485, in check
api | all_issues = checks.run_checks(
api | ^^^^^^^^^^^^^^^^^^
api | File "/karrio/venv/lib/python3.11/site-packages/django/core/checks/registry.py", line 88, in run_checks
api | new_errors = check(app_configs=app_configs, databases=databases)
api | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api | File "/karrio/venv/lib/python3.11/site-packages/django/core/checks/urls.py", line 14, in check_url_config
api | return check_resolver(resolver)
api | ^^^^^^^^^^^^^^^^^^^^^^^^
api | File "/karrio/venv/lib/python3.11/site-packages/django/core/checks/urls.py", line 24, in check_resolver
api | return check_method()
api | ^^^^^^^^^^^^^^
api | File "/karrio/venv/lib/python3.11/site-packages/django/urls/resolvers.py", line 494, in check
api | for pattern in self.url_patterns:
api | ^^^^^^^^^^^^^^^^^
api | File "/karrio/venv/lib/python3.11/site-packages/django/utils/functional.py", line 57, in __get__
api | res = instance.__dict__[self.name] = self.func(instance)
api | ^^^^^^^^^^^^^^^^^^^
api | File "/karrio/venv/lib/python3.11/site-packages/django/urls/resolvers.py", line 715, in url_patterns
api | patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
api | ^^^^^^^^^^^^^^^^^^^
api | File "/karrio/venv/lib/python3.11/site-packages/django/utils/functional.py", line 57, in __get__
api | res = instance.__dict__[self.name] = self.func(instance)
api | ^^^^^^^^^^^^^^^^^^^
api | File "/karrio/venv/lib/python3.11/site-packages/django/urls/resolvers.py", line 708, in urlconf_module
api | return import_module(self.urlconf_name)
api | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
api | return _bootstrap._gcd_import(name[level:], package, level)
api | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api | File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
api | File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
api | File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
api | File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
api | File "<frozen importlib._bootstrap_external>", line 940, in exec_module
api | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
api | File "/karrio/venv/lib/python3.11/site-packages/karrio/server/urls/__init__.py", line 50, in <module>
api | *[path("", include(urls)) for urls in settings.KARRIO_URLS],
api | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api | File "/karrio/venv/lib/python3.11/site-packages/karrio/server/urls/__init__.py", line 50, in <listcomp>
api | *[path("", include(urls)) for urls in settings.KARRIO_URLS],
api | ^^^^^^^^^^^^^
api | File "/karrio/venv/lib/python3.11/site-packages/django/urls/conf.py", line 38, in include
api | urlconf_module = import_module(urlconf_module)
api | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
api | return _bootstrap._gcd_import(name[level:], package, level)
api | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api | File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
api | File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
api | File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
api | File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
api | File "<frozen importlib._bootstrap_external>", line 940, in exec_module
api | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
api | File "/karrio/venv/lib/python3.11/site-packages/karrio/server/graph/urls.py", line 9, in <module>
api | path("", include("karrio.server.graph.views")),
api | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api | File "/karrio/venv/lib/python3.11/site-packages/django/urls/conf.py", line 38, in include
api | urlconf_module = import_module(urlconf_module)
api | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
api | return _bootstrap._gcd_import(name[level:], package, level)
api | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api | File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
api | File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
api | File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
api | File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
api | File "<frozen importlib._bootstrap_external>", line 940, in exec_module
api | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
api | File "/karrio/venv/lib/python3.11/site-packages/karrio/server/graph/views.py", line 19, in <module>
api | import karrio.server.graph.schema as schema
api | File "/karrio/venv/lib/python3.11/site-packages/karrio/server/graph/schema.py", line 6, in <module>
api | import strawberry_django.optimizer as optimizer
api | File "/karrio/venv/lib/python3.11/site-packages/strawberry_django/__init__.py", line 1, in <module>
api | from . import auth, filters, mutations, ordering, pagination, relay
api | File "/karrio/venv/lib/python3.11/site-packages/strawberry_django/auth/__init__.py", line 1, in <module>
api | from .mutations import login, logout, register
api | File "/karrio/venv/lib/python3.11/site-packages/strawberry_django/auth/mutations.py", line 12, in <module>
api | from strawberry_django.auth.utils import get_current_user
api | File "/karrio/venv/lib/python3.11/site-packages/strawberry_django/auth/utils.py", line 7, in <module>
api | from strawberry_django.utils.typing import UserType
api | File "/karrio/venv/lib/python3.11/site-packages/strawberry_django/utils/typing.py", line 21, in <module>
api | from strawberry.auto import StrawberryAuto
api | ModuleNotFoundError: No module named 'strawberry.auto'
Karrio 2024.9
i think its related to https://github.com/karrioapi/karrio/pull/696
can't start error: