GeoNode / geonode

GeoNode is an open source platform that facilitates the creation, sharing, and collaborative use of geospatial data.
https://geonode.org/
Other
1.42k stars 1.11k forks source link

syncdb error - model doesn't validate #822

Closed stephenedavis closed 11 years ago

stephenedavis commented 11 years ago

in my geonode virtual environment, after copying down the geonode template (template=https://github.com/GeoNode/geonode-project/zipball/master) when I run python manage.py syncdb --all, I get the following error:

Error: One or more models did not validate:
layers.layer: 'resourcebase_ptr' has a relation with model <class 'geonode.base.models.ResourceBase'>, which has either not been installed or is abstract.
documents.document: 'resourcebase_ptr' has a relation with model <class 'geonode.base.models.ResourceBase'>, which has either not been installed or is abstract.
maps.map: 'resourcebase_ptr' has a relation with model <class 'geonode.base.models.ResourceBase'>, which has either not been installed or is abstract.

jj0hns0n commented 11 years ago

I think the template project may have to be updated after the most recent ContactRole changes, I will investigate.

ingenieroariel commented 11 years ago

I think geonode-project should have it's own ticket tracker.

capooti commented 11 years ago

not sure if it is worth. MapServer and now QGIS are migrating to GH, why would we do the opposite?

jj0hns0n commented 11 years ago

I think Ariel is just saying to put the tickets for this geonode-project in their own repo rather than the main one.

capooti commented 11 years ago

oops sorry, now I understand :+1:

tdski82 commented 11 years ago

I have the same problem and without migration works.

I think it's sufficient to update south migration.

capooti commented 11 years ago

@jj0hns0n shoud I take care of this?

jj0hns0n commented 11 years ago

I think this is all fixed with latest changes to the template project. Closing for now, will reopen if necessary.