Hi:
After installing geonode 1.0, tried http://localhost. I get the following
error. I do not know python. Could anyone help?
[Sun Feb 20 19:40:53 2011] [error]
/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/registration/models.py:4:
DeprecationWarning: the sha module is deprecated; use the hashlib module
instead
[Sun Feb 20 19:40:53 2011] [error] import sha
ERROR 6: Unable to load PROJ.4 library (libproj.so), creation of
OGRCoordinateTransformation failed.
ERROR 6: Unable to load PROJ.4 library (libproj.so), creation of
OGRCoordinateTransformation failed.
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] mod_wsgi (pid=16055):
Exception occurred processing WSGI script '/var/www/geonode/wsgi/geonode.wsgi'.
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] Traceback (most recent
call last):
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] File
"/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/handlers/wsgi.py",
line 241, in __call__
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] response =
self.get_response(request)
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] File
"/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/handlers/base.py",
line 142, in get_response
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] return
self.handle_uncaught_exception(request, resolver, exc_info)
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] File
"/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/handlers/base.py",
line 181, in handle_uncaught_exception
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] return
callback(request, **param_dict)
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] File
"/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/views/defaults.py",
line 24, in server_error
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] return
http.HttpResponseServerError(t.render(Context({})))
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] File
"/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/template/__init__.py",
line 173, in render
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] return
self._render(context)
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] File
"/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/template/__init__.py",
line 167, in _render
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] return
self.nodelist.render(context)
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] File
"/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/template/__init__.py",
line 796, in render
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1]
bits.append(self.render_node(node, context))
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] File
"/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/template/__init__.py",
line 809, in render_node
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] return
node.render(context)
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] File
"/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/template/loader_tags.py",
line 125, in render
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] return
compiled_parent._render(context)
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] File
"/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/template/__init__.py",
line 167, in _render
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] return
self.nodelist.render(context)
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] File
"/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/template/__init__.py",
line 796, in render
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1]
bits.append(self.render_node(node, context))
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] File
"/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/template/__init__.py",
line 809, in render_node
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] return
node.render(context)
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] File
"/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/template/loader_tags.py",
line 62, in render
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] result =
block.nodelist.render(context)
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] File
"/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/template/__init__.py",
line 796, in render
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1]
bits.append(self.render_node(node, context))
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] File
"/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/template/__init__.py",
line 809, in render_node
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] return
node.render(context)
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] File
"/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/template/defaulttags.py",
line 366, in render
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] url =
reverse(self.view_name, args=args, kwargs=kwargs,
current_app=context.current_app)
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] File
"/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/urlresolvers.py",
line 350, in reverse
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] *args, **kwargs)))
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] File
"/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/urlresolvers.py",
line 271, in reverse
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] possibilities =
self.reverse_dict.getlist(lookup_view)
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] File
"/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/urlresolvers.py",
line 193, in _get_reverse_dict
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] self._populate()
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] File
"/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/urlresolvers.py",
line 185, in _populate
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1]
lookups.appendlist(pattern.callback, (bits, p_pattern))
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] File
"/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/urlresolvers.py",
line 129, in _get_callback
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] self._callback =
get_callable(self._callback_str)
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] File
"/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/utils/functional.py",
line 124, in wrapper
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] result = func(*args)
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] File
"/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/core/urlresolvers.py",
line 56, in get_callable
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] lookup_view =
getattr(import_module(mod_name), func_name)
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] File
"/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/utils/importlib.py",
line 35, in import_module
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] __import__(name)
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] File
"/var/www/geonode/wsgi/geonode/src/GeoNodePy/geonode/maps/views.py", line 49,
in <module>
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] _DEFAULT_MAP_CENTER =
_project_center(settings.DEFAULT_MAP_CENTER)
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] File
"/var/www/geonode/wsgi/geonode/src/GeoNodePy/geonode/maps/views.py", line 46,
in _project_center
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1]
center.transform("+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0
+x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs")
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] File
"/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/contrib/gis/geos/geometry.py",
line 495, in transform
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] g.transform(ct)
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] File
"/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/contrib/gis/gdal/geometries.py",
line 425, in transform
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1]
capi.geom_transform_to(self.ptr, sr.ptr)
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] File
"/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/contrib/gis/gdal/prototypes/errcheck.py",
line 107, in check_errcode
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] check_err(result)
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] File
"/var/www/geonode/wsgi/geonode/lib/python2.6/site-packages/django/contrib/gis/gdal/error.py",
line 40, in check_err
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] raise e, msg
[Sun Feb 20 19:40:53 2011] [error] [client 127.0.0.1] OGRException: OGR failure.