Re: django-db-log import Exception
I have the same problem, how do you fix it? El lunes, 30 de enero de 2012 12:11:26 UTC-5, Timothy Makobu escribió: > > Naa, looks too bloaty for me. I'll just write midleware and do the > logging inside process_exception() > > On Mon, Jan 30, 2012 at 7:45 PM, Babatunde Akinyanmi > > wrote: > > Hi Tim, > > Django-db-log is no longer maintained. Its like its not compatible > > with 1.3. Use django-sentry instead. > > > > On 1/30/12, Timothy Makobu > wrote: > >> right. > >> > >> Hi guys. If someone could kindly alert the dev? I emailed him already > >> but no response yet. Pip needs to pick up the fixed dangodblog as a > >> dep where the app is hosted. It's all automated. > >> > >> > >> On Mon, Jan 30, 2012 at 6:45 PM, Babatunde Akinyanmi > >> > wrote: > >>> Oh I see. I was reading djangodblog as django-dblog instead of > >>> django-db-log so I was thinking djangodblog was a directory you > >>> created yourself. > >>> > >>> As long as Paginator remains on that line there's no way to go > >>> forward. If I was you, I'd try to go through the source and figure out > >>> if Paginator should be in the source. > >>> > >>> To me it looks like the app was shipped broken. Maybe if you go > >>> through the source, you might find that removing Paginator would mend > >>> things. > >>> > >>> On 1/30/12, Timothy Makobu > > wrote: > This is how Paginator is imported > https://docs.djangoproject.com/en/dev/topics/pagination/ > > from django.core.paginator import Paginator > > (this is part of django.core on my 1.3, so doesn't need installing) > > This is how djangodblog is trying to import it: > > from django.contrib.admin.views.main import ChangeList, Paginator > > .. > > see the difference? > > -- > You received this message because you are subscribed to the Google > Groups > "Django users" group. > To post to this group, send email to > django...@googlegroups.com > . > To unsubscribe from this group, send email to > django-users...@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...@googlegroups.com > . > >>> To unsubscribe from this group, send email to > >>> django-users...@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...@googlegroups.com > . > >> To unsubscribe from this group, send email to > >> django-users...@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...@googlegroups.com > . > > To unsubscribe from this group, send email to > django-users...@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 view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/TUHBIwvM3nEJ. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: django-db-log import Exception
Naa, looks too bloaty for me. I'll just write midleware and do the logging inside process_exception() On Mon, Jan 30, 2012 at 7:45 PM, Babatunde Akinyanmi wrote: > Hi Tim, > Django-db-log is no longer maintained. Its like its not compatible > with 1.3. Use django-sentry instead. > > On 1/30/12, Timothy Makobu wrote: >> right. >> >> Hi guys. If someone could kindly alert the dev? I emailed him already >> but no response yet. Pip needs to pick up the fixed dangodblog as a >> dep where the app is hosted. It's all automated. >> >> >> On Mon, Jan 30, 2012 at 6:45 PM, Babatunde Akinyanmi >> wrote: >>> Oh I see. I was reading djangodblog as django-dblog instead of >>> django-db-log so I was thinking djangodblog was a directory you >>> created yourself. >>> >>> As long as Paginator remains on that line there's no way to go >>> forward. If I was you, I'd try to go through the source and figure out >>> if Paginator should be in the source. >>> >>> To me it looks like the app was shipped broken. Maybe if you go >>> through the source, you might find that removing Paginator would mend >>> things. >>> >>> On 1/30/12, Timothy Makobu wrote: This is how Paginator is imported https://docs.djangoproject.com/en/dev/topics/pagination/ from django.core.paginator import Paginator (this is part of django.core on my 1.3, so doesn't need installing) This is how djangodblog is trying to import it: from django.contrib.admin.views.main import ChangeList, Paginator .. see the difference? -- 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+unsubscr...@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+unsubscr...@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+unsubscr...@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+unsubscr...@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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: django-db-log import Exception
Hi Tim, Django-db-log is no longer maintained. Its like its not compatible with 1.3. Use django-sentry instead. On 1/30/12, Timothy Makobu wrote: > right. > > Hi guys. If someone could kindly alert the dev? I emailed him already > but no response yet. Pip needs to pick up the fixed dangodblog as a > dep where the app is hosted. It's all automated. > > > On Mon, Jan 30, 2012 at 6:45 PM, Babatunde Akinyanmi > wrote: >> Oh I see. I was reading djangodblog as django-dblog instead of >> django-db-log so I was thinking djangodblog was a directory you >> created yourself. >> >> As long as Paginator remains on that line there's no way to go >> forward. If I was you, I'd try to go through the source and figure out >> if Paginator should be in the source. >> >> To me it looks like the app was shipped broken. Maybe if you go >> through the source, you might find that removing Paginator would mend >> things. >> >> On 1/30/12, Timothy Makobu wrote: >>> This is how Paginator is imported >>> https://docs.djangoproject.com/en/dev/topics/pagination/ >>> >>> from django.core.paginator import Paginator >>> >>> (this is part of django.core on my 1.3, so doesn't need installing) >>> >>> This is how djangodblog is trying to import it: >>> >>> from django.contrib.admin.views.main import ChangeList, Paginator >>> >>> .. >>> >>> see the difference? >>> >>> -- >>> 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+unsubscr...@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+unsubscr...@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+unsubscr...@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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: django-db-log import Exception
right. Hi guys. If someone could kindly alert the dev? I emailed him already but no response yet. Pip needs to pick up the fixed dangodblog as a dep where the app is hosted. It's all automated. On Mon, Jan 30, 2012 at 6:45 PM, Babatunde Akinyanmi wrote: > Oh I see. I was reading djangodblog as django-dblog instead of > django-db-log so I was thinking djangodblog was a directory you > created yourself. > > As long as Paginator remains on that line there's no way to go > forward. If I was you, I'd try to go through the source and figure out > if Paginator should be in the source. > > To me it looks like the app was shipped broken. Maybe if you go > through the source, you might find that removing Paginator would mend > things. > > On 1/30/12, Timothy Makobu wrote: >> This is how Paginator is imported >> https://docs.djangoproject.com/en/dev/topics/pagination/ >> >> from django.core.paginator import Paginator >> >> (this is part of django.core on my 1.3, so doesn't need installing) >> >> This is how djangodblog is trying to import it: >> >> from django.contrib.admin.views.main import ChangeList, Paginator >> >> .. >> >> see the difference? >> >> -- >> 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+unsubscr...@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+unsubscr...@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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: django-db-log import Exception
Oh I see. I was reading djangodblog as django-dblog instead of django-db-log so I was thinking djangodblog was a directory you created yourself. As long as Paginator remains on that line there's no way to go forward. If I was you, I'd try to go through the source and figure out if Paginator should be in the source. To me it looks like the app was shipped broken. Maybe if you go through the source, you might find that removing Paginator would mend things. On 1/30/12, Timothy Makobu wrote: > This is how Paginator is imported > https://docs.djangoproject.com/en/dev/topics/pagination/ > > from django.core.paginator import Paginator > > (this is part of django.core on my 1.3, so doesn't need installing) > > This is how djangodblog is trying to import it: > > from django.contrib.admin.views.main import ChangeList, Paginator > > .. > > see the difference? > > -- > 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+unsubscr...@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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: django-db-log import Exception
This is how Paginator is imported https://docs.djangoproject.com/en/dev/topics/pagination/ from django.core.paginator import Paginator (this is part of django.core on my 1.3, so doesn't need installing) This is how djangodblog is trying to import it: from django.contrib.admin.views.main import ChangeList, Paginator .. see the difference? -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
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 wrote: > It's trying to import it from django.contrib.admin.views.main > > > On Mon, Jan 30, 2012 at 4:29 PM, Babatunde Akinyanmi > wrote: > >> Seems like the app depends on paginator. Why not install the paginator >> app? >> >> >> On 1/30/12, Timothy Makobu 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+unsubscr...@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+unsubscr...@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+unsubscr...@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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: django-db-log import Exception
It's trying to import it from django.contrib.admin.views.main On Mon, Jan 30, 2012 at 4:29 PM, Babatunde Akinyanmi wrote: > Seems like the app depends on paginator. Why not install the paginator app? > > > On 1/30/12, Timothy Makobu 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+unsubscr...@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+unsubscr...@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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: django-db-log import Exception
Seems like the app depends on paginator. Why not install the paginator app? On 1/30/12, Timothy Makobu 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+unsubscr...@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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.