[GeoNode-users] Geonode project problem

Simone Dalmasso simone.dalmasso at gmail.com
Wed Feb 21 00:56:19 PST 2018


Hi Ariel,

it can be related to the wrong version of python-six
can you make sure that you have the right version?

pip install six==1.10.0

let us know.

ciao

2018-02-21 3:34 GMT+01:00 Ariel Neri <ariel.neriw at gmail.com>:

> Hi, I have just installed a new GeoNode 2.6 (quick install) on ubuntu
> 16.04 and then followed this instructions to create a new project:
>
> https://github.com/GeoNode/geonode-project   ( readme.rst )
>
> however, when i run
>
> python manage.py collectstatic
>
> This error comes up:
>
> Traceback (most recent call last):
>   File "manage.py", line 11, in <module>
>     execute_from_command_line(sys.argv)
>   File "/home/admin01/.local/lib/python2.7/site-packages/
> django/core/management/__init__.py", line 354, in
> execute_from_command_line
>     utility.execute()
>   File "/home/admin01/.local/lib/python2.7/site-packages/
> django/core/management/__init__.py", line 328, in execute
>     django.setup()
>   File "/home/admin01/.local/lib/python2.7/site-packages/django/__init__.py",
> line 18, in setup
>     apps.populate(settings.INSTALLED_APPS)
>   File "/home/admin01/.local/lib/python2.7/site-packages/django/apps/registry.py",
> line 85, in populate
>     app_config = AppConfig.create(entry)
>   File "/home/admin01/.local/lib/python2.7/site-packages/django/apps/config.py",
> line 86, in create
>     module = import_module(entry)
>   File "/usr/lib/python2.7/importlib/__init__.py", line 37, in
> import_module
>     __import__(name)
>   File "/home/admin01/.local/lib/python2.7/site-packages/
> autocomplete_light/__init__.py", line 7, in <module>
>     from .shortcuts import *  # noqa
>   File "/home/admin01/.local/lib/python2.7/site-packages/
> autocomplete_light/shortcuts.py", line 8, in <module>
>     from .forms import *
>   File "/home/admin01/.local/lib/python2.7/site-packages/autocomplete_light/forms.py",
> line 438, in <module>
>     class ModelForm(six.with_metaclass(*bases)):
>   File "/home/admin01/.local/lib/python2.7/site-packages/autocomplete_light/forms.py",
> line 283, in __new__
>     attrs)
>   File "/home/admin01/.local/lib/python2.7/site-packages/django/forms/models.py",
> line 247, in __new__
>     new_class = super(ModelFormMetaclass, mcs).__new__(mcs, name, bases,
> attrs)
>   File "/home/admin01/.local/lib/python2.7/site-packages/django/forms/forms.py",
> line 91, in __new__
>     .__new__(mcs, name, bases, attrs))
>   File "/home/admin01/.local/lib/python2.7/site-packages/django/forms/widgets.py",
> line 145, in __new__
>     .__new__(mcs, name, bases, attrs))
> TypeError: Error when calling the metaclass bases
>     metaclass conflict: the metaclass of a derived class must be a
> (non-strict) subclass of the metaclasses of all its bases
>
>
> localhost still points to the default welcome page, and all python
> manage.py commands throw this same error.
>
> I donĀ“t know what this error is about. Any advice will be welcome
> Thanks
>
> Ariel
>
>
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Libre
> de virus. www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
> <#m_-3165666191709506449_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geonode-users
>
>


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


More information about the geonode-users mailing list