[GeoNode-users] FW: error creating superuser

Julio Cesar Refosco juliorefosco at hotmail.com
Sun Oct 11 05:19:42 PDT 2015


Hi Francesco,
Thanks for your help. I´m trying 2.0.1.
Julio
geonode at GeoNode:~$ sudo apt-get install geonode[sudo] password for geonode:Lendo listas de pacotes... ProntoConstruindo árvore de dependênciasLendo informação de estado... ProntoOs NOVOS pacotes a seguir serão instalados:  geonode0 pacotes atualizados, 1 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.É preciso baixar 0 B/2.043 kB de arquivos.Depois desta operação, 2.345 kB adicionais de espaço em disco serão usados.Selecionando pacote geonode previamente não selecionado.(Lendo banco de dados ... 104288 ficheiros e directórios actualmente instalados.)Desempacotando geonode (de .../geonode_2.0.1+thefinal0_all.deb) ...Configurando geonode (2.0.1+thefinal0) ...Sourcing /usr/share/geonode/config-post.sh as the configuration file        Step: 'post specifiedRunning GeoNode postinstall ...Unpacking /usr/share/geonode/GeoNode-2.0.1.zip  Running setup.py egg_info for package from file:///usr/share/geonode/GeoNode-2.0.1.zip



Date: Sun, 11 Oct 2015 04:19:44 -0700
From: xbartolone at gmail.com
To: juliorefosco at hotmail.com
CC: geonode-users at lists.osgeo.org
Subject: Re: [GeoNode-users] FW: error creating superuser


Hi Julio,


What version are you trying to setup?


—
Inviato da Mailbox



On Sun, Oct 11, 2015 at 1:14 PM, Julio Cesar Refosco <juliorefosco at hotmail.com> wrote:



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.

 		 	   		  

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


More information about the geonode-users mailing list