[GeoNode-users] FW: error creating superuser
Francesco Bartoli
xbartolone at gmail.com
Sun Oct 11 08:51:26 PDT 2015
Julio,
in order to have a custom theme for geonode 2.0 you have to accomplish these steps:
- install from apt-get
- install the branch 2.0 of the geonode-project https://github.com/GeoNode/geonode-project/tree/2.0 and follow the instructions in there
Regarding the error below perhaps it is related to your locale, so what is that?
Francesco
Il giorno 11/ott/2015, alle ore 13:08, Julio Cesar Refosco <refosco at furb.br> ha scritto:
> Hello,
>
> Triyng to setup a theme to my geonode on Ubuntu 12.04 <http://geonode.readthedocs.org/en/master/tutorials/admin/customize_admin/setup_admin.html?highlight=setup> it seems that I screwed everthing. After some steps I reinstalled geonode and some other packs but nor everything is in place as I´m having problems creating superuser and setting IP.
>
> Trying to create superuser I have this:
>
> -----------------------------------------------------------------------------------------------------------------------------------------------------------
> geonode at GeoNode:~$ geonode createsuperuser
> Traceback (most recent call last):
> File "/usr/bin/django-admin", line 5, in <module>
> management.execute_from_command_line()
> File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 399, in execute_from_command_line
> utility.execute()
> File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 392, in execute
> self.fetch_command(subcommand).run_from_argv(self.argv)
> File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 272, in fetch_command
> klass = load_command_class(app_name, subcommand)
> File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 76, in load_command_class
> return module.Command()
> File "/usr/local/lib/python2.7/dist-packages/django/contrib/auth/management/commands/createsuperuser.py", line 26, in __init__
> self.UserModel = get_user_model()
> File "/usr/local/lib/python2.7/dist-packages/django/contrib/auth/__init__.py", line 127, in get_user_model
> user_model = get_model(app_label, model_name)
> File "/usr/local/lib/python2.7/dist-packages/django/db/models/loading.py", line 271, in get_model
> self._populate()
> File "/usr/local/lib/python2.7/dist-packages/django/db/models/loading.py", line 75, in _populate
> self.load_app(app_name, True)
> File "/usr/local/lib/python2.7/dist-packages/django/db/models/loading.py", line 99, in load_app
> models = import_module('%s.models' % app_name)
> File "/usr/local/lib/python2.7/dist-packages/django/utils/importlib.py", line 40, in import_module
> __import__(name)
> File "/usr/local/lib/python2.7/dist-packages/account/models.py", line 24, in <module>
> from account.compat import AUTH_USER_MODEL, receiver
> File "/usr/local/lib/python2.7/dist-packages/account/compat.py", line 12, in <module>
> from account.conf import settings
> File "/usr/local/lib/python2.7/dist-packages/account/conf.py", line 38, in <module>
> class AccountAppConf(AppConf):
> File "/usr/local/lib/python2.7/dist-packages/account/conf.py", line 64, in AccountAppConf
> LANGUAGES = get_languages()
> File "/usr/local/lib/python2.7/dist-packages/account/conf.py", line 31, in get_languages
> if code in settings.EXTRA_LANG_INFO:
> File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 55, in __getattr__
> return getattr(self._wrapped, name)
> AttributeError: 'Settings' object has no attribute 'EXTRA_LANG_INFO'
>
>
> Any ideas to solve?
> Thanks in advance.
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20151011/83146192/attachment.html>
More information about the geonode-users
mailing list