<div dir="ltr">Hi Ivan,<div><br></div><div>could you check the django version? pip freeze | grep django</div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-02-06 15:46 GMT+01:00 Ivan Terry <span dir="ltr"><<a href="mailto:ivanterry1@gmail.com" target="_blank">ivanterry1@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>New to GeoNode/Django.  I'm following the instructions here:  <a href="http://docs.geonode.org/en/latest/tutorials/install_and_admin/setup_on_centos/install_geonode.html" target="_blank">http://docs.geonode.org/en/<wbr>latest/tutorials/install_and_<wbr>admin/setup_on_centos/install_<wbr>geonode.html</a>  and when I get to the "Initialize Geonode" step:  </div><div><pre style="box-sizing:border-box;font-family:Consolas,"Andale Mono WT","Andale Mono","Lucida Console","Lucida Sans Typewriter","DejaVu Sans Mono","Bitstream Vera Sans Mono","Liberation Mono","Nimbus Mono L",Monaco,"Courier New",Courier,monospace;font-size:12px;margin-top:0px;margin-bottom:0px;padding:12px;line-height:normal;overflow:auto;color:rgb(64,64,64)"><span class="m_682953981650740995gmail-n" style="box-sizing:border-box;color:rgb(51,51,51)">cd</span> <span class="m_682953981650740995gmail-o" style="box-sizing:border-box;font-weight:bold">/</span><span class="m_682953981650740995gmail-n" style="box-sizing:border-box;color:rgb(51,51,51)">opt</span><span class="m_682953981650740995gmail-o" style="box-sizing:border-box;font-weight:bold">/</span><span class="m_682953981650740995gmail-n" style="box-sizing:border-box;color:rgb(51,51,51)">apps</span><span class="m_682953981650740995gmail-o" style="box-sizing:border-box;font-weight:bold">/</span><span class="m_682953981650740995gmail-n" style="box-sizing:border-box;color:rgb(51,51,51)">geonode</span><span class="m_682953981650740995gmail-o" style="box-sizing:border-box;font-weight:bold">/</span><span class="m_682953981650740995gmail-n" style="box-sizing:border-box;color:rgb(51,51,51)">geonode</span><span class="m_682953981650740995gmail-o" style="box-sizing:border-box;font-weight:bold">/</span>
<span class="m_682953981650740995gmail-n" style="box-sizing:border-box;color:rgb(51,51,51)">python</span> <span class="m_682953981650740995gmail-n" style="box-sizing:border-box;color:rgb(51,51,51)">manage</span><span class="m_682953981650740995gmail-o" style="box-sizing:border-box;font-weight:bold">.</span><span class="m_682953981650740995gmail-n" style="box-sizing:border-box;color:rgb(51,51,51)">py</span> <span class="m_682953981650740995gmail-n" style="box-sizing:border-box;color:rgb(51,51,51)">migrate</span>
<span class="m_682953981650740995gmail-n" style="box-sizing:border-box;color:rgb(51,51,51)">python</span> <span class="m_682953981650740995gmail-n" style="box-sizing:border-box;color:rgb(51,51,51)">manage</span><span class="m_682953981650740995gmail-o" style="box-sizing:border-box;font-weight:bold">.</span><span class="m_682953981650740995gmail-n" style="box-sizing:border-box;color:rgb(51,51,51)">py</span> <span class="m_682953981650740995gmail-n" style="box-sizing:border-box;color:rgb(51,51,51)">loaddata</span> <span class="m_682953981650740995gmail-n" style="box-sizing:border-box;color:rgb(51,51,51)">geonode</span><span class="m_682953981650740995gmail-o" style="box-sizing:border-box;font-weight:bold">/</span><span class="m_682953981650740995gmail-n" style="box-sizing:border-box;color:rgb(51,51,51)">base</span><span class="m_682953981650740995gmail-o" style="box-sizing:border-box;font-weight:bold">/</span><span class="m_682953981650740995gmail-n" style="box-sizing:border-box;color:rgb(51,51,51)">fixtures</span><span class="m_682953981650740995gmail-o" style="box-sizing:border-box;font-weight:bold">/</span><span class="m_682953981650740995gmail-n" style="box-sizing:border-box;color:rgb(51,51,51)">initial_<wbr>data</span><span class="m_682953981650740995gmail-o" style="box-sizing:border-box;font-weight:bold">.</span><span class="m_682953981650740995gmail-n" style="box-sizing:border-box;color:rgb(51,51,51)">json</span></pre></div><div><br></div><div>When I run manage.py migrate nothing happens, then when I run loaddata I get the following error:</div><div><br></div><div><div>$ python manage.py loaddata geonode/base/fixtures/initial_<wbr>data.json</div><div>Traceback (most recent call last):</div><div>  File "manage.py", line 29, in <module></div><div>    execute_from_command_line(sys.<wbr>argv)</div><div>  File "/usr/lib/python2.7/site-<wbr>packages/django/core/<wbr>management/__init__.py", line 354, in execute_from_command_line</div><div>    utility.execute()</div><div>  File "/usr/lib/python2.7/site-<wbr>packages/django/core/<wbr>management/__init__.py", line 346, in execute</div><div>    self.fetch_command(subcommand)<wbr>.run_from_argv(self.argv)</div><div>  File "/usr/lib/python2.7/site-<wbr>packages/django/core/<wbr>management/base.py", line 394, in run_from_argv</div><div>    self.execute(*args, **cmd_options)</div><div>  File "/usr/lib/python2.7/site-<wbr>packages/django/core/<wbr>management/base.py", line 445, in execute</div><div>    output = self.handle(*args, **options)</div><div>  File "/usr/lib/python2.7/site-<wbr>packages/django/core/<wbr>management/commands/loaddata.<wbr>py", line 60, in handle</div><div>    self.loaddata(fixture_labels)</div><div>  File "/usr/lib/python2.7/site-<wbr>packages/django/core/<wbr>management/commands/loaddata.<wbr>py", line 90, in loaddata</div><div>    self.load_label(fixture_label)</div><div>  File "/usr/lib/python2.7/site-<wbr>packages/django/core/<wbr>management/commands/loaddata.<wbr>py", line 141, in load_label</div><div>    for obj in objects:</div><div>  File "/usr/lib/python2.7/site-<wbr>packages/django/core/<wbr>serializers/json.py", line 85, in Deserializer</div><div>    six.reraise(<wbr>DeserializationError, DeserializationError(e), sys.exc_info()[2])</div><div>  File "/usr/lib/python2.7/site-<wbr>packages/django/core/<wbr>serializers/json.py", line 79, in Deserializer</div><div>    for obj in PythonDeserializer(objects, **options):</div><div>  File "/usr/lib/python2.7/site-<wbr>packages/django/core/<wbr>serializers/python.py", line 96, in Deserializer</div><div>    Model = _get_model(d["model"])</div><div>  File "/usr/lib/python2.7/site-<wbr>packages/django/core/<wbr>serializers/python.py", line 168, in _get_model</div><div>    raise base.DeserializationError("<wbr>Invalid model identifier: '%s'" % model_identifier)</div><div>django.core.serializers.base.<wbr>DeserializationError: Problem installing fixture '/opt/apps/geonode/geonode/<wbr>geonode/base/fixtures/initial_<wbr>data.json': Invalid model identifier: 'base.topiccategory'</div></div><div><br></div><div>Any help would be much appreciated!!</div></div>
<br>______________________________<wbr>_________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/geonode-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Simone </div>
</div>