FileNotFoundError at /admin/region/country/process_import/
[Errno 2] No such file or directory: '/tmp/tmpu31qxebf'
*Request Method*: POST
*Request URL*: http://myurl/admin/region/country/process_import/
*Django Version*: 3.0.10
*Exception Type*: FileNotFoundError
*Exception 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 29
*Python Executable*: /usr/local/bin/python
*Python Version*: 3.8.3

I understand from the Django docs 
<https://docs.djangoproject.com/en/3.2/topics/http/sessions/#using-file-based-sessions>
 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 <[email protected]> 
> 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.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/23db12fb-3e30-482c-be8b-9a1f1b89c4aen%40googlegroups.com.

Reply via email to