-
Notifications
You must be signed in to change notification settings - Fork 10
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
Task failed in the backend. Please try again. #344
Comments
Hi @changliao1025 thank you, it looks like a regression has caused this. I am investigating now. |
Hi @changliao1025 I believe the issue has been resolved. You will have to pull/build a new image, and I reccomend starting with fresh volumes. Please ensure your branch is up to date with the new changes. Eg. |
Thanks, I will try it again. |
When I tried to run the "Generating model", it always failed with the permission issue. See below log from the terminal:
Arguments: 'src.tasks.process_dem', 'exc': "PermissionError(13, 'Permission denied')", 'traceback': 'Traceback (most recent call last):\n File "/venv/lib/python3.11/site-packages/celery/app/trace.py", line 451, in trace_task\n R = retval = fun(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^\n File "/venv/lib/python3.11/site-packages/celery/app/trace.py", line 734, in protected_call\n return self.run(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/app/src/tasks.py", line 126, in process_dem\n process_hydro_dem.main(selected_polygon, **parameters)\n File "/app/src/flood_model/process_hydro_dem.py", line 106, in main\n process_dem(selected_polygon_gdf)\n File "/app/src/flood_model/process_hydro_dem.py", line 62, in process_dem\n newzealidar.process.main(selected_polygon_gdf)\n File "/venv/lib/python3.11/site-packages/newzealidar/process.py", line 498, in main\n utils.save_gpkg(lidar_extent, "lidar_extent")\n File "/venv/lib/python3.11/site-packages/newzealidar/utils.py", line 994, in save_gpkg\n pathlib.Path(gpkg_path).mkdir(parents=True, exist_ok=True)\n File "/venv/lib/python3.11/pathlib.py", line 1116, in mkdir\n os.mkdir(self, mode)\nPermissionError: [Errno 13] Permission denied: '/stored_data/gpkg'\n', 'args': "['POLYGON ((172.71629837906798 -43.40100735095039, 172.71629837906798 -43.38586581746695, 172.67209098399104 -43.38586581746695, 172.67209098399104 -43.40100735095039, 172.71629837906798 -43.40100735095039))']", 'kwargs': '{}', 'description': 'raised unexpected', 'internal': False}
The text was updated successfully, but these errors were encountered: