Hi Thomas,

I suggest you stay away from 1.1RC1 (it is almost 6 months younger than 1.1
final and has a lot more issues).

That test command is normally used during development mode, and I had not
even realized it was available in the ubuntu production packages. It will
not give you any good indicators about the setup (but now that I think
about it, a good improvement for geonode would be to make it check your
configuration).

The best test you can use to see if a geonode installation is working is to
upload a file through the web ui and see if it renders correctly.

Best,
Ariel.
PS: I am copying the list, other people are also reporting trouble posting
to it. Hopefully we will switch soon to another mailing list provider but
in the meantime, my recommendation is to put [email protected] in the
'to' field and other people in the 'cc' field. When you 'cc' the list, the
email does not always come through.

On Sat, Feb 25, 2012 at 11:43 AM, [email protected] <[email protected]> wrote:

>  Hi Ariel, i'm writing you again because I don't understand if the
> geonode's list works or not...
>
> We did 2 kind of installation:
>
> 1. GEONODE 1.1 on Ubuntu 10.04
>
> We install a virtual machine with ubuntu server (10.04) and install
> geonode (1.1) as you describe in quick install.
>
> After the installation:
> - create the superuser
> - modify the SITE_URL (SITEURL='http://webgis.sustcult.org/')
> - restart the apache2
> - modify the Proxy Base Url in Geoserver configuration (
> http://webgis.sustcult.org/geoserver)
>
> Then we try to execute: geonode test and geonode testserver and we got
> some error
>
> -------------------------------------
> GEONODE TEST
> -------------------------------------
>
> geoadmin@ubuntu:~$ geonode test
> nosetests --verbosity 1 --verbosity=2 --cover-erase --nocapture
> --with-coverage --cover-package=geonode --cover-inclusive --cover-tests
> --detailed-errors --with-xunit
> Creating test database 'default'...
> 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.6/site-packages/django/core/management/__init__.py",
> line 429, in execute_from_command_line
>     utility.execute()
>   File
> "/var/lib/geonode/lib/python2.6/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.6/site-packages/django/core/management/base.py",
> line 191, in run_from_argv
>     self.execute(*args, **options.__dict__)
>   File
> "/var/lib/geonode/lib/python2.6/site-packages/django/core/management/base.py",
> line 218, in execute
>     output = self.handle(*args, **options)
>   File
> "/var/lib/geonode/lib/python2.6/site-packages/django/core/management/commands/test.py",
> line 37, in handle
>     failures = test_runner.run_tests(test_labels)
>   File
> "/var/lib/geonode/lib/python2.6/site-packages/django_nose/runner.py", line
> 85, in run_tests
>     result = self.run_suite(nose_argv)
>   File
> "/var/lib/geonode/lib/python2.6/site-packages/django_nose/runner.py", line
> 49, in run_suite
>     addplugins=plugins_to_add)
>   File "/var/lib/geonode/lib/python2.6/site-packages/nose/core.py", line
> 118, in __init__
>     **extra_args)
>   File "/usr/lib/python2.6/unittest.py", line 816, in __init__
>     self.parseArgs(argv)
>   File "/var/lib/geonode/lib/python2.6/site-packages/nose/core.py", line
> 135, in parseArgs
>     self.config.configure(argv, doc=self.usage())
>   File "/var/lib/geonode/lib/python2.6/site-packages/nose/config.py", line
> 339, in configure
>     self.plugins.begin()
>   File
> "/var/lib/geonode/lib/python2.6/site-packages/nose/plugins/manager.py",
> line 94, in __call__
>     return self.call(*arg, **kw)
>   File
> "/var/lib/geonode/lib/python2.6/site-packages/nose/plugins/manager.py",
> line 162, in simple
>     result = meth(*arg, **kw)
>   File
> "/var/lib/geonode/lib/python2.6/site-packages/django_nose/plugin.py", line
> 39, in begin
>     self.old_names = self.runner.setup_databases()
>   File
> "/var/lib/geonode/lib/python2.6/site-packages/django/test/simple.py", line
> 270, in setup_databases
>     connection.creation.create_test_db(self.verbosity, autoclobber=not
> self.interactive)
>   File
> "/var/lib/geonode/lib/python2.6/site-packages/django/db/backends/creation.py",
> line 346, in create_test_db
>     test_database_name = self._create_test_db(verbosity, autoclobber)
>   File
> "/var/lib/geonode/lib/python2.6/site-packages/django/db/backends/creation.py",
> line 381, in _create_test_db
>     self.set_autocommit()
>   File
> "/var/lib/geonode/lib/python2.6/site-packages/django/db/backends/creation.py",
> line 448, in set_autocommit
>     self.connection.connection.autocommit = True
> psycopg2.ProgrammingError: autocommit cannot be used inside a transaction
>
>
> -------------------------------------
> END GEONODE TEST
> -------------------------------------
>
>
>
>
> In this case if we try to delete data from the geonode Profile, Geonode
> delete the layer from Geoserver but not from the postgres server and also
> not from the django tables
> So we need to:
> - use "geonode cleardeadlayers" to remove the layer from the django tables
> - use the geonetwork interface to remove the layer from geonetwork
>
> ------------------------------------------------------
> 2. GEONODE 1.1-RC1-1_all.deb on Ubuntu 10.04
>
> We install a virtual machine with ubuntu server (10.04) and install
> geonode from deb package (geonode_1.1-rc1+1_all.deb).
>
> After the installation:
> - create the superuser
> - modify the SITE_URL (SITEURL='http://webgis.sustcult.org/')
> - restart the apache2
> - modify the Proxy Base Url in Geoserver configuration (
> http://webgis.sustcult.org/geoserver)
>
> Then we try to execute:
> - geonode test --> no error
> - geonode testserver and we got some error --> o error found
>
> In this case if we try to add the Google or Bing Layer (as described in
> the documentation) we get this error:
>
> TypeError at /maps/new
>
> unhashable type: 'dict'
>
>   Request Method: GET  Request URL: http://webgis.sustcult.org/maps/new  
> Django
> Version: 1.2  Exception Type: TypeError  Exception Value:
>
> unhashable type: 'dict'
>
>   Exception Location: /var/lib/geonode/src/GeoNodePy/geonode/maps/views.py
> in _baselayer, line 65
> I found that there is something different in the local_settings.py and in
> settings.py between the 1.1 and the 1.1-RC1
>
>
> -----------------------
>
> Can you help us in some way?
>
>
> Thank you in advance, Thomas
>
>

Reply via email to