#4796: force_unicode error
--------------------------------------+-------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: mtredinnick
Status: new | Component: Core framework
Version: | Resolution:
Keywords: fcgi unicode __proxy__ | Stage: Accepted
Has_patch: 0 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
--------------------------------------+-------------------------------------
Changes (by mtredinnick):
* cc: [EMAIL PROTECTED] (added)
Comment:
I cannot reproduce this problem at all. Staring at the code for a long
time doesn't make things any clearer either. The only thing I can imagine
it might be is a race condition or some other problem at import time. This
might have been fixed in [5919].
If anybody can repeat the problem with latest subversion code, does the
4796-hopeful-fix.diff patch make it go away? It removes a potential race
condition in i18n initialisation, although I seriously doubt that is the
problem here -- it's too reliably repeatable for some people for that to
be the case. If you can repeat the problem with something that isn't
confidential or megabytes in size, can you attach a copy of the models
that fail (as a plain text file -- gzipped files won't upload to Trac),
please? Without more information or a way to repeat this, I'm a bit stuck
at the moment.
Oh .. and if you can repeat it, what is the type of
EasyModel.verbose_name_plural (put a print statement in
contrib/databrowse/datastructures.py in {{{EasyModel.__init__}}})?
(Temporarily adding Jeff Forcier to the cc list, since he had the best
information last time. Feel free to remove yourself, Jeff, if you're not
following this any longer.)
--
Ticket URL: <http://code.djangoproject.com/ticket/4796#comment:13>
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
-~----------~----~----~----~------~----~------~--~---