GeoNode / geonode-project

A django template project for creating custom GeoNode projects.
http://geonode.org
77 stars 171 forks source link

Upload fails with the validity of shapefile #401

Open dhiraj172 opened 1 year ago

dhiraj172 commented 1 year ago

I have installed the geonode-project for quick implementation of a geostory on Ubuntu 20.4. I have followed the steps on github and the geonode-project documentation. The branch used was 4.1.x. Everything is loaded but when I try to upload a shapefile, it shoots an error telling me to check the validity of shapefile, no matter what I do with the shapefile. I have cleaned the geometry and tested everything but nothing works. The error can be traced to:

`  File "/home/geonode/.virtualenvs/my_geonode/lib/python3.8/site-packages/geonode/upload/views.py", line 548, in final_step_view
    assert saved_dataset
AssertionError`

Is there a way to solve this? The shapefile is clean and has been downloaded from my organizations geonode.

giohappy commented 1 year ago

@dhiraj172 can you share the shapefile?

dhiraj172 commented 1 year ago

@giohappy Sure. Attached herewith. tester2.zip