[OSGeoLive] Problem upload shp file to GeoNode in OSGeoLive 15
Angelos Tzotsos
gcpp.kalxas at gmail.com
Thu Nov 16 11:57:13 PST 2023
Hi,
This is a well known issue.
Please have a look at earlier mailing list posts for details.
Best,
Angelos
On 11/12/23 15:48, Pablo Sanxiao via osgeolive wrote:
> Hi,
>
> I have a problem to upload a shapefile into GeoNode using OSGeoLive
> 15. I'm sending attaching the message that appears in the GeoNode
> interface and also this is the error that I can see in the apache log:
>
> Traceback (most recent call last):
> [Sun Nov 12 13:25:24.915308 2023] [wsgi:error] [pid 881] [remote
> 127.0.0.1:46046] File
> "/usr/lib/python3/dist-packages/geonode/upload/views.py", line 753, in
> view
> [Sun Nov 12 13:25:24.915311 2023] [wsgi:error] [pid 881] [remote
> 127.0.0.1:46046] resp = _steps[step](req, upload_session)
> [Sun Nov 12 13:25:24.915315 2023] [wsgi:error] [pid 881] [remote
> 127.0.0.1:46046] File
> "/usr/lib/python3/dist-packages/geonode/upload/views.py", line 207, in
> save_step_view
> [Sun Nov 12 13:25:24.915319 2023] [wsgi:error] [pid 881] [remote
> 127.0.0.1:46046] import_session, upload = save_step(
> [Sun Nov 12 13:25:24.915334 2023] [wsgi:error] [pid 881] [remote
> 127.0.0.1:46046] File
> "/usr/lib/python3/dist-packages/geonode/upload/upload.py", line 470,
> in save_step
> [Sun Nov 12 13:25:24.915338 2023] [wsgi:error] [pid 881] [remote
> 127.0.0.1:46046] raise e
> [Sun Nov 12 13:25:24.915341 2023] [wsgi:error] [pid 881] [remote
> 127.0.0.1:46046] File
> "/usr/lib/python3/dist-packages/geonode/upload/upload.py", line 330,
> in save_step
> [Sun Nov 12 13:25:24.915345 2023] [wsgi:error] [pid 881] [remote
> 127.0.0.1:46046] next_id = _get_next_id()
> [Sun Nov 12 13:25:24.915349 2023] [wsgi:error] [pid 881] [remote
> 127.0.0.1:46046] File
> "/usr/lib/python3/dist-packages/geonode/upload/upload.py", line 239,
> in _get_next_id
> [Sun Nov 12 13:25:24.915352 2023] [wsgi:error] [pid 881] [remote
> 127.0.0.1:46046] importer_sessions = gs_uploader.get_sessions()
> [Sun Nov 12 13:25:24.915356 2023] [wsgi:error] [pid 881] [remote
> 127.0.0.1:46046] File
> "/usr/lib/python3/dist-packages/gsimporter/client.py", line 47, in
> get_sessions
> [Sun Nov 12 13:25:24.915359 2023] [wsgi:error] [pid 881] [remote
> 127.0.0.1:46046] return self._call(self.client.get_imports)
> [Sun Nov 12 13:25:24.915375 2023] [wsgi:error] [pid 881] [remote
> 127.0.0.1:46046] File
> "/usr/lib/python3/dist-packages/gsimporter/client.py", line 34, in _call
> [Sun Nov 12 13:25:24.915378 2023] [wsgi:error] [pid 881] [remote
> 127.0.0.1:46046] robj = fun(*args)
> [Sun Nov 12 13:25:24.915382 2023] [wsgi:error] [pid 881] [remote
> 127.0.0.1:46046] File
> "/usr/lib/python3/dist-packages/gsimporter/client.py", line 221, in
> get_imports
> [Sun Nov 12 13:25:24.915385 2023] [wsgi:error] [pid 881] [remote
> 127.0.0.1:46046] return
> parse_response(self._request(self.url("imports")))
> [Sun Nov 12 13:25:24.915389 2023] [wsgi:error] [pid 881] [remote
> 127.0.0.1:46046] File
> "/usr/lib/python3/dist-packages/gsimporter/client.py", line 194, in
> _request
> [Sun Nov 12 13:25:24.915393 2023] [wsgi:error] [pid 881] [remote
> 127.0.0.1:46046] raise NotFound()
> [Sun Nov 12 13:25:24.915396 2023] [wsgi:error] [pid 881] [remote
> 127.0.0.1:46046] gsimporter.api.NotFound
>
> Any help?
>
> Thank you in advance.
>
> Regards,
>
> Pablo
>
> _______________________________________________
> osgeolive mailing list
> osgeolive at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/osgeolive
--
Angelos Tzotsos, PhD
President
Open Source Geospatial Foundation
http://users.ntua.gr/tzotsos
More information about the osgeolive
mailing list