[GeoNode-users] manage.py migrate error
gcpp.kalxas at gmail.com
Mon Feb 20 08:25:15 PST 2017
I would recommend using the ansible role to install GeoNode.
I hope that helps.
On 02/20/2017 05:52 PM, Paul Knight wrote:
> 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>
> File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 354, in execute_from_command_line
> File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 328, in execute
> File "/usr/local/lib/python2.7/dist-packages/django/__init__.py", line 18, in setup
> File "/usr/local/lib/python2.7/dist-packages/django/apps/registry.py", line 108, in populate
> 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
> 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!
> 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
Angelos Tzotsos, PhD
Open Source Geospatial Foundation
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the geonode-users