[GeoNode-users] error creating superuser

Simone Dalmasso simone.dalmasso at gmail.com
Tue Oct 20 11:55:36 PDT 2015


Hi with the package install you have the local settings already. In
/etc/geonode.
Regards

Il martedì 20 ottobre 2015, Julio Cesar Refosco <juliorefosco at hotmail.com>
ha scritto:

> Hi Simone,
>
> after install geonode 2.4 I'm trying to follow the "USAGE" section and I
> couldn't find the file LOCAL_SETTINGS.PY.SAMPLE.
> Where could I find it?
>
> Thanks in advance.
>
> Julio
>
>
>
> ------------------------------
> Date: Thu, 15 Oct 2015 06:37:13 +0200
> Subject: Re: [GeoNode-users] error creating superuser
> From: simone.dalmasso at gmail.com
> <javascript:_e(%7B%7D,'cvml','simone.dalmasso at gmail.com');>
> To: refosco at furb.br <javascript:_e(%7B%7D,'cvml','refosco at furb.br');>
>
> Hi, the best way to customize geonode is indeed by using the geonode
> project https://github.com/GeoNode/geonode-project.
> It help toward future updates.
>
> Regards.
>
> Il mercoledì 14 ottobre 2015, Julio Cesar Refosco <refosco at furb.br
> <javascript:_e(%7B%7D,'cvml','refosco at furb.br');>> ha scritto:
>
> Dear Simone,
>
> I installed ubuntu 14.04 with geonode 2.4 and seems to working fine (I´m
> setting a service to share data from the "labgeo" of my institution.
>
> As I´m not a true expert in computer science I´m wondering if I
> should customize my geonode evaluating two points:
> 1 - the site design of the 2.4 is quite nice and, with few changes, fill
> my needs;
> 2 - I heard about that customizing my geonode creating a new template
> based on example project would difficult any future update. Is that true?
> Could you help to decide?
>
> Thanks in advance.
>
> Julio
>
>
> *___________________________________________________________JULIO CESAR
> REFOSCO *
> *Dr. Ciências Humanas - Interdisciplinar *
> *Universidade Regional de Blumenau *
> *Departamento de Engenharia Florestal*
> *Programa de Pós Graduação em Engenharia Florestal *
> *refosco at furb.br*
> *47 32216038*
>
>
> ------------------------------
> From: refosco at furb.br
> To: simone.dalmasso at gmail.com
> Subject: RE: [GeoNode-users] error creating superuser
> Date: Sun, 11 Oct 2015 18:59:27 -0300
>
> Hi Simone,
>
> Thanks for your suggestion, I´ll try it.
>
> Regards,
>
> Julio
>
>
>
>
> ------------------------------
> Date: Sun, 11 Oct 2015 19:09:39 +0200
> Subject: Re: [GeoNode-users] error creating superuser
> From: simone.dalmasso at gmail.com
> To: xbartolone at gmail.com
> CC: refosco at furb.br; geonode-users at lists.osgeo.org
>
> Julio also consider in install the 2.4  beta on Ubuntu 14.04 using
> poa:geonode/testing. The 2.4 is much better tha 2.0.
>
> Il domenica 11 ottobre 2015, Francesco Bartoli <xbartolone at gmail.com> ha
> scritto:
>
> 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
>
>
>
>
> --
> Simone
>
>
>
> --
> Simone
>


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


More information about the geonode-users mailing list