<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><font face="Calibri,sans-serif" color="#000000"><br id="FontBreak"></font>Francesco,<div><br></div><div>I will try your sugestion. T<span style="font-size: 12pt;">he locale of my system is:</span></div><div><br></div><div><div>geonode@GeoNode:~$ locale</div><div>LANG=pt_BR.UTF-8</div><div>LANGUAGE=pt_BR:pt:en</div><div>LC_CTYPE="pt_BR.UTF-8"</div><div>LC_NUMERIC=pt_BR</div><div>LC_TIME=pt_BR</div><div>LC_COLLATE="pt_BR.UTF-8"</div><div>LC_MONETARY=pt_BR</div><div>LC_MESSAGES="pt_BR.UTF-8"</div><div>LC_PAPER=pt_BR</div><div>LC_NAME=pt_BR</div><div>LC_ADDRESS=pt_BR</div><div>LC_TELEPHONE=pt_BR</div><div>LC_MEASUREMENT=pt_BR</div><div>LC_IDENTIFICATION=pt_BR</div><div>LC_ALL=</div><div><br></div><font size="4">Thanks,</font></div><div><font size="4"><br></font></div><div><font size="4">Julio</font></div><br /><br /><div><hr id="stopSpelling">Subject: Re: [GeoNode-users] FW: error creating superuser<br>From: xbartolone@gmail.com<br>Date: Sun, 11 Oct 2015 17:51:26 +0200<br>CC: geonode-users@lists.osgeo.org<br>To: refosco@furb.br<br><br>Julio,<div><br></div><div>in order to have a custom theme for geonode 2.0 you have to accomplish these steps:</div><div><br></div><div><span class=ecxApple-tab-span style="white-space:pre;">      </span>- install from apt-get</div><div><span class=ecxApple-tab-span style="white-space:pre;">   </span>- install the branch 2.0 of the geonode-project <a href="https://github.com/GeoNode/geonode-project/tree/2.0" target=_blank>https://github.com/GeoNode/geonode-project/tree/2.0</a> and follow the instructions in there</div><div><br></div><div>Regarding the error below perhaps it is related to your locale, so what is that?</div><div><br></div><div>Francesco</div><div><br><div><div>Il giorno 11/ott/2015, alle ore 13:08, Julio Cesar Refosco <<a href="mailto:refosco@furb.br">refosco@furb.br</a>> ha scritto:</div><br class=ecxApple-interchange-newline><blockquote>

<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}

--></style>
<div class=ecxhmmessage><div dir=ltr><div><div dir=ltr><font face="Calibri,sans-serif">Hello,<br id=ecxFontBreak></font><br>Triyng to setup a theme to my geonode on Ubuntu 12.04 <<a href="http://geonode.readthedocs.org/en/master/tutorials/admin/customize_admin/setup_admin.html?highlight=setup" target=_blank>http://geonode.readthedocs.org/en/master/tutorials/admin/customize_admin/setup_admin.html?highlight=setup</a>> 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. <div><br></div><div>Trying to create superuser I have this:</div><div><br></div><div>-----------------------------------------------------------------------------------------------------------------------------------------------------------</div><div><div>geonode@GeoNode:~$ geonode createsuperuser</div><div>Traceback (most recent call last):</div><div>  File "/usr/bin/django-admin", line 5, in <module></div><div>    management.execute_from_command_line()</div><div>  File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 399, in execute_from_command_line</div><div>    utility.execute()</div><div>  File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 392, in execute</div><div>    self.fetch_command(subcommand).run_from_argv(self.argv)</div><div>  File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 272, in fetch_command</div><div>    klass = load_command_class(app_name, subcommand)</div><div>  File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 76, in load_command_class</div><div>    return module.Command()</div><div>  File "/usr/local/lib/python2.7/dist-packages/django/contrib/auth/management/commands/createsuperuser.py", line 26, in __init__</div><div>    self.UserModel = get_user_model()</div><div>  File "/usr/local/lib/python2.7/dist-packages/django/contrib/auth/__init__.py", line 127, in get_user_model</div><div>    user_model = get_model(app_label, model_name)</div><div>  File "/usr/local/lib/python2.7/dist-packages/django/db/models/loading.py", line 271, in get_model</div><div>    self._populate()</div><div>  File "/usr/local/lib/python2.7/dist-packages/django/db/models/loading.py", line 75, in _populate</div><div>    self.load_app(app_name, True)</div><div>  File "/usr/local/lib/python2.7/dist-packages/django/db/models/loading.py", line 99, in load_app</div><div>    models = import_module('%s.models' % app_name)</div><div>  File "/usr/local/lib/python2.7/dist-packages/django/utils/importlib.py", line 40, in import_module</div><div>    __import__(name)</div><div>  File "/usr/local/lib/python2.7/dist-packages/account/models.py", line 24, in <module></div><div>    from account.compat import AUTH_USER_MODEL, receiver</div><div>  File "/usr/local/lib/python2.7/dist-packages/account/compat.py", line 12, in <module></div><div>    from account.conf import settings</div><div>  File "/usr/local/lib/python2.7/dist-packages/account/conf.py", line 38, in <module></div><div>    class AccountAppConf(AppConf):</div><div>  File "/usr/local/lib/python2.7/dist-packages/account/conf.py", line 64, in AccountAppConf</div><div>    LANGUAGES = get_languages()</div><div>  File "/usr/local/lib/python2.7/dist-packages/account/conf.py", line 31, in get_languages</div><div>    if code in settings.EXTRA_LANG_INFO:</div><div>  File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 55, in __getattr__</div><div>    return getattr(self._wrapped, name)</div><div>AttributeError: 'Settings' object has no attribute 'EXTRA_LANG_INFO'</div><div><br></div><div><br></div>Any ideas to solve?</div><div>Thanks in advance.</div><div><font size=4><br></font></div>                                        </div></div><style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}


--></style>                                      </div></div>
_______________________________________________<br>geonode-users mailing list<br><a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a><br>http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users<br></blockquote></div><br></div></div>                                     </div></body>
</html>