> ValueError: unknown locale: UTF-8

I am sure that it is an error from
/usr/lib/python2.*/locale.py  line
    raise ValueError, 'unknown locale: %s' % localename

The easiest is to add the following two lines temporary before
"raise".
    import traceback
    traceback.print_stack()
    raise ValueError, 'unknown locale: %s' % localename
I do not make premature conclusions.

If you send the result, I will answer you and I improve satchmo_check
also to be more helpful for this case.

The problem was that testing of django.core.urlresolvers.reverse is
very sensitive to different errors therefore it should be tested, but
Django replaces all original specific tracebacks here by a new general
traceback which is not useful. I test it only if some basic coditions
are met. You revealed than a new test should be added before it.

Very good server for sending code like tracebacks is http://pastebin.com/
or http://dpaste.org/ because it does not break long lines and the
text is saved temporary. I excerpt here the most useful part here
permanently.

On 11 led, 16:18, "Webber H. Lin" <[email protected]> wrote:
> Unable to resolve
> ValueError: unknown locale: UTF-8
> Unable to resolve urls. Received error - ValueError: unknown locale:
> UTF-8

-- 
You received this message because you are subscribed to the Google Groups 
"Satchmo users" 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/satchmo-users?hl=en.

Reply via email to