<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'>Thank you Simone!! you were right about my wrong branch and now it works on Debian 8.5 :D<br>I will PR some changes on the docs soon.<br>Regards<br><br><br><span><span><pre><span style="font-family:arial,helvetica,sans-serif;"><b>Lic. CRISTIAN R. ZAMAR</b></span><br><span style="font-family:arial,helvetica,sans-serif;">Developer - GIS Specialist<br>+54 370 4271736<br><span style="font-family:monospace,monospace;"><a href="http://ar.linkedin.com/in/cristianzamar" target="_blank">linkedin</a></span></span></pre></span></span><br><span><span></span></span><br><br><div><hr id="stopSpelling">Date: Sat, 16 Jul 2016 08:25:35 +0200<br>Subject: Re: [GeoNode-users] Error creating superuser (gn2.4 on Debian)<br>From: simone.dalmasso@gmail.com<br>To: cristian_zamar@hotmail.com<br>CC: geonode-users@lists.osgeo.org<br><br>Hi, if you pulled from the master branch then is a Dev version with some changes. To create the db you have to use Python manage.py migrate. <div><br></div><div>If you want to stay with 2.4 then checkout the branch 2.4.x. </div><div><br></div><div>Hope this helps<span></span></div><div><br>Il venerdě 15 luglio 2016, Cristian Zamar <<a href="mailto:cristian_zamar@hotmail.com">cristian_zamar@hotmail.com</a>> ha scritto:<br><blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex;">
<div><div dir="ltr">
<div dir="ltr">Hi all,<br>I'm trying to install GeoNode 2.4 on Debian 8.5 following the manual installation from the docs:<br><a href="http://docs.geonode.org/en/master/tutorials/install_and_admin/geonode_install/index.html" target="_blank">http://docs.geonode.org/en/master/tutorials/install_and_admin/geonode_install/index.html</a><br><br>Everything was going right until this step:<br><blockquote><pre><b><span></span>python manage.py createsuperuser</b><br></pre></blockquote>the error log is:<br><br><blockquote><font style="font-size:10pt;" size="2">Traceback (most recent call last):</font><font style="font-size:10pt;" size="2"><br></font><font style="font-size:10pt;" size="2"> File "manage.py", line 29, in <module></font><font style="font-size:10pt;" size="2"><br></font><font style="font-size:10pt;" size="2"> execute_from_command_line(sys.argv)</font><font style="font-size:10pt;" size="2"><br></font><font style="font-size:10pt;" size="2"> File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 354, in execute_from_command_line</font><font style="font-size:10pt;" size="2"><br></font><font style="font-size:10pt;" size="2"> utility.execute()</font><font style="font-size:10pt;" size="2"><br></font><font style="font-size:10pt;" size="2"> File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 346, in execute</font><font style="font-size:10pt;" size="2"><br></font><font style="font-size:10pt;" size="2"> self.fetch_command(subcommand).run_from_argv(self.argv)</font><font style="font-size:10pt;" size="2"><br></font><font style="font-size:10pt;" size="2"> File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 394, in run_from_argv</font><font style="font-size:10pt;" size="2"><br></font><font style="font-size:10pt;" size="2"> self.execute(*args, **cmd_options)</font><font style="font-size:10pt;" size="2"><br></font><font style="font-size:10pt;" size="2"> File "/usr/local/lib/python2.7/dist-packages/django/contrib/auth/management/commands/createsuperuser.py", line 50, in execute</font><font style="font-size:10pt;" size="2"><br></font><font style="font-size:10pt;" size="2"> return super(Command, self).execute(*args, **options)</font><font style="font-size:10pt;" size="2"><br></font><font style="font-size:10pt;" size="2"> File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 445, in execute</font><font style="font-size:10pt;" size="2"><br></font><font style="font-size:10pt;" size="2"> output = self.handle(*args, **options)</font><font style="font-size:10pt;" size="2"><br></font><font style="font-size:10pt;" size="2"> File "/usr/local/lib/python2.7/dist-packages/django/contrib/auth/management/commands/createsuperuser.py", line 105, in handle</font><font style="font-size:10pt;" size="2"><br></font><font style="font-size:10pt;" size="2"> self.UserModel._default_manager.db_manager(database).get_by_natural_key(username)</font><font style="font-size:10pt;" size="2"><br></font><font style="font-size:10pt;" size="2"> File "/usr/local/lib/python2.7/dist-packages/django/contrib/auth/models.py", line 162, in get_by_natural_key</font><font style="font-size:10pt;" size="2"><br></font><font style="font-size:10pt;" size="2"> return self.get(**{self.model.USERNAME_FIELD: username})</font><font style="font-size:10pt;" size="2"><br></font><font style="font-size:10pt;" size="2"> File "/usr/local/lib/python2.7/dist-packages/django/db/models/manager.py", line 127, in manager_method</font><font style="font-size:10pt;" size="2"><br></font><font style="font-size:10pt;" size="2"> return getattr(self.get_queryset(), name)(*args, **kwargs)</font><font style="font-size:10pt;" size="2"><br></font><font style="font-size:10pt;" size="2"> File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py", line 328, in get</font><font style="font-size:10pt;" size="2"><br></font><font style="font-size:10pt;" size="2"> num = len(clone)</font><font style="font-size:10pt;" size="2"><br></font><font style="font-size:10pt;" size="2"> File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py", line 144, in __len__</font><font style="font-size:10pt;" size="2"><br></font><font style="font-size:10pt;" size="2"> self._fetch_all()</font><font style="font-size:10pt;" size="2"><br></font><font style="font-size:10pt;" size="2"> File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py", line 965, in _fetch_all</font><font style="font-size:10pt;" size="2"><br></font><font style="font-size:10pt;" size="2"> self._result_cache = list(self.iterator())</font><font style="font-size:10pt;" size="2"><br></font><font style="font-size:10pt;" size="2"> File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py", line 238, in iterator</font><font style="font-size:10pt;" size="2"><br></font><font style="font-size:10pt;" size="2"> results = compiler.execute_sql()</font><font style="font-size:10pt;" size="2"><br></font><font style="font-size:10pt;" size="2"> File "/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 840, in execute_sql</font><font style="font-size:10pt;" size="2"><br></font><font style="font-size:10pt;" size="2"> cursor.execute(sql, params)</font><font style="font-size:10pt;" size="2"><br></font><font style="font-size:10pt;" size="2"> File "/usr/local/lib/python2.7/dist-packages/django/db/backends/utils.py", line 79, in execute</font><font style="font-size:10pt;" size="2"><br></font><font style="font-size:10pt;" size="2"> return super(CursorDebugWrapper, self).execute(sql, params)</font><font style="font-size:10pt;" size="2"><br></font><font style="font-size:10pt;" size="2"> File "/usr/local/lib/python2.7/dist-packages/django/db/backends/utils.py", line 64, in execute</font><font style="font-size:10pt;" size="2"><br></font><font style="font-size:10pt;" size="2"> return self.cursor.execute(sql, params)</font><font style="font-size:10pt;" size="2"><br></font><font style="font-size:10pt;" size="2"> File "/usr/local/lib/python2.7/dist-packages/django/db/utils.py", line 98, in __exit__</font><font style="font-size:10pt;" size="2"><br></font><font style="font-size:10pt;" size="2"> six.reraise(dj_exc_type, dj_exc_value, traceback)</font><font style="font-size:10pt;" size="2"><br></font><font style="font-size:10pt;" size="2"> File "/usr/local/lib/python2.7/dist-packages/django/db/backends/utils.py", line 64, in execute</font><font style="font-size:10pt;" size="2"><br></font><font style="font-size:10pt;" size="2"> return self.cursor.execute(sql, params)</font><font style="font-size:10pt;" size="2"><br></font><font style="font-size:10pt;" size="2">django.db.utils.ProgrammingError: no existe la relación «people_profile»</font><font style="font-size:10pt;" size="2"><br></font><font style="font-size:10pt;" size="2">LINE 1: ...ofile"."zipcode", "people_profile"."country" FROM "people_pr...</font><font style="font-size:10pt;" size="2"><br></font><font style="font-size:10pt;" size="2"> ^</font><br></blockquote>I see the geonode database is empty (no tables). Am I missing any step?<br>I've tried with <b>syncdb</b> but I got a similar error.<br><br>Hope you can help me. <br>Thanks in advance.<br><br><span><span><pre><span style="font-family:arial,helvetica,sans-serif;"><b>Lic. CRISTIAN R. ZAMAR</b></span><br><span style="font-family:arial,helvetica,sans-serif;">Developer - GIS Specialist<br>+54 370 4271736<br><span style="font-family:monospace,monospace;"><a href="http://ar.linkedin.com/in/cristianzamar" target="_blank">linkedin</a></span></span></pre></span></span><br><span><span></span></span></div>
</div></div>
</blockquote></div><br><br>-- <br>Simone <br></div> </div></body>
</html>