On April 27, 2021 11:15:57 PM CDT, Andre Foote <andrefooteist@gmail.com> wrote:
FileNotFoundError at /admin/region/country/process_import/[Errno 2] No such file or directory: '/tmp/tmpu31qxebf'Request Method: POSTRequest URL: http://myurl/admin/region/country/process_import/Django Version: 3.0.10Exception Type: FileNotFoundErrorException Value:[Errno 2] No such file or directory: '/tmp/tmpu31qxebf'Exception Location: /usr/local/lib/python3.8/site-packages/import_export/tmp_storages.py in open, line 29Python Executable: /usr/local/bin/pythonPython Version: 3.8.3I understand from the Django docs that when using File-based sessions, one must check that their "web server has permissions to read and write to this location" (I'm not sure how/where to enforce this, in my initial post, I tried to enforce inheritence of folder permissions but that didn't work - any pointers would be appreciated.)
However I'm using the default configuration for sessions that's supposed to be database-backed.On Tuesday, April 27, 2021 at 9:52:03 PM UTC+2 Ryan Nowakowski wrote:
On April 26, 2021 11:31:24 PM CDT, Andre Foote <andref...@gmail.com> wrote:
>However, the application crashes with the error stating that it is
>unable
>to read the session data stored in "/tmp".
Please post the full error including any exception messages and the full Python trace back if available.
No comments:
Post a Comment