<div dir="ltr">Sorry my fault is: pip freeze | grep Django<div><br></div><div><br></div><div>capital D</div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-02-06 16:26 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 Simone, here is the output:<div><br></div><div>$ pip freeze | grep django<br></div><div><div>django-activity-stream==0.6.1</div><div>django-appconf==0.5</div><div>django-autocomplete-light==2.<wbr>3.3</div><div>django-bootstrap-form==3.3</div><div>django-bootstrap3-<wbr>datetimepicker==2.2.3</div><div>django-braces==1.10.0</div><div>django-celery==3.1.16</div><div>django-downloadview==1.2</div><div>django-extensions==1.6.1</div><div>django-forms-bootstrap==3.0.1</div><div>django-friendly-tag-loader==1.<wbr>2.1</div><div>django-geoexplorer==4.0.5</div><div>django-geonode-client==0.0.15</div><div>django-guardian==1.4.6</div><div>django-haystack==2.4.1</div><div>django-js-asset==1.0.0</div><div>django-jsonfield==0.9.16</div><div>django-jsonfield-compat==0.4.4</div><div>django-leaflet==0.13.7</div><div>django-modeltranslation==0.12</div><div>django-mptt==0.8.6</div><div>django-nose==1.4.4</div><div>django-oauth-toolkit==0.12.0</div><div>django-pagination==1.0.7</div><div>django-polymorphic==0.9.2</div><div>django-storages==1.1.8</div><div>django-taggit==0.21.0</div><div>django-tastypie==0.12.2</div><div>django-treebeard==3.0</div></div><div><br></div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 6, 2018 at 10:08 AM, Simone Dalmasso <span dir="ltr"><<a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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/la<wbr>test/tutorials/install_and_adm<wbr>in/setup_on_centos/install_geo<wbr>node.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_-4811477661866546661m_4108220611357682736m_682953981650740995gmail-n" style="box-sizing:border-box;color:rgb(51,51,51)">cd</span> <span class="m_-4811477661866546661m_4108220611357682736m_682953981650740995gmail-o" style="box-sizing:border-box;font-weight:bold">/</span><span class="m_-4811477661866546661m_4108220611357682736m_682953981650740995gmail-n" style="box-sizing:border-box;color:rgb(51,51,51)">opt</span><span class="m_-4811477661866546661m_4108220611357682736m_682953981650740995gmail-o" style="box-sizing:border-box;font-weight:bold">/</span><span class="m_-4811477661866546661m_4108220611357682736m_682953981650740995gmail-n" style="box-sizing:border-box;color:rgb(51,51,51)">apps</span><span class="m_-4811477661866546661m_4108220611357682736m_682953981650740995gmail-o" style="box-sizing:border-box;font-weight:bold">/</span><span class="m_-4811477661866546661m_4108220611357682736m_682953981650740995gmail-n" style="box-sizing:border-box;color:rgb(51,51,51)">geonode</span><span class="m_-4811477661866546661m_4108220611357682736m_682953981650740995gmail-o" style="box-sizing:border-box;font-weight:bold">/</span><span class="m_-4811477661866546661m_4108220611357682736m_682953981650740995gmail-n" style="box-sizing:border-box;color:rgb(51,51,51)">geonode</span><span class="m_-4811477661866546661m_4108220611357682736m_682953981650740995gmail-o" style="box-sizing:border-box;font-weight:bold">/</span>
<span class="m_-4811477661866546661m_4108220611357682736m_682953981650740995gmail-n" style="box-sizing:border-box;color:rgb(51,51,51)">python</span> <span class="m_-4811477661866546661m_4108220611357682736m_682953981650740995gmail-n" style="box-sizing:border-box;color:rgb(51,51,51)">manage</span><span class="m_-4811477661866546661m_4108220611357682736m_682953981650740995gmail-o" style="box-sizing:border-box;font-weight:bold">.</span><span class="m_-4811477661866546661m_4108220611357682736m_682953981650740995gmail-n" style="box-sizing:border-box;color:rgb(51,51,51)">py</span> <span class="m_-4811477661866546661m_4108220611357682736m_682953981650740995gmail-n" style="box-sizing:border-box;color:rgb(51,51,51)">migrate</span>
<span class="m_-4811477661866546661m_4108220611357682736m_682953981650740995gmail-n" style="box-sizing:border-box;color:rgb(51,51,51)">python</span> <span class="m_-4811477661866546661m_4108220611357682736m_682953981650740995gmail-n" style="box-sizing:border-box;color:rgb(51,51,51)">manage</span><span class="m_-4811477661866546661m_4108220611357682736m_682953981650740995gmail-o" style="box-sizing:border-box;font-weight:bold">.</span><span class="m_-4811477661866546661m_4108220611357682736m_682953981650740995gmail-n" style="box-sizing:border-box;color:rgb(51,51,51)">py</span> <span class="m_-4811477661866546661m_4108220611357682736m_682953981650740995gmail-n" style="box-sizing:border-box;color:rgb(51,51,51)">loaddata</span> <span class="m_-4811477661866546661m_4108220611357682736m_682953981650740995gmail-n" style="box-sizing:border-box;color:rgb(51,51,51)">geonode</span><span class="m_-4811477661866546661m_4108220611357682736m_682953981650740995gmail-o" style="box-sizing:border-box;font-weight:bold">/</span><span class="m_-4811477661866546661m_4108220611357682736m_682953981650740995gmail-n" style="box-sizing:border-box;color:rgb(51,51,51)">base</span><span class="m_-4811477661866546661m_4108220611357682736m_682953981650740995gmail-o" style="box-sizing:border-box;font-weight:bold">/</span><span class="m_-4811477661866546661m_4108220611357682736m_682953981650740995gmail-n" style="box-sizing:border-box;color:rgb(51,51,51)">fixtures</span><span class="m_-4811477661866546661m_4108220611357682736m_682953981650740995gmail-o" style="box-sizing:border-box;font-weight:bold">/</span><span class="m_-4811477661866546661m_4108220611357682736m_682953981650740995gmail-n" style="box-sizing:border-box;color:rgb(51,51,51)">initial_<wbr>data</span><span class="m_-4811477661866546661m_4108220611357682736m_682953981650740995gmail-o" style="box-sizing:border-box;font-weight:bold">.</span><span class="m_-4811477661866546661m_4108220611357682736m_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-packa<wbr>ges/django/core/management/__i<wbr>nit__.py", line 354, in execute_from_command_line</div><div> utility.execute()</div><div> File "/usr/lib/python2.7/site-packa<wbr>ges/django/core/management/__i<wbr>nit__.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-packa<wbr>ges/django/core/management/bas<wbr>e.py", line 394, in run_from_argv</div><div> self.execute(*args, **cmd_options)</div><div> File "/usr/lib/python2.7/site-packa<wbr>ges/django/core/management/bas<wbr>e.py", line 445, in execute</div><div> output = self.handle(*args, **options)</div><div> File "/usr/lib/python2.7/site-packa<wbr>ges/django/core/management/com<wbr>mands/loaddata.py", line 60, in handle</div><div> self.loaddata(fixture_labels)</div><div> File "/usr/lib/python2.7/site-packa<wbr>ges/django/core/management/com<wbr>mands/loaddata.py", line 90, in loaddata</div><div> self.load_label(fixture_label)</div><div> File "/usr/lib/python2.7/site-packa<wbr>ges/django/core/management/com<wbr>mands/loaddata.py", line 141, in load_label</div><div> for obj in objects:</div><div> File "/usr/lib/python2.7/site-packa<wbr>ges/django/core/serializers/js<wbr>on.py", line 85, in Deserializer</div><div> six.reraise(DeserializationErr<wbr>or, DeserializationError(e), sys.exc_info()[2])</div><div> File "/usr/lib/python2.7/site-packa<wbr>ges/django/core/serializers/js<wbr>on.py", line 79, in Deserializer</div><div> for obj in PythonDeserializer(objects, **options):</div><div> File "/usr/lib/python2.7/site-packa<wbr>ges/django/core/serializers/py<wbr>thon.py", line 96, in Deserializer</div><div> Model = _get_model(d["model"])</div><div> File "/usr/lib/python2.7/site-packa<wbr>ges/django/core/serializers/py<wbr>thon.py", line 168, in _get_model</div><div> raise base.DeserializationError("Inv<wbr>alid model identifier: '%s'" % model_identifier)</div><div>django.core.serializers.base.D<wbr>eserializationError: Problem installing fixture '/opt/apps/geonode/geonode/geo<wbr>node/base/fixtures/initial_dat<wbr>a.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" target="_blank">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/mailma<wbr>n/listinfo/geonode-users</a><br>
<br></blockquote></div><span class="m_-4811477661866546661HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="m_-4811477661866546661m_4108220611357682736gmail_signature" data-smartmail="gmail_signature">Simone </div>
</font></span></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Simone </div>
</div>