jazzband / django-debug-toolbar

A configurable set of panels that display various debug information about the current request/response.
https://django-debug-toolbar.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
8.07k stars 1.05k forks source link

django-debug-toolbar + psycopg2 = can't adapt error #59

Closed chrispitzer closed 12 years ago

chrispitzer commented 14 years ago

There's a smart_unicode / psycopg2 issue that causes a "can't adapt" error to be raised when using django-debug-toolbar with psycopg2.

The project I'm catching this on is a GeoDjango project using postGIS through psycopg2. Here's the traceback of the error.

http://dpaste.com/hold/154278/

chrispitzer commented 14 years ago

the other manifestation of this bug is that attempting to log in to the django admin will state "Looks like your browser isn't configured to accept cookies. Please enable cookies, reload this page, and try again." Again, if you disable the django-debug-toolbar middleware, you can log in fine.

jezdez commented 12 years ago

There is not enough information to reproduce this bug, and it's probably been fixed given the age of the ticket. Feel free to re-open if it's still biting you.