#4796: Accessing admin pages as a logged in user crashes under apache + fcgi
--------------------------------------+-------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: adrian
Status: new | Component: Admin interface
Version: newforms-admin | Resolution:
Keywords: fcgi unicode __proxy__ | Stage: Unreviewed
Has_patch: 0 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
--------------------------------------+-------------------------------------
Comment (by mtredinnick):
So this traceback means the {{{__unicode__}}} method on a model is
returning a lazy translation object, which is illegal Python code
({{{__unicode__}}} ''must'' return a Unicode object).
It's not possible to tell from the traceback which model is involved,
although as far as I can see, no models in Django's source are doing this.
Have a look at your debug traceback screen again and examine the local
variables in the second last line (the "capfirst" line). That should tell
you which object is involved. Or, if that doesn't, have a look at the
local variables in one of the previous lines (the ones from sites.py).
If the object involved is in Django's code, please let us know which one.
--
Ticket URL: <http://code.djangoproject.com/ticket/4796#comment:4>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---