mirror of
https://github.com/ciur/papermerge.git
synced 2026-04-25 12:05:58 +03:00
[GH-ISSUE #344] Installation on Ubuntu 20.04 fails #271
Labels
No labels
2.1
3.0
3.0.1
3.0.2
3.0.3
3.0.3
3.1
3.2
3.2
3.3
3.5
3.x
Fixed. Waiting for feedback.
Fixed. Waiting for feedback.
UX
Version 2.1 - alpha
XSS
announcement
beta
blocker
bug
cannot reproduce
confirmed
confirmed
critical
demo
dependencies
deployment
detchnical debt
discussion
docker
documentation
donations
duplicate
enhancement
feature request
frontend
fundraising
good first issue
good issue
help wanted
high
implemented
important
improvement
incomplete
invalid
investigation
kubernetes
low
low impact
medium
medium
medium impact
migration from 2.0
migration from 2.1
missing-language
missing-ocr-language
no-activity
note
ocr
outofscope
packaging
performance
popular request
pull-request
pypi
question
raspberry pi
roadmap
search
security
setup
status
task
technical debt
updates
user xp
version 1.4.0 - demo
will be implemented
will not be implemented
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/papermerge#271
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rolikeusch on GitHub (Mar 12, 2021).
Original GitHub issue: https://github.com/ciur/papermerge/issues/344
Originally assigned to: @ciur on GitHub.
I'm not able to install papermerge on fresh Ubuntu 20.04 Server, i see always the following error when i invoke manage.py and have no idea how i can fix this:
(.venv) me@papermerge:/opt/papermerge$ ./manage.py migrate Traceback (most recent call last): File "./manage.py", line 24, in <module> execute_from_command_line(sys.argv) File "/opt/papermerge/.venv/lib/python3.8/site-packages/django/core/management/__init__.py", line 401, in execute_from_command_line utility.execute() File "/opt/papermerge/.venv/lib/python3.8/site-packages/django/core/management/__init__.py", line 395, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/opt/papermerge/.venv/lib/python3.8/site-packages/django/core/management/base.py", line 330, in run_from_argv self.execute(*args, **cmd_options) File "/opt/papermerge/.venv/lib/python3.8/site-packages/django/core/management/base.py", line 371, in execute output = self.handle(*args, **options) File "/opt/papermerge/.venv/lib/python3.8/site-packages/django/core/management/base.py", line 85, in wrapped res = handle_func(*args, **kwargs) File "/opt/papermerge/.venv/lib/python3.8/site-packages/django/core/management/commands/migrate.py", line 75, in handle self.check(databases=[database]) File "/opt/papermerge/.venv/lib/python3.8/site-packages/django/core/management/base.py", line 392, in check all_issues = checks.run_checks( File "/opt/papermerge/.venv/lib/python3.8/site-packages/django/core/checks/registry.py", line 70, in run_checks new_errors = check(app_configs=app_configs, databases=databases) File "/opt/papermerge/.venv/lib/python3.8/site-packages/papermerge/core/checks.py", line 110, in binaries_check binary = os.path.basename(binary_path) File "/usr/lib/python3.8/posixpath.py", line 142, in basename p = os.fspath(p) TypeError: expected str, bytes or os.PathLike object, not NoneTypeI followed the Installation guide found here. Any Ideas what is missing here?
Info:
Description: Ubuntu 20.04.2 LTS
Release: 20.04
Codename: focal
@ciur commented on GitHub (Mar 12, 2021):
Thanks for quick heads up!
It is a nasty bug. Here is workaround:
1.First install dependencies:
staplerutility with@ciur commented on GitHub (Mar 12, 2021):
Fixed. I added default value for stapler.
If you will get latest source code (via
git pullcommand), it should work without workaround.@rolikeusch commented on GitHub (Mar 13, 2021):
This was it! With the new Version it works!
Thanks for the fast support.
@AxelGanter commented on GitHub (May 25, 2023):
I use docker (want to test papermerge for the first time)
Thank you.