Re: [geonode] Genode in Ubuntu 11.04
- From:
- Adam Mar
- Date:
- 2011-08-21 @ 23:10
Hi Ariel,
I installed a new Ubuntu 11, with the
necessary requirements (4 GiO of RAM and 10 GO) and tried to run the
9 commands... the last one give me the following syntax error:
* Restarting web server apache2
apache2: Could not reliably determine the server's
fully qualified domain name, using 127.0.1.1 for ServerName
... waiting apache2: Could not
reliably determine the server's fully qualified domain name, using
127.0.1.1 for ServerName
[ OK ]
Traceback (most recent call last):
File
"/var/lib/geonode/bin/django-admin.py", line 5, in
<module>
management.execute_from_command_line()
File
"/var/lib/geonode/lib/python2.7/site-packages/django/core/management/__init__.py",
line 429, in execute_from_command_line
utility.execute()
File
"/var/lib/geonode/lib/python2.7/site-packages/django/core/management/__init__.py",
line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File
"/var/lib/geonode/lib/python2.7/site-packages/django/core/management/__init__.py",
line 252, in fetch_command
app_name =
get_commands()[subcommand]
File
"/var/lib/geonode/lib/python2.7/site-packages/django/core/management/__init__.py",
line 101, in get_commands
apps = settings.INSTALLED_APPS
File
"/var/lib/geonode/lib/python2.7/site-packages/django/utils/functional.py",
line 276, in __getattr__
self._setup()
File
"/var/lib/geonode/lib/python2.7/site-packages/django/conf/__init__.py",
line 40, in _setup
self._wrapped =
Settings(settings_module)
File
"/var/lib/geonode/lib/python2.7/site-packages/django/conf/__init__.py",
line 73, in __init__
mod =
importlib.import_module(self.SETTINGS_MODULE)
File
"/var/lib/geonode/lib/python2.7/site-packages/django/utils/importlib.py",
line 35, in import_module
__import__(name)
File
"/var/lib/geonode/src/GeoNodePy/geonode/settings.py", line
302, in <module>
from local_settings import *
File
"/var/lib/geonode/src/GeoNodePy/geonode/local_settings.py",
line 34
DATABASES = {DATABASE_ENGINE =
'postgresql_psycopg2'
^
SyntaxError: invalid syntax
Do you have any suggestion for that ? the tomcat6 works good (localhost:8080)
ThanksAdam
Re: [geonode] Genode in Ubuntu 11.04
- From:
- Ariel Nunez
- Date:
- 2011-08-21 @ 23:27
Hello Adam,
I fixed that invalid syntax error a couple of days ago but forgot to
commit, sorry about that. Please do:
sudo apt-get remove geonode
sudo rm -rf /etc/default/geonode
cd geonode-deb
git pull
debuild --no-lintian -us -uc
sudo dpkg -i ../geonode_1.1.beta+2_all.deb
You could also complete the installation by hand since it failed in
one of the last steps but the above requires less troubleshooting :)
Ariel.
Re: [geonode] Genode in Ubuntu 11.04
- From:
- Martín Rouaux
- Date:
- 2011-08-22 @ 15:59
Hi Ariel, thanks for all the responses. I have been trying to install
geonode following the steps of the current thread but I'm still have some
issues.
The error I see now is:
Traceback (most recent call last):
File "/usr/local/bin/django-admin.py", line 5, in <module>
management.execute_from_command_line()
File
"/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py",
line 429, in execute_from_command_line
utility.execute()
File
"/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py",
line 379, 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 257, in fetch_command
klass = load_command_class(app_name, subcommand)
File
"/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py",
line 67, in load_command_class
module = import_module('%s.management.commands.%s' % (app_name, name))
File "/usr/local/lib/python2.7/dist-packages/django/utils/importlib.py",
line 35, in import_module
__import__(name)
File
"/usr/local/lib/python2.7/dist-packages/django/core/management/commands/syncdb.py",
line 7, in <module>
from django.core.management.sql import custom_sql_for_model,
emit_post_sync_signal
File
"/usr/local/lib/python2.7/dist-packages/django/core/management/sql.py", line
5, in <module>
from django.contrib.contenttypes import generic
File
"/usr/local/lib/python2.7/dist-packages/django/contrib/contenttypes/generic.py",
line 6, in <module>
from django.db import connection
File "/usr/local/lib/python2.7/dist-packages/django/db/__init__.py", line
14, in <module>
if not settings.DATABASES:
File "/usr/local/lib/python2.7/dist-packages/django/utils/functional.py",
line 276, in __getattr__
self._setup()
File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py",
line 40, in _setup
self._wrapped = Settings(settings_module)
File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py",
line 75, in __init__
raise ImportError("Could not import settings '%s' (Is it on sys.path?
Does it have syntax errors?): %s" % (self.SETTINGS_MODULE, e))
ImportError: Could not import settings 'geonode.settings' (Is it on
sys.path? Does it have syntax errors?): No module named geonode.settings
Re: [geonode] Genode in Ubuntu 11.04
- From:
- Martín Rouaux
- Date:
- 2011-08-22 @ 21:38
One more thing aobut the deployment, I do not see any files in
/var/ww/geonode/static. Do I need to install the client there?
Thanks for all the help
On Mon, Aug 22, 2011 at 12:59 PM, Martín Rouaux <martinfr@gmail.com> wrote:
> Hi Ariel, thanks for all the responses. I have been trying to install
> geonode following the steps of the current thread but I'm still have some
> issues.
>
> The error I see now is:
>
>
> Traceback (most recent call last):
> File "/usr/local/bin/django-admin.py", line 5, in <module>
>
> management.execute_from_command_line()
> File
> "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py",
> line 429, in execute_from_command_line
> utility.execute()
> File
> "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py",
> line 379, 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 257, in fetch_command
> klass = load_command_class(app_name, subcommand)
> File
> "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py",
> line 67, in load_command_class
> module = import_module('%s.management.commands.%s' % (app_name, name))
> File "/usr/local/lib/python2.7/dist-packages/django/utils/importlib.py",
> line 35, in import_module
> __import__(name)
> File
>
"/usr/local/lib/python2.7/dist-packages/django/core/management/commands/syncdb.py",
> line 7, in <module>
> from django.core.management.sql import custom_sql_for_model,
> emit_post_sync_signal
> File
> "/usr/local/lib/python2.7/dist-packages/django/core/management/sql.py", line
> 5, in <module>
> from django.contrib.contenttypes import generic
> File
> "/usr/local/lib/python2.7/dist-packages/django/contrib/contenttypes/generic.py",
> line 6, in <module>
> from django.db import connection
> File "/usr/local/lib/python2.7/dist-packages/django/db/__init__.py", line
> 14, in <module>
> if not settings.DATABASES:
> File "/usr/local/lib/python2.7/dist-packages/django/utils/functional.py",
> line 276, in __getattr__
> self._setup()
> File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py",
> line 40, in _setup
>
> self._wrapped = Settings(settings_module)
> File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py",
> line 75, in __init__
> raise ImportError("Could not import settings '%s' (Is it on sys.path?
> Does it have syntax errors?): %s" % (self.SETTINGS_MODULE, e))
> ImportError: Could not import settings 'geonode.settings' (Is it on
> sys.path? Does it have syntax errors?): No module named geonode.settings
>
>
Re: [geonode] Genode in Ubuntu 11.04
- From:
- Ariel Nunez
- Date:
- 2011-08-22 @ 22:58
Martin,
The command that failed was supposed to install the static files.
What happens if you do the following:
source /var/lib/geonode/bin/activate
django-admin.py validate --settings=geonode.settings
django-admin.py collectstatic -v0 --settings=geonode.settings
django-admin.py syncdb --settings=geonode.settings
Those are the steps that seem to be missing, not sure what causes the
error you see.
Ariel.
On Mon, Aug 22, 2011 at 5:38 PM, Martín Rouaux <martinfr@gmail.com> wrote:
> One more thing aobut the deployment, I do not see any files in
> /var/ww/geonode/static. Do I need to install the client there?
>
> Thanks for all the help
>
> On Mon, Aug 22, 2011 at 12:59 PM, Martín Rouaux <martinfr@gmail.com> wrote:
>>
>> Hi Ariel, thanks for all the responses. I have been trying to install
>> geonode following the steps of the current thread but I'm still have some
>> issues.
>>
>> The error I see now is:
>>
>> Traceback (most recent call last):
>> File "/usr/local/bin/django-admin.py", line 5, in <module>
>> management.execute_from_command_line()
>> File
>> "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py",
>> line 429, in execute_from_command_line
>> utility.execute()
>> File
>> "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py",
>> line 379, 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 257, in fetch_command
>> klass = load_command_class(app_name, subcommand)
>> File
>> "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py",
>> line 67, in load_command_class
>> module = import_module('%s.management.commands.%s' % (app_name, name))
>> File "/usr/local/lib/python2.7/dist-packages/django/utils/importlib.py",
>> line 35, in import_module
>> __import__(name)
>> File
>>
"/usr/local/lib/python2.7/dist-packages/django/core/management/commands/syncdb.py",
>> line 7, in <module>
>> from django.core.management.sql import custom_sql_for_model,
>> emit_post_sync_signal
>> File
>> "/usr/local/lib/python2.7/dist-packages/django/core/management/sql.py", line
>> 5, in <module>
>> from django.contrib.contenttypes import generic
>> File
>>
"/usr/local/lib/python2.7/dist-packages/django/contrib/contenttypes/generic.py",
>> line 6, in <module>
>> from django.db import connection
>> File "/usr/local/lib/python2.7/dist-packages/django/db/__init__.py",
>> line 14, in <module>
>> if not settings.DATABASES:
>> File
>> "/usr/local/lib/python2.7/dist-packages/django/utils/functional.py", line
>> 276, in __getattr__
>> self._setup()
>> File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py",
>> line 40, in _setup
>> self._wrapped = Settings(settings_module)
>> File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py",
>> line 75, in __init__
>> raise ImportError("Could not import settings '%s' (Is it on sys.path?
>> Does it have syntax errors?): %s" % (self.SETTINGS_MODULE, e))
>> ImportError: Could not import settings 'geonode.settings' (Is it on
>> sys.path? Does it have syntax errors?): No module named geonode.settings
>>
>
>
Re: [geonode] Genode in Ubuntu 11.04
- From:
- Martín Rouaux
- Date:
- 2011-08-22 @ 23:14
I cannot run the django-admin.py for due to the same issue.
(geonode)martin@martin-vaio:~$ django-admin.py validate
--settings=geonode.settings
Error: Could not import settings 'geonode.settings' (Is it on sys.path? Does
it have syntax errors?): No module named geonode.settings
On Mon, Aug 22, 2011 at 7:58 PM, Ariel Nunez <ingenieroariel@gmail.com>wrote:
> Martin,
>
> The command that failed was supposed to install the static files.
>
> What happens if you do the following:
>
> source /var/lib/geonode/bin/activate
> django-admin.py validate --settings=geonode.settings
> django-admin.py collectstatic -v0 --settings=geonode.settings
> django-admin.py syncdb --settings=geonode.settings
>
> Those are the steps that seem to be missing, not sure what causes the
> error you see.
>
> Ariel.
>
> On Mon, Aug 22, 2011 at 5:38 PM, Martín Rouaux <martinfr@gmail.com> wrote:
> > One more thing aobut the deployment, I do not see any files in
> > /var/ww/geonode/static. Do I need to install the client there?
> >
> > Thanks for all the help
> >
> > On Mon, Aug 22, 2011 at 12:59 PM, Martín Rouaux <martinfr@gmail.com>
> wrote:
> >>
> >> Hi Ariel, thanks for all the responses. I have been trying to install
> >> geonode following the steps of the current thread but I'm still have
> some
> >> issues.
> >>
> >> The error I see now is:
> >>
> >> Traceback (most recent call last):
> >> File "/usr/local/bin/django-admin.py", line 5, in <module>
> >> management.execute_from_command_line()
> >> File
> >>
> "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py",
> >> line 429, in execute_from_command_line
> >> utility.execute()
> >> File
> >>
> "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py",
> >> line 379, 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 257, in fetch_command
> >> klass = load_command_class(app_name, subcommand)
> >> File
> >>
> "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py",
> >> line 67, in load_command_class
> >> module = import_module('%s.management.commands.%s' % (app_name,
> name))
> >> File
> "/usr/local/lib/python2.7/dist-packages/django/utils/importlib.py",
> >> line 35, in import_module
> >> __import__(name)
> >> File
> >>
>
"/usr/local/lib/python2.7/dist-packages/django/core/management/commands/syncdb.py",
> >> line 7, in <module>
> >> from django.core.management.sql import custom_sql_for_model,
> >> emit_post_sync_signal
> >> File
> >> "/usr/local/lib/python2.7/dist-packages/django/core/management/sql.py",
> line
> >> 5, in <module>
> >> from django.contrib.contenttypes import generic
> >> File
> >>
> "/usr/local/lib/python2.7/dist-packages/django/contrib/contenttypes/generic.py",
> >> line 6, in <module>
> >> from django.db import connection
> >> File "/usr/local/lib/python2.7/dist-packages/django/db/__init__.py",
> >> line 14, in <module>
> >> if not settings.DATABASES:
> >> File
> >> "/usr/local/lib/python2.7/dist-packages/django/utils/functional.py",
> line
> >> 276, in __getattr__
> >> self._setup()
> >> File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py",
> >> line 40, in _setup
> >> self._wrapped = Settings(settings_module)
> >> File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py",
> >> line 75, in __init__
> >> raise ImportError("Could not import settings '%s' (Is it on
> sys.path?
> >> Does it have syntax errors?): %s" % (self.SETTINGS_MODULE, e))
> >> ImportError: Could not import settings 'geonode.settings' (Is it on
> >> sys.path? Does it have syntax errors?): No module named geonode.settings
> >>
> >
> >
>
Re: [geonode] Genode in Ubuntu 11.04
- From:
- Martín Rouaux
- Date:
- 2011-08-22 @ 23:15
Where does geonode.setting come from?
Re: [geonode] Genode in Ubuntu 11.04
- From:
- Ariel Nunez
- Date:
- 2011-08-23 @ 00:34
Martin,
That is the first time I see that error, it might well be that the
GeoNode python package is not correctly installed.
That settings file lives in:
/var/lib/geonode/src/GeoNodePy/geonode/settings.py
With the virtualenv activated, please navigate to:
cd /var/lib/geonode/src/GeoNodePy
# and run:
python setup.py install
If that command succeeds, django-admin.py should be able to find
geonode.settings
Another test would be to open a python shell with the
virtualenvironment activated and doing:
import geonode
from geonode import settings
To see if there is any import error like the one Adam had problem with.
Ariel
On Mon, Aug 22, 2011 at 7:15 PM, Martín Rouaux <martinfr@gmail.com> wrote:
> Where does geonode.setting come from?
>
Re: [geonode] Genode in Ubuntu 11.04
- From:
- Martín Rouaux
- Date:
- 2011-08-23 @ 01:04
While running the setup command I got the following error:
Processing dependencies for GeoNodePy==1.0.1
Searching for OWSLib>0.3.1
Reading http://pypi.python.org/simple/OWSLib/
Reading https://sourceforge.net/apps/trac/owslib/
Reading http://trac.gispython.org/projects/PCL/wiki/OwsLib
No local packages or download links found for OWSLib>0.3.1
error: Could not find suitable distribution for
Requirement.parse('OWSLib>0.3.1')
However, I tryed the import from python console after running that and seems
to work fine.
Once again, thanks for your help!
Re: [geonode] Genode in Ubuntu 11.04
- From:
- Martín Rouaux
- Date:
- 2011-08-23 @ 13:33
Actually, trying to install the package again I got the error:
Site default disabled.
Run '/etc/init.d/apache2 reload' to activate new configuration!
Considering dependency proxy for proxy_http:
Module proxy already enabled
Module proxy_http already enabled
* Restarting web server
apache2
apache2: Could not reliably determine the server's fully qualified domain
name, using 127.0.1.1 for ServerName
... waiting apache2: Could not reliably determine the server's fully
qualified domain name, using 127.0.1.1 for ServerName
[ OK ]
Traceback (most recent call last):
File "/usr/local/bin/django-admin.py", line 5, in <module>
management.execute_from_command_line()
File
"/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py",
line 429, in execute_from_command_line
utility.execute()
File
"/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py",
line 379, 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 257, in fetch_command
klass = load_command_class(app_name, subcommand)
File
"/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py",
line 67, in load_command_class
module = import_module('%s.management.commands.%s' % (app_name, name))
File "/usr/local/lib/python2.7/dist-packages/django/utils/importlib.py",
line 35, in import_module
__import__(name)
File
"/usr/local/lib/python2.7/dist-packages/django/core/management/commands/syncdb.py",
line 7, in <module>
from django.core.management.sql import custom_sql_for_model,
emit_post_sync_signal
File
"/usr/local/lib/python2.7/dist-packages/django/core/management/sql.py", line
5, in <module>
from django.contrib.contenttypes import generic
File
"/usr/local/lib/python2.7/dist-packages/django/contrib/contenttypes/generic.py",
line 6, in <module>
from django.db import connection
File "/usr/local/lib/python2.7/dist-packages/django/db/__init__.py", line
14, in <module>
if not settings.DATABASES:
File "/usr/local/lib/python2.7/dist-packages/django/utils/functional.py",
line 276, in __getattr__
self._setup()
File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py",
line 40, in _setup
self._wrapped = Settings(settings_module)
File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py",
line 73, in __init__
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/usr/local/lib/python2.7/dist-packages/django/utils/importlib.py",
line 35, in import_module
__import__(name)
File
"/usr/local/lib/python2.7/dist-packages/GeoNodePy-1.0.1-py2.7.egg/geonode/settings.py",
line 147, in <module>
GEOSERVER_TOKEN = open(os.path.join(PROJECT_ROOT,"..","..",
"..","geoserver_token")).readline()[0:-1]
IOError: [Errno 2] No such file or directory:
'/usr/local/lib/python2.7/dist-packages/GeoNodePy-1.0.1-py2.7.egg/geonode/../../../geoserver_token'
Sorry for all the questions
Re: [geonode] Genode in Ubuntu 11.04
- From:
- Ariel Nunez
- Date:
- 2011-08-23 @ 15:19
Martin,
There is something very strange happening in your installation. For
instance GeoNode is not being installed in the virtualenv but
installed in /usr/local/lib
Not sure how that happened, certainly it is not expected behavior. I
am working today on updating the packages and will publish a .deb
after testing it. Perhaps with that one you will have better luck.
Expect a message from me later today,
Ariel.
On Tue, Aug 23, 2011 at 9:33 AM, Martín Rouaux <martinfr@gmail.com> wrote:
> Actually, trying to install the package again I got the error:
>
> Site default disabled.
> Run '/etc/init.d/apache2 reload' to activate new configuration!
> Considering dependency proxy for proxy_http:
> Module proxy already enabled
> Module proxy_http already enabled
> * Restarting web server
> apache2
> apache2: Could not reliably determine the server's fully qualified domain
> name, using 127.0.1.1 for ServerName
> ... waiting apache2: Could not reliably determine the server's fully
> qualified domain name, using 127.0.1.1 for ServerName
>
> [ OK ]
> Traceback (most recent call last):
> File "/usr/local/bin/django-admin.py", line 5, in <module>
> management.execute_from_command_line()
> File
> "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py",
> line 429, in execute_from_command_line
> utility.execute()
> File
> "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py",
> line 379, 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 257, in fetch_command
> klass = load_command_class(app_name, subcommand)
> File
> "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py",
> line 67, in load_command_class
> module = import_module('%s.management.commands.%s' % (app_name, name))
> File "/usr/local/lib/python2.7/dist-packages/django/utils/importlib.py",
> line 35, in import_module
> __import__(name)
> File
>
"/usr/local/lib/python2.7/dist-packages/django/core/management/commands/syncdb.py",
> line 7, in <module>
> from django.core.management.sql import custom_sql_for_model,
> emit_post_sync_signal
> File
> "/usr/local/lib/python2.7/dist-packages/django/core/management/sql.py", line
> 5, in <module>
> from django.contrib.contenttypes import generic
> File
> "/usr/local/lib/python2.7/dist-packages/django/contrib/contenttypes/generic.py",
> line 6, in <module>
> from django.db import connection
> File "/usr/local/lib/python2.7/dist-packages/django/db/__init__.py", line
> 14, in <module>
> if not settings.DATABASES:
> File "/usr/local/lib/python2.7/dist-packages/django/utils/functional.py",
> line 276, in __getattr__
> self._setup()
> File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py",
> line 40, in _setup
> self._wrapped = Settings(settings_module)
> File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py",
> line 73, in __init__
> mod = importlib.import_module(self.SETTINGS_MODULE)
> File "/usr/local/lib/python2.7/dist-packages/django/utils/importlib.py",
> line 35, in import_module
> __import__(name)
> File
>
"/usr/local/lib/python2.7/dist-packages/GeoNodePy-1.0.1-py2.7.egg/geonode/settings.py",
> line 147, in <module>
> GEOSERVER_TOKEN = open(os.path.join(PROJECT_ROOT,"..","..",
> "..","geoserver_token")).readline()[0:-1]
> IOError: [Errno 2] No such file or directory:
>
'/usr/local/lib/python2.7/dist-packages/GeoNodePy-1.0.1-py2.7.egg/geonode/../../../geoserver_token'
>
>
> Sorry for all the questions
>
Re: [geonode] Genode in Ubuntu 11.04
- From:
- Martín Rouaux
- Date:
- 2011-09-01 @ 13:06
Hi Ariel,
Have you published a new deb that I should test? Let me know anything you
need from me to solve this issue.
Best,
Martin
Re: [geonode] Genode in Ubuntu 11.04
- From:
- Ariel Nunez
- Date:
- 2011-09-01 @ 13:14
Martin,
You can try the latest (unofficial) one by doing:
# uninstall what you have:
sudo apt-get remove geonode
sudo apt-get remove python-virtualenv python-pip
sudo apt-get purge tomcat6
# Install the new package:
sudo add-apt-repo pap:ingenieroariel/ppa
sudo apt-get update
sudo apt-get install geonode
I believe this should give you a working GeoNode, the previous error
was related to python-pip not being compatible.
Ariel.
On Thu, Sep 1, 2011 at 9:06 AM, Martín Rouaux <martinfr@gmail.com> wrote:
> Hi Ariel,
> Have you published a new deb that I should test? Let me know anything you
> need from me to solve this issue.
>
> Best,
> Martin
>
Re: [geonode] Genode in Ubuntu 11.04
- From:
- Martín Rouaux
- Date:
- 2011-09-02 @ 00:01
It didn't work due to the following error Error: 'pap:ingenieroariel/ppa'
invalid
On Thu, Sep 1, 2011 at 10:14 AM, Ariel Nunez <ingenieroariel@gmail.com>wrote:
> Martin,
>
> You can try the latest (unofficial) one by doing:
> # uninstall what you have:
> sudo apt-get remove geonode
> sudo apt-get remove python-virtualenv python-pip
> sudo apt-get purge tomcat6
>
> # Install the new package:
> sudo add-apt-repo pap:ingenieroariel/ppa
> sudo apt-get update
> sudo apt-get install geonode
>
>
> I believe this should give you a working GeoNode, the previous error
> was related to python-pip not being compatible.
>
> Ariel.
>
> On Thu, Sep 1, 2011 at 9:06 AM, Martín Rouaux <martinfr@gmail.com> wrote:
> > Hi Ariel,
> > Have you published a new deb that I should test? Let me know anything
> you
> > need from me to solve this issue.
> >
> > Best,
> > Martin
> >
>
Re: [geonode] Genode in Ubuntu 11.04
- From:
- Ariel Nunez
- Date:
- 2011-09-02 @ 00:14
Sorry :'(
It's ppa,(Personal Package Archive) Gmail in Safari keeps changing what I write!
ppa:ingenieroariel/ppa
https://launchpad.net/~ingenieroariel/+archive/ppa
Ariel.
On Thu, Sep 1, 2011 at 8:01 PM, Martín Rouaux <martinfr@gmail.com> wrote:
> It didn't work due to the following error Error: 'pap:ingenieroariel/ppa'
> invalid
>
>
> On Thu, Sep 1, 2011 at 10:14 AM, Ariel Nunez <ingenieroariel@gmail.com>
> wrote:
>>
>> Martin,
>>
>> You can try the latest (unofficial) one by doing:
>> # uninstall what you have:
>> sudo apt-get remove geonode
>> sudo apt-get remove python-virtualenv python-pip
>> sudo apt-get purge tomcat6
>>
>> # Install the new package:
>> sudo add-apt-repo pap:ingenieroariel/ppa
>> sudo apt-get update
>> sudo apt-get install geonode
>>
>>
>> I believe this should give you a working GeoNode, the previous error
>> was related to python-pip not being compatible.
>>
>> Ariel.
>>
>> On Thu, Sep 1, 2011 at 9:06 AM, Martín Rouaux <martinfr@gmail.com> wrote:
>> > Hi Ariel,
>> > Have you published a new deb that I should test? Let me know anything
>> > you
>> > need from me to solve this issue.
>> >
>> > Best,
>> > Martin
>> >
>
>
Re: [geonode] Genode in Ubuntu 11.04
- From:
- Martín Rouaux
- Date:
- 2011-09-02 @ 11:59
My fault, I should have noticed that. Anyway, I still see the same issue
regarding geonode.settings. I will setup a virtualbox with a debian or
ubuntu 10.04 to run geonode. I will let you know the results.
Thanks for your help and for being so patient.
Re: [geonode] Genode in Ubuntu 11.04
- From:
- Adam Mar
- Date:
- 2011-08-21 @ 15:02
Hi
Ariel,
I
tried the following two commands
sudo
apt-get purge tomcat6 tomcat6-common tomcat6-admin
sudo
apt-get install tomcat6 tomcat6-admin
After
that, I checked the link (http://localhost:8080) where I got “it
works ...” message. Then, when I run sudo dpkg -i
geonode_1.1.beta+2_all.deb I got the same error (invoke-rc.d:
initscript tomcat6, action "start" failed).
The
catalina.out (/var/log/tomcat6/catalina.out) show the following
message:
---------------------------------------------
Aug
21, 2011 2:15:51 PM org.apache.catalina.loader.WebappClassLoader
clearReferencesJdbc
SEVERE:
The web application [/geoserver-geonode-dev] registered the JBDC
driver [org.hsqldb.jdbcDriver] but failed to unregister it when the
web application was stopped. To prevent a memory leak, the JDBC
Driver has been forcibly unregistered.
Aug
21, 2011 2:15:59 PM org.apache.coyote.http11.Http11Protocol destroy
INFO:
Stopping Coyote HTTP/1.1 on http-8080
Error
occurred during initialization of VM
Could
not reserve enough space for object heap
-----------------------------------------------
Is
it a /etc/default/tomcat6 problem ? I have the following parameters for
java_option in tomcat6:
JAVA_OPTS="-Djava.awt.headless=true
-Xmx1024m -Xms1024M -XX:MaxPermSize=256m
-XX:CompileCommand=exclude,net/sf/saxon/event/ReceivingContentHandler.startElement"
By
the way, my Ubuntu 11 was installed on Windows Vista 64 bit (core i5,
4 Go), through an Oracle VM VirtualMachine . The RAM allocated for
Ubuntu is 512 Mo... Are these parameters enough?
Adam
Many thanks
> Date: Sun, 21 Aug 2011 09:42:06 +0000
> From: ingenieroariel@gmail.com
> Subject: Re: [geonode] Genode in Ubuntu 11.04
> To: geonode@librelist.com
>
> This is telling you that tomcat failed to start (something that seems
> very suspicious to me) first thing would be to check the tomcat logs
> for the actual cause of the problem:
>
> Option 1:
> /var/log/tomcat6/catalina.out (or one of the older files if you do
> this the next day).
>
> One other thing to reduce noise is to get rid of the logs and restart
> tomcat6 manually:
> sudo rm -rf /var/log/tomcat/*
> sudo /etc/init.d/tomcat6 restart
>
> You should see it failing again and will be less text to parse.
>
> Option 2:
> If you can't figure it out, there is always the option of doing;
> sudo apt-get remove geonode
> sudo apt-get remove tomcat6
> sudo apt-get purge tomcat6
> sudo apt-get install tomcat6
> sudo dpkg -i geonode_1.1.beta+2_all.deb
>
> Feel free to keep asking questions, we are here to help.
>
> Ariel.
>
> On Sat, Aug 20, 2011 at 5:30 PM, Adam Mar <hic030@hotmail.com> wrote:
> > invoke-rc.d: initscript tomcat6, action "start" failed.
Re: [geonode] Genode in Ubuntu 11.04
- From:
- Ariel Nunez
- Date:
- 2011-08-21 @ 15:21
I see, the recommended memory for a GeoNode server is 4GB of ram, the
default parameters are set based on that machine. 512Mb is surely too
little to run GeoNode on it.
Ariel
On Sun, Aug 21, 2011 at 3:02 PM, Adam Mar <hic030@hotmail.com> wrote:
> Could not reserve enough space for object heap
Re: [geonode] Genode in Ubuntu 11.04
- From:
- Adam Mar
- Date:
- 2011-08-20 @ 17:30
Thank you very much Ariel,
The last command (sudo apt-get install
-f) is running correctly but in the end it gives the following
message:
-----------------
.
.
.
CREATE ROLE
* Stopping Tomcat servlet engine
tomcat6
[ OK ]
patching file
/var/lib/tomcat6/webapps/geoserver-geonode-dev/WEB-INF/web.xml
patching file
/var/lib/tomcat6/webapps/geonetwork/WEB-INF/config.xml
* Starting Tomcat servlet engine
tomcat6
[fail]
invoke-rc.d: initscript tomcat6, action
"start" failed.
dpkg: error processing geonode
(--configure):
subprocess installed post-installation
script returned error exit status 1
Processing triggers for libc-bin ...
ldconfig deferred processing now taking
place
Processing triggers for python-support
...
Errors were encountered while
processing:
geonode
E: Sub-process /usr/bin/dpkg returned
an error code (1)
----------------------------
I explored and started to work with
ubuntu just last week, specially for installing geonode, many thanks
for your help and your understanding.
Adam
> Date: Sat, 20 Aug 2011 17:00:08 +0000
> From: ingenieroariel@gmail.com
> Subject: Re: [geonode] Genode in Ubuntu 11.04
> To: geonode@librelist.com
>
> Adam, if you are to the point where you see the 'It works' it means
> you have not yet installed GeoNode.
>
> You have to do both commands, even if the first one appears to have failed:
> sudo dpkg -i ../geonode_1.1.beta+2_all.deb
> sudo apt-get install -f
>
> The first command will mark GeoNode for installation if all the
> dependencies are not already installed. However if they are installed
> and for some reason the geonode package was not installed right after
> that you have to do again:
>
> sudo dpkg -i ../geonode_1.1.beta+2_all.deb
>
> And this time you should not see any errors, but the program exiting
> successfully after having installed GeoNode. If it helps I will try to
> do a series of screenshots with a fresh system. Another option is just
> t
>
> Ariel.
>
> On Sat, Aug 20, 2011 at 11:26 AM, Adam Mar <hic030@hotmail.com> wrote:
> > Hi Ariel,
> >
> > Perfect, I restart the setup in another laptop and I got the default web
> > page for the server (it works). When I look at the content of the suggested
> > folders, I don't found the flowing ones:
> >
> > /etc/default/geonode
> > /etc/apache2/sit
> > /var/lib/geonode
> > /var/www/geonode
> >
> > Should I run the 8 command ( sudo dpkg -i ../geonode_1.1.beta+2_all.deb) a
> > second time ?
> >
> > Thank you
> >
> > Adam
> >
> >
> >> Date: Sat, 20 Aug 2011 09:54:07 +0900
> >> From: ingenieroariel@gmail.com
> >> Subject: Re: [geonode] Genode in Ubuntu 11.04
> >> To: geonode@librelist.com
> >>
> >> Adam,
> >>
> >> I would suggest going to http://localhost (or chosen domain, ip
> >> address) and trying to upload a shapefile or geotiff.
> >>
> >> Looking at the contents of:
> >> /etc/default/geonode
> >> /etc/default/tomcat6
> >> /etc/apache2/sit
> >> /var/lib/geonode
> >> /var/lib/tomcat6/webapps
> >> /var/www/geonode
> >>
> >> And making sure
> >>
> >>
> >> Ariel
> >>
> >> On Sat, Aug 20, 2011 at 9:06 AM, Adam Mar <hic030@hotmail.com> wrote:
> >> > Hi Ariel,
> >> > Please, do you have any command to run or a suggestion to do in order to
> >> > test that all done correctly ?
> >> > many thanks
> >> >
> >> > Adam
> >> >
> >> >> Date: Sat, 20 Aug 2011 08:55:26 + 0900
> >> >> From: ingenieroariel@gmail.com
> >> >> Subject: Re: [geonode] Genode in Ubuntu 11.04
> >> >> To: geonode@librelist.com
> >> >>
> >> >> That said, in order to continue your installation you can do the
> >> >> following:
> >> >>
> >> >> cd /var/www/geonode/wsgi/geonode
> >> >> source bin/activate
> >> >> pip install -U Django==1.2
> >> >>
> >> >> Ariel
> >> >>
> >> >> On Sat, Aug 20, 2011 at 8:51 AM, Ariel Nunez <ingenieroariel@gmail.com>
> >> >> wrote:
> >> >> > Martin,
> >> >> >
> >> >> > New ubuntu packages will be produced before mid september with what
> >> >> > will hopefully become 1.1.
> >> >> >
> >> >> > In the meantime, it is very easy to create Ubuntu packages yourself
> >> >> > based on the latest beta release ( I have tested it wi th Ubuntu
> >> >> > 11.04):
> >> >> >
> >> >> > sudo apt-get update
> >> >> > sudo apt-get install -y git-core debhelper devscripts
> >> >> > git clone git://github.com/GFDRR/geonode-deb.git
> >> >> > cd geonode-deb
> >> >> > wget http://dev.geonode.org/release/GeoNode-1.1-beta2.tar.gz
> >> >> > tar zxvf GeoNode-1.1-beta2.tar.gz
> >> >> > debuild --no-lintian -us -uc
> >> >> > # the next command will give you an error because of missing
> >> >> > dependencies, do not worry and carry on with the last step)
> >> >> > sudo dpkg -i ../geonode_1.1.beta+2_all.deb
> >> >> > sudo apt-get install -f
> >> >> >
> >> >> >
> >> >> > Ariel.
> >> >> >
> >> >
> >
Re: [geonode] Genode in Ubuntu 11.04
- From:
- Ariel Nunez
- Date:
- 2011-08-21 @ 09:42
This is telling you that tomcat failed to start (something that seems
very suspicious to me) first thing would be to check the tomcat logs
for the actual cause of the problem:
Option 1:
/var/log/tomcat6/catalina.out (or one of the older files if you do
this the next day).
One other thing to reduce noise is to get rid of the logs and restart
tomcat6 manually:
sudo rm -rf /var/log/tomcat/*
sudo /etc/init.d/tomcat6 restart
You should see it failing again and will be less text to parse.
Option 2:
If you can't figure it out, there is always the option of doing;
sudo apt-get remove geonode
sudo apt-get remove tomcat6
sudo apt-get purge tomcat6
sudo apt-get install tomcat6
sudo dpkg -i geonode_1.1.beta+2_all.deb
Feel free to keep asking questions, we are here to help.
Ariel.
On Sat, Aug 20, 2011 at 5:30 PM, Adam Mar <hic030@hotmail.com> wrote:
> invoke-rc.d: initscript tomcat6, action "start" failed.
Re: [geonode] Genode in Ubuntu 11.04
- From:
- Adam Mar
- Date:
- 2011-08-20 @ 02:26
Hi Ariel,
Perfect, I restart the setup in another
laptop and I got the default web page for the server (it works). When
I look at the content of the suggested folders, I don't found the
flowing ones:
/etc/default/geonode
/etc/apache2/sit
/var/lib/geonode
/var/www/geonode
Should I run the 8 command ( sudo dpkg
-i ../geonode_1.1.beta+2_all.deb) a second time ?
Thank you
Adam
> Date: Sat, 20 Aug 2011 09:54:07 +0900
> From: ingenieroariel@gmail.com
> Subject: Re: [geonode] Genode in Ubuntu 11.04
> To: geonode@librelist.com
>
> Adam,
>
> I would suggest going to http://localhost (or chosen domain, ip
> address) and trying to upload a shapefile or geotiff.
>
> Looking at the contents of:
> /etc/default/geonode
> /etc/default/tomcat6
> /etc/apache2/sit
> /var/lib/geonode
> /var/lib/tomcat6/webapps
> /var/www/geonode
>
> And making sure
>
>
> Ariel
>
> On Sat, Aug 20, 2011 at 9:06 AM, Adam Mar <hic030@hotmail.com> wrote:
> > Hi Ariel,
> > Please, do you have any command to run or a suggestion to do in order to
> > test that all done correctly ?
> > many thanks
> >
> > Adam
> >
> >> Date: Sat, 20 Aug 2011 08:55:26 +0900
> >> From: ingenieroariel@gmail.com
> >> Subject: Re: [geonode] Genode in Ubuntu 11.04
> >> To: geonode@librelist.com
> >>
> >> That said, in order to continue your installation you can do the
> >> following:
> >>
> >> cd /var/www/geonode/wsgi/geonode
> >> source bin/activate
> >> pip install -U Django==1.2
> >>
> >> Ariel
> >>
> >> On Sat, Aug 20, 2011 at 8:51 AM, Ariel Nunez <ingenieroariel@gmail.com>
> >> wrote:
> >> > Martin,
> >> >
> >> > New ubuntu packages will be produced before mid september with what
> >> > will hopefully become 1.1.
> >> >
> >> > In the meantime, it is very easy to create Ubuntu packages yourself
> >> > based on the latest beta release ( I have tested it with Ubuntu
> >> > 11.04):
> >> >
> >> > sudo apt-get update
> >> > sudo apt-get install -y git-core debhelper devscripts
> >> > git clone git://github.com/GFDRR/geonode-deb.git
> >> > cd geonode-deb
> >> > wget http://dev.geonode.org/release/GeoNode-1.1-beta2.tar.gz
> >> > tar zxvf GeoNode-1.1-beta2.tar.gz
> >> > debuild --no-lintian -us -uc
> >> > # the next command will give you an error because of missing
> >> > dependencies, do not worry and carry on with the last step)
> >> > sudo dpkg -i ../geonode_1.1.beta+2_all.deb
> >> > sudo apt-get install -f
> >> >
> >> >
> >> > Ariel.
> >> >
> >
Re: [geonode] Genode in Ubuntu 11.04
- From:
- Ariel Nunez
- Date:
- 2011-08-20 @ 17:00
Adam, if you are to the point where you see the 'It works' it means
you have not yet installed GeoNode.
You have to do both commands, even if the first one appears to have failed:
sudo dpkg -i ../geonode_1.1.beta+2_all.deb
sudo apt-get install -f
The first command will mark GeoNode for installation if all the
dependencies are not already installed. However if they are installed
and for some reason the geonode package was not installed right after
that you have to do again:
sudo dpkg -i ../geonode_1.1.beta+2_all.deb
And this time you should not see any errors, but the program exiting
successfully after having installed GeoNode. If it helps I will try to
do a series of screenshots with a fresh system. Another option is just
t
Ariel.
On Sat, Aug 20, 2011 at 11:26 AM, Adam Mar <hic030@hotmail.com> wrote:
> Hi Ariel,
>
> Perfect, I restart the setup in another laptop and I got the default web
> page for the server (it works). When I look at the content of the suggested
> folders, I don't found the flowing ones:
>
> /etc/default/geonode
> /etc/apache2/sit
> /var/lib/geonode
> /var/www/geonode
>
> Should I run the 8 command ( sudo dpkg -i ../geonode_1.1.beta+2_all.deb) a
> second time ?
>
> Thank you
>
> Adam
>
>
>> Date: Sat, 20 Aug 2011 09:54:07 +0900
>> From: ingenieroariel@gmail.com
>> Subject: Re: [geonode] Genode in Ubuntu 11.04
>> To: geonode@librelist.com
>>
>> Adam,
>>
>> I would suggest going to http://localhost (or chosen domain, ip
>> address) and trying to upload a shapefile or geotiff.
>>
>> Looking at the contents of:
>> /etc/default/geonode
>> /etc/default/tomcat6
>> /etc/apache2/sit
>> /var/lib/geonode
>> /var/lib/tomcat6/webapps
>> /var/www/geonode
>>
>> And making sure
>>
>>
>> Ariel
>>
>> On Sat, Aug 20, 2011 at 9:06 AM, Adam Mar <hic030@hotmail.com> wrote:
>> > Hi Ariel,
>> > Please, do you have any command to run or a suggestion to do in order to
>> > test that all done correctly ?
>> > many thanks
>> >
>> > Adam
>> >
>> >> Date: Sat, 20 Aug 2011 08:55:26 + 0900
>> >> From: ingenieroariel@gmail.com
>> >> Subject: Re: [geonode] Genode in Ubuntu 11.04
>> >> To: geonode@librelist.com
>> >>
>> >> That said, in order to continue your installation you can do the
>> >> following:
>> >>
>> >> cd /var/www/geonode/wsgi/geonode
>> >> source bin/activate
>> >> pip install -U Django==1.2
>> >>
>> >> Ariel
>> >>
>> >> On Sat, Aug 20, 2011 at 8:51 AM, Ariel Nunez <ingenieroariel@gmail.com>
>> >> wrote:
>> >> > Martin,
>> >> >
>> >> > New ubuntu packages will be produced before mid september with what
>> >> > will hopefully become 1.1.
>> >> >
>> >> > In the meantime, it is very easy to create Ubuntu packages yourself
>> >> > based on the latest beta release ( I have tested it wi th Ubuntu
>> >> > 11.04):
>> >> >
>> >> > sudo apt-get update
>> >> > sudo apt-get install -y git-core debhelper devscripts
>> >> > git clone git://github.com/GFDRR/geonode-deb.git
>> >> > cd geonode-deb
>> >> > wget http://dev.geonode.org/release/GeoNode-1.1-beta2.tar.gz
>> >> > tar zxvf GeoNode-1.1-beta2.tar.gz
>> >> > debuild --no-lintian -us -uc
>> >> > # the next command will give you an error because of missing
>> >> > dependencies, do not worry and carry on with the last step)
>> >> > sudo dpkg -i ../geonode_1.1.beta+2_all.deb
>> >> > sudo apt-get install -f
>> >> >
>> >> >
>> >> > Ariel.
>> >> >
>> >
>
Re: [geonode] Genode in Ubuntu 11.04
- From:
- Adam Mar
- Date:
- 2011-08-20 @ 00:06
Hi Ariel,
Please, do you have any command to run or a suggestion to do in order to
test that all done correctly ?
many thanks
Adam
> Date: Sat, 20 Aug 2011 08:55:26 +0900
> From: ingenieroariel@gmail.com
> Subject: Re: [geonode] Genode in Ubuntu 11.04
> To: geonode@librelist.com
>
> That said, in order to continue your installation you can do the following:
>
> cd /var/www/geonode/wsgi/geonode
> source bin/activate
> pip install -U Django==1.2
>
> Ariel
>
> On Sat, Aug 20, 2011 at 8:51 AM, Ariel Nunez <ingenieroariel@gmail.com> wrote:
> > Martin,
> >
> > New ubuntu packages will be produced before mid september with what
> > will hopefully become 1.1.
> >
> > In the meantime, it is very easy to create Ubuntu packages yourself
> > based on the latest beta release ( I have tested it with Ubuntu
> > 11.04):
> >
> > sudo apt-get update
> > sudo apt-get install -y git-core debhelper devscripts
> > git clone git://github.com/GFDRR/geonode-deb.git
> > cd geonode-deb
> > wget http://dev.geonode.org/release/GeoNode-1.1-beta2.tar.gz
> > tar zxvf GeoNode-1.1-beta2.tar.gz
> > debuild --no-lintian -us -uc
> > # the next command will give you an error because of missing
> > dependencies, do not worry and carry on with the last step)
> > sudo dpkg -i ../geonode_1.1.beta+2_all.deb
> > sudo apt-get install -f
> >
> >
> > Ariel.
> >
Re: [geonode] Genode in Ubuntu 11.04
- From:
- Ariel Nunez
- Date:
- 2011-08-20 @ 00:54
Adam,
I would suggest going to http://localhost (or chosen domain, ip
address) and trying to upload a shapefile or geotiff.
Looking at the contents of:
/etc/default/geonode
/etc/default/tomcat6
/etc/apache2/sit
/var/lib/geonode
/var/lib/tomcat6/webapps
/var/www/geonode
And making sure
Ariel
On Sat, Aug 20, 2011 at 9:06 AM, Adam Mar <hic030@hotmail.com> wrote:
> Hi Ariel,
> Please, do you have any command to run or a suggestion to do in order to
> test that all done correctly ?
> many thanks
>
> Adam
>
>> Date: Sat, 20 Aug 2011 08:55:26 +0900
>> From: ingenieroariel@gmail.com
>> Subject: Re: [geonode] Genode in Ubuntu 11.04
>> To: geonode@librelist.com
>>
>> That said, in order to continue your installation you can do the
>> following:
>>
>> cd /var/www/geonode/wsgi/geonode
>> source bin/activate
>> pip install -U Django==1.2
>>
>> Ariel
>>
>> On Sat, Aug 20, 2011 at 8:51 AM, Ariel Nunez <ingenieroariel@gmail.com>
>> wrote:
>> > Martin,
>> >
>> > New ubuntu packages will be produced before mid september with what
>> > will hopefully become 1.1.
>> >
>> > In the meantime, it is very easy to create Ubuntu packages yourself
>> > based on the latest beta release ( I have tested it with Ubuntu
>> > 11.04):
>> >
>> > sudo apt-get update
>> > sudo apt-get install -y git-core debhelper devscripts
>> > git clone git://github.com/GFDRR/geonode-deb.git
>> > cd geonode-deb
>> > wget http://dev.geonode.org/release/GeoNode-1.1-beta2.tar.gz
>> > tar zxvf GeoNode-1.1-beta2.tar.gz
>> > debuild --no-lintian -us -uc
>> > # the next command will give you an error because of missing
>> > dependencies, do not worry and carry on with the last step)
>> > sudo dpkg -i ../geonode_1.1.beta+2_all.deb
>> > sudo apt-get install -f
>> >
>> >
>> > Ariel.
>> >
>
Re: [geonode] Genode in Ubuntu 11.04
- From:
- Ariel Nunez
- Date:
- 2011-08-19 @ 23:55
That said, in order to continue your installation you can do the following:
cd /var/www/geonode/wsgi/geonode
source bin/activate
pip install -U Django==1.2
Ariel
On Sat, Aug 20, 2011 at 8:51 AM, Ariel Nunez <ingenieroariel@gmail.com> wrote:
> Martin,
>
> New ubuntu packages will be produced before mid september with what
> will hopefully become 1.1.
>
> In the meantime, it is very easy to create Ubuntu packages yourself
> based on the latest beta release ( I have tested it with Ubuntu
> 11.04):
>
> sudo apt-get update
> sudo apt-get install -y git-core debhelper devscripts
> git clone git://github.com/GFDRR/geonode-deb.git
> cd geonode-deb
> wget http://dev.geonode.org/release/GeoNode-1.1-beta2.tar.gz
> tar zxvf GeoNode-1.1-beta2.tar.gz
> debuild --no-lintian -us -uc
> # the next command will give you an error because of missing
> dependencies, do not worry and carry on with the last step)
> sudo dpkg -i ../geonode_1.1.beta+2_all.deb
> sudo apt-get install -f
>
>
> Ariel.
>