[Live-demo] [OSGeo] #1288: GeoNode 2.0 fails to connect to the database
OSGeo
trac_osgeo at osgeo.org
Mon Jan 27 08:19:27 PST 2014
#1288: GeoNode 2.0 fails to connect to the database
----------------------+-----------------------------------------------------
Reporter: kalxas | Owner: live-demo@…
Type: defect | Status: new
Priority: critical | Milestone: OSGeoLive7.9
Component: LiveDVD | Keywords:
----------------------+-----------------------------------------------------
It seems that the configuration of GeoNode 2.0 final has changed from beta
stages. I am getting the following error:
{{{
Environment:
Request Method: GET
Request URL: http://geonode/
Django Version: 1.5.1
Python Version: 2.7.3
Installed Applications:
('django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.admin',
'django.contrib.sitemaps',
'django.contrib.staticfiles',
'django.contrib.messages',
'django.contrib.humanize',
'pagination',
'taggit',
'taggit_templatetags',
'south',
'friendlytagloader',
'geoexplorer',
'django_extensions',
'pinax_theme_bootstrap_account',
'pinax_theme_bootstrap',
'django_forms_bootstrap',
'account',
'avatar',
'dialogos',
'agon_ratings',
'notification',
'announcements',
'actstream',
'user_messages',
'geonode.people',
'geonode.base',
'geonode.layers',
'geonode.upload',
'geonode.maps',
'geonode.proxy',
'geonode.security',
'geonode.search',
'geonode.social',
'geonode.catalogue',
'geonode.documents')
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.locale.LocaleMiddleware',
'pagination.middleware.PaginationMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware')
Traceback:
File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py" in
get_response
115. response = callback(request,
*callback_args, **callback_kwargs)
File "/usr/local/lib/python2.7/dist-packages/geonode/views.py" in index
31. from geonode.search.views import search_page
File "/usr/local/lib/python2.7/dist-packages/geonode/search/views.py" in
<module>
59. _viewer_config = _create_viewer_config()
File "/usr/local/lib/python2.7/dist-packages/geonode/search/views.py" in
_create_viewer_config
58. return json.dumps(_map.viewer_json(*DEFAULT_BASE_LAYERS))
File "/usr/local/lib/python2.7/dist-packages/geonode/utils.py" in
viewer_json
488. layers = list(self.layers)
File "/usr/local/lib/python2.7/dist-packages/geonode/maps/models.py" in
layers
103. return [layer for layer in layers]
File "/usr/lib/python2.7/dist-packages/django/db/models/query.py" in
_result_iter
123. self._fill_cache()
File "/usr/lib/python2.7/dist-packages/django/db/models/query.py" in
_fill_cache
927. self._result_cache.append(next(self._iter))
File "/usr/lib/python2.7/dist-packages/django/db/models/query.py" in
iterator
301. for row in compiler.results_iter():
File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py"
in results_iter
775. for rows in self.execute_sql(MULTI):
File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py"
in execute_sql
839. cursor = self.connection.cursor()
File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py" in
cursor
324. cursor = self.make_debug_cursor(self._cursor())
File "/usr/lib/python2.7/dist-packages/django/db/backends/sqlite3/base.py"
in _cursor
306. self._sqlite_create_connection()
File "/usr/lib/python2.7/dist-packages/django/db/backends/sqlite3/base.py"
in _sqlite_create_connection
296. self.connection = Database.connect(**kwargs)
Exception Type: OperationalError at /
Exception Value: unable to open database file
}}}
--
Ticket URL: <http://trac.osgeo.org/osgeo/ticket/1288>
OSGeo <http://www.osgeo.org/>
OSGeo committee and general foundation issue tracker.
More information about the Live-demo
mailing list