[GeoNode-users] New Install of GeoNode (Centos7) - error on loaddata step

Simone Dalmasso simone.dalmasso at gmail.com
Tue Feb 6 07:28:51 PST 2018


Sorry my fault is: pip freeze | grep Django


capital D

2018-02-06 16:26 GMT+01:00 Ivan Terry <ivanterry1 at gmail.com>:

> Hi Simone, here is the output:
>
> $ pip freeze | grep django
> django-activity-stream==0.6.1
> django-appconf==0.5
> django-autocomplete-light==2.3.3
> django-bootstrap-form==3.3
> django-bootstrap3-datetimepicker==2.2.3
> django-braces==1.10.0
> django-celery==3.1.16
> django-downloadview==1.2
> django-extensions==1.6.1
> django-forms-bootstrap==3.0.1
> django-friendly-tag-loader==1.2.1
> django-geoexplorer==4.0.5
> django-geonode-client==0.0.15
> django-guardian==1.4.6
> django-haystack==2.4.1
> django-js-asset==1.0.0
> django-jsonfield==0.9.16
> django-jsonfield-compat==0.4.4
> django-leaflet==0.13.7
> django-modeltranslation==0.12
> django-mptt==0.8.6
> django-nose==1.4.4
> django-oauth-toolkit==0.12.0
> django-pagination==1.0.7
> django-polymorphic==0.9.2
> django-storages==1.1.8
> django-taggit==0.21.0
> django-tastypie==0.12.2
> django-treebeard==3.0
>
>
>
> On Tue, Feb 6, 2018 at 10:08 AM, Simone Dalmasso <
> simone.dalmasso at gmail.com> wrote:
>
>> Hi Ivan,
>>
>> could you check the django version? pip freeze | grep django
>>
>> 2018-02-06 15:46 GMT+01:00 Ivan Terry <ivanterry1 at gmail.com>:
>>
>>> Hi,
>>>
>>> New to GeoNode/Django.  I'm following the instructions here:
>>> http://docs.geonode.org/en/latest/tutorials/install_and_adm
>>> in/setup_on_centos/install_geonode.html  and when I get to the
>>> "Initialize Geonode" step:
>>>
>>> cd /opt/apps/geonode/geonode/python manage.py migratepython manage.py loaddata geonode/base/fixtures/initial_data.json
>>>
>>>
>>> When I run manage.py migrate nothing happens, then when I run loaddata I
>>> get the following error:
>>>
>>> $ python manage.py loaddata geonode/base/fixtures/initial_data.json
>>> Traceback (most recent call last):
>>>   File "manage.py", line 29, in <module>
>>>     execute_from_command_line(sys.argv)
>>>   File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py",
>>> line 354, in execute_from_command_line
>>>     utility.execute()
>>>   File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py",
>>> line 346, in execute
>>>     self.fetch_command(subcommand).run_from_argv(self.argv)
>>>   File "/usr/lib/python2.7/site-packages/django/core/management/base.py",
>>> line 394, in run_from_argv
>>>     self.execute(*args, **cmd_options)
>>>   File "/usr/lib/python2.7/site-packages/django/core/management/base.py",
>>> line 445, in execute
>>>     output = self.handle(*args, **options)
>>>   File "/usr/lib/python2.7/site-packages/django/core/management/commands/loaddata.py",
>>> line 60, in handle
>>>     self.loaddata(fixture_labels)
>>>   File "/usr/lib/python2.7/site-packages/django/core/management/commands/loaddata.py",
>>> line 90, in loaddata
>>>     self.load_label(fixture_label)
>>>   File "/usr/lib/python2.7/site-packages/django/core/management/commands/loaddata.py",
>>> line 141, in load_label
>>>     for obj in objects:
>>>   File "/usr/lib/python2.7/site-packages/django/core/serializers/json.py",
>>> line 85, in Deserializer
>>>     six.reraise(DeserializationError, DeserializationError(e),
>>> sys.exc_info()[2])
>>>   File "/usr/lib/python2.7/site-packages/django/core/serializers/json.py",
>>> line 79, in Deserializer
>>>     for obj in PythonDeserializer(objects, **options):
>>>   File "/usr/lib/python2.7/site-packages/django/core/serializers/python.py",
>>> line 96, in Deserializer
>>>     Model = _get_model(d["model"])
>>>   File "/usr/lib/python2.7/site-packages/django/core/serializers/python.py",
>>> line 168, in _get_model
>>>     raise base.DeserializationError("Invalid model identifier: '%s'" %
>>> model_identifier)
>>> django.core.serializers.base.DeserializationError: Problem installing
>>> fixture '/opt/apps/geonode/geonode/geonode/base/fixtures/initial_data.json':
>>> Invalid model identifier: 'base.topiccategory'
>>>
>>> Any help would be much appreciated!!
>>>
>>> _______________________________________________
>>> geonode-users mailing list
>>> geonode-users at lists.osgeo.org
>>> https://lists.osgeo.org/mailman/listinfo/geonode-users
>>>
>>>
>>
>>
>> --
>> Simone
>>
>
>


-- 
Simone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20180206/5fb9727f/attachment.html>


More information about the geonode-users mailing list