google-code-export / django-page-cms

Automatically exported from code.google.com/p/django-page-cms
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

'DatabaseWrapper' object has no attribute 'curr' #133

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Running rev 619 of trunk.

Happens on every page except for "home" if I head to root of site /. It
does, however, happen on "/home".

Traceback:

Environment:

Request Method: GET
Request URL: http://localhost:8000/about-us/garth-fagan-dance/
Django Version: 1.0.2 final SVN-11339
Python Version: 2.5.1
Installed Applications:
['django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.sites',
 'django.contrib.admin',
 'django.contrib.auth',
 'garthfagan.utils',
 'pages',
 'mptt',
 'django_extensions']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.middleware.doc.XViewMiddleware',
 'django.middleware.locale.LocaleMiddleware')

Traceback:
File "/usr/lib/python2.5/site-packages/django/core/handlers/base.py" in
get_response
  86.                 response = callback(request, *callback_args,
**callback_kwargs)
File "/Library/Python/2.5/site-packages/pages/views.py" in alias_wrapper
  75.     alias = PageAlias.objects.get_for_url(request, path, lang)
File "/Library/Python/2.5/site-packages/pages/managers.py" in get_for_url
  261.         page = Page.objects.from_path(path, lang)
File "/Library/Python/2.5/site-packages/pages/managers.py" in from_path
  106.         page_ids = Content.objects.get_page_ids_by_slug(slug)
File "/Library/Python/2.5/site-packages/pages/managers.py" in
get_page_ids_by_slug
  208.         cursor = connection.curr()

Exception Type: AttributeError at /about-us/garth-fagan-dance/
Exception Value: 'DatabaseWrapper' object has no attribute 'curr'

Original issue reported on code.google.com by intellin...@gmail.com on 27 Jul 2009 at 4:26

GoogleCodeExporter commented 9 years ago
Fixed with revision 621

Original comment by batiste....@gmail.com on 27 Jul 2009 at 8:03

GoogleCodeExporter commented 9 years ago
Hot. You guys rock.

Original comment by intellin...@gmail.com on 27 Jul 2009 at 8:05