Paperless-NGX-Script - Unable to use document_exporter? #8960
Unanswered
kangaroo72
asked this question in
Q&A
Replies: 1 comment
-
|
uv run not python3 - Look at closed / resolved Discussions. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
since weeks/months, I'm using paperless-ngx and it's a great tool.
For backup, I actually make the backup of the whole LXC within PVE, but I think, there's a massive overhead.
Paperless usually has a built-in document exporter, but I'm unable to use.
Starting "python3 manage.py document_exporter test" results in...
Traceback (most recent call last): File "/opt/paperless/src/manage.py", line 10, in <module> execute_from_command_line(sys.argv) File "/usr/local/lib/python3.11/dist-packages/django/core/management/__init__.py", line 442, in execute_from_command_line utility.execute() File "/usr/local/lib/python3.11/dist-packages/django/core/management/__init__.py", line 436, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/usr/local/lib/python3.11/dist-packages/django/core/management/base.py", line 413, in run_from_argv self.execute(*args, **cmd_options) File "/usr/local/lib/python3.11/dist-packages/django/core/management/base.py", line 454, in execute self.check() File "/usr/local/lib/python3.11/dist-packages/django/core/management/base.py", line 486, in check all_issues = checks.run_checks( ^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/django/core/checks/registry.py", line 88, in run_checks new_errors = check(app_configs=app_configs, databases=databases) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/django/core/checks/urls.py", line 16, in check_url_config return check_resolver(resolver) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/django/core/checks/urls.py", line 26, in check_resolver return check_method() ^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/django/urls/resolvers.py", line 531, in check for pattern in self.url_patterns: ^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/django/utils/functional.py", line 47, in __get__ res = instance.__dict__[self.name] = self.func(instance) ^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/django/urls/resolvers.py", line 718, in url_patterns patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module) ^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/django/utils/functional.py", line 47, in __get__ res = instance.__dict__[self.name] = self.func(instance) ^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/django/urls/resolvers.py", line 711, in urlconf_module return import_module(self.urlconf_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1206, in _gcd_import File "<frozen importlib._bootstrap>", line 1178, in _find_and_load File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked 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 "/opt/paperless/src/paperless/urls.py", line 57, in <module> from paperless_mail.views import MailAccountViewSet File "/opt/paperless/src/paperless_mail/views.py", line 30, in <module> from paperless_mail.mail import MailError File "/opt/paperless/src/paperless_mail/mail.py", line 32, in <module> from imap_tools.mailbox import MailBoxStartTls ImportError: cannot import name 'MailBoxStartTls' from 'imap_tools.mailbox' (/usr/local/lib/python3.11/dist-packages/imap_tools/mailbox.py)I'm a little bit lost?
Any idea?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions