Monday, January 30, 2012

Re: django-db-log import Exception

**scratching head**
So are you saying you have paginator installed already? Cos your
traceback says you have a admin.py file in a djangodblog directory and
that file is trying to import paginator which it can't find. That's
the root of the error being thrown

On 1/30/12, Timothy Makobu <makobu.mwambiriro@gmail.com> wrote:
> It's trying to import it from django.contrib.admin.views.main
>
>
> On Mon, Jan 30, 2012 at 4:29 PM, Babatunde Akinyanmi
> <tundebabzy@gmail.com>wrote:
>
>> Seems like the app depends on paginator. Why not install the paginator
>> app?
>>
>>
>> On 1/30/12, Timothy Makobu <makobu.mwambiriro@gmail.com> wrote:
>> > Hi all,
>> >
>> > I'm on Django 1.3
>> >
>> > I just now installed django-db-log via pip, but after adding it to
>> > installed_apps, I get this Exception:
>> >
>> > Traceback (most recent call last):
>> > File "/bundles/port-8233/app_image/epio_wsgi.py", line 32, in __call__
>> > output = wsgi_entrypoint(environ, self.start_response)
>> > File
>> > "/usr/local/lib/python2.7/dist-packages/django/core/handlers/wsgi.py",
>> > line 273, in __call__
>> > response = self.get_response(request)
>> > File
>> > "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py",
>> > line 169, in get_response
>> > response = self.handle_uncaught_exception(request, resolver,
>> > sys.exc_info())
>> > File
>> > "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py",
>> > line 214, in handle_uncaught_exception
>> > if resolver.urlconf_module is None:
>> > File
>> "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py",
>> > line 274, in _get_urlconf_module
>> > self._urlconf_module = import_module(self.urlconf_name)
>> > File
>> "/usr/local/lib/python2.7/dist-packages/django/utils/importlib.py",
>> > line 35, in import_module
>> > __import__(name)
>> > File "/bundles/port-8233/app_image/redapps/urls.py", line 5, in
>> > admin.autodiscover()
>> > File
>> >
>> "/usr/local/lib/python2.7/dist-packages/django/contrib/admin/__init__.py",
>> > line 26, in autodiscover
>> > import_module('%s.admin' % app)
>> > File
>> "/usr/local/lib/python2.7/dist-packages/django/utils/importlib.py",
>> > line 35, in import_module
>> > __import__(name)
>> > File
>> >
>> "/bundles/port-8233/app_image/pyenv/lib/python2.7/site-packages/djangodblog/admin.py",
>> > line 4, in
>> > from django.contrib.admin.views.main import ChangeList, Paginator
>> > ImportError: cannot import name Paginator
>> >
>> >
>> > --
>> > sent from my two tin cans via hangerwire
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups
>> > "Django users" group.
>> > To post to this group, send email to django-users@googlegroups.com.
>> > To unsubscribe from this group, send email to
>> > django-users+unsubscribe@googlegroups.com.
>> > For more options, visit this group at
>> > http://groups.google.com/group/django-users?hl=en.
>> >
>> >
>>
>> --
>> Sent from my mobile device
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To post to this group, send email to django-users@googlegroups.com.
>> To unsubscribe from this group, send email to
>> django-users+unsubscribe@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/django-users?hl=en.
>>
>>
>
>
> --
> sent from my two tin cans via hangerwire
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

--
Sent from my mobile device

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment