[GH-ISSUE #300] TypeError - Using Apache2 With WSGI #238

Closed
opened 2026-02-25 21:31:31 +03:00 by kerem · 1 comment
Owner

Originally created by @doughnet on GitHub (Feb 5, 2021).
Original GitHub issue: https://github.com/ciur/papermerge/issues/300

Originally assigned to: @ciur on GitHub.

Getting this error:

Exception ignored in: <function Local.__del__ at 0x7f3372cf05e0>
Traceback (most recent call last):
  File "/opt/papermerge/.venv/lib/python3.8/site-packages/asgiref/local.py", line 96, in __del__
NameError: name 'TypeError' is not defined
Exception ignored in: <function Local.__del__ at 0x7f3372cf15e0>
Traceback (most recent call last):
  File "/opt/papermerge/.venv/lib/python3.8/site-packages/asgiref/local.py", line 96, in __del__
NameError: name 'TypeError' is not defined
Exception ignored in: <function Local.__del__ at 0x7f3372cf15e0>
Traceback (most recent call last):
  File "/opt/papermerge/.venv/lib/python3.8/site-packages/asgiref/local.py", line 96, in __del__
NameError: name 'TypeError' is not defined
[Fri Feb 05 23:44:16.481921 2021] [mpm_prefork:notice] [pid 16533] AH00169: caught SIGTERM, shutting down
[Fri Feb 05 23:44:16.554715 2021] [mpm_prefork:notice] [pid 26151] AH00163: Apache/2.4.41 (Ubuntu) mod_wsgi/4.6.8 Python/3.8 configured -- resuming normal operations
[Fri Feb 05 23:44:16.554768 2021] [core:notice] [pid 26151] AH00094: Command line: '/usr/sbin/apache2'

Papermerge seems to be running fine. Noticed that it is not importing from directly automatically though. Manual upload hangs/doesn't work.

Ubuntu 20.04 LXC

Originally created by @doughnet on GitHub (Feb 5, 2021). Original GitHub issue: https://github.com/ciur/papermerge/issues/300 Originally assigned to: @ciur on GitHub. **Getting this error:** ``` Exception ignored in: <function Local.__del__ at 0x7f3372cf05e0> Traceback (most recent call last): File "/opt/papermerge/.venv/lib/python3.8/site-packages/asgiref/local.py", line 96, in __del__ NameError: name 'TypeError' is not defined Exception ignored in: <function Local.__del__ at 0x7f3372cf15e0> Traceback (most recent call last): File "/opt/papermerge/.venv/lib/python3.8/site-packages/asgiref/local.py", line 96, in __del__ NameError: name 'TypeError' is not defined Exception ignored in: <function Local.__del__ at 0x7f3372cf15e0> Traceback (most recent call last): File "/opt/papermerge/.venv/lib/python3.8/site-packages/asgiref/local.py", line 96, in __del__ NameError: name 'TypeError' is not defined [Fri Feb 05 23:44:16.481921 2021] [mpm_prefork:notice] [pid 16533] AH00169: caught SIGTERM, shutting down [Fri Feb 05 23:44:16.554715 2021] [mpm_prefork:notice] [pid 26151] AH00163: Apache/2.4.41 (Ubuntu) mod_wsgi/4.6.8 Python/3.8 configured -- resuming normal operations [Fri Feb 05 23:44:16.554768 2021] [core:notice] [pid 26151] AH00094: Command line: '/usr/sbin/apache2' ``` **Papermerge seems to be running fine. Noticed that it is not importing from directly automatically though. Manual upload hangs/doesn't work.** **Ubuntu 20.04 LXC**
kerem 2026-02-25 21:31:31 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@doughnet commented on GitHub (Feb 5, 2021):

Seems permission issue with media folder (not told in the tutorial for installing in production to do this).

<!-- gh-comment-id:774350829 --> @doughnet commented on GitHub (Feb 5, 2021): Seems permission issue with media folder (not told in the tutorial for installing in production to do this).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/papermerge#238
No description provided.