[GeoNode-users] manage.py migrate error

Angelos Tzotsos gcpp.kalxas at gmail.com
Mon Feb 20 08:25:15 PST 2017


Hi Paul,

I would recommend using the ansible role to install GeoNode.
https://github.com/GeoNode/ansible-geonode

I hope that helps.

Best,
Angelos

On 02/20/2017 05:52 PM, Paul Knight wrote:
> Hi,
> I wonder if anyone can assist with an error that I am getting when working through the setup steps of the 'customise the look and feel' section (http://docs.geonode.org/en/latest/tutorials/admin/customize_lookfeel/customize/setup_admin.html).
> When running
> $ python manage.py migrate
>
>
> I get the following ImportError message:
> Traceback (most recent call last):
>    File "manage.py", line 11, in <module>
>      execute_from_command_line(sys.argv)
>    File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 354, in execute_from_command_line
>      utility.execute()
>    File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 328, in execute
>      django.setup()
>    File "/usr/local/lib/python2.7/dist-packages/django/__init__.py", line 18, in setup
>      apps.populate(settings.INSTALLED_APPS)
>    File "/usr/local/lib/python2.7/dist-packages/django/apps/registry.py", line 108, in populate
>      app_config.import_models(all_models)
>    File "/usr/local/lib/python2.7/dist-packages/django/apps/config.py", line 198, in import_models
>      self.models_module = import_module(models_module_name)
>    File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
>      __import__(name)
>    File "/home/geonode/geonode/geonode/base/models.py", line 22, in <module>
>      from polymorphic import PolymorphicModel, PolymorphicManager
> ImportError: cannot import name PolymorphicModel
>
>
>
> I have installed Geonode using the full installation on Ubuntu version 14.04
> If anyone could help it would be greatly appreciated!
> Paul
>
>
>
>          
> 	This email is for the intended recipient only. It may contain information that is privileged, confidential and/or subject to copyright. If you are not the intended recipient, please delete this email and any attachments immediately. You may not present this message or any part of it to another party without consent from the sender.
>
> Although the British Red Cross has taken steps to ensure this email and any attachments are virus-free, we do not accept any responsibility for viruses, or for inaccurate or incomplete information or failure to deliver information. It is your responsibility to scan the email and any attachments to ensure they are virus-free.
>
> The British Red Cross may monitor the content of emails sent or received by its employees.
>
> The British Red Cross Society, incorporated by Royal Charter 1908, is a charity registered in England and Wales (220949), Scotland (SC037738) and Isle of Man (0752).
>
> The red cross emblem is a protective symbol, the use of which is restricted by international and national law. It may not be reproduced without prior authorisation. For more information, about the emblem, please go to www.redcross.org.uk/About-us/Who-we-are/The-international-Movement/The-emblem.
>
> If you need to contact the British Red Cross, please go to www.redcross.org.uk/About-us/Contact-and-help/Contact-us and select the best option for you.
>
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geonode-users


-- 
Angelos Tzotsos, PhD
Charter Member
Open Source Geospatial Foundation
http://users.ntua.gr/tzotsos

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170220/4cfdd6ca/attachment-0001.html>


More information about the geonode-users mailing list