-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PermissionError at /admin/raster/rasterlayer/add/ #45
Comments
Any solutions? |
I don't have access to a Windows computer so I can't really debug this. It looks like the "closing" of a file from one function might not be registered properly and so the final removing of the intermediate files fails. Maybe when Celery tries to access it after the admin form uploaded it to the web server? |
Could you try to run django-raster without celery (RASTER_USE_CELERY=False) https://django-raster.readthedocs.io/en/stable/settings.html#asynchronous-raster-parsing and see if it works that way just to see if its a celery related problem? |
Hi, |
I shifted to ubuntu yet couldn't solve the issue |
I'm trying to add raster into Raster layers using admin page,
but everytime i tried it always give [WinError 32],
I already tried to change permission on admin page and remove the file on temp data but still got the error.
I'm using Windows 10, PostgreSQL 11.4, PostGIS 2.5.3 and Python 3 using virtual env from conda.
My data only have 1 band (grayscale)
Here's the traceback error:
The text was updated successfully, but these errors were encountered: