There might be some hints when you search http://groups.google.com/group/satchmo-users?hl=en for locale.
-----Ursprüngliche Nachricht----- Von: [email protected] [mailto:[EMAIL PROTECTED] Im Auftrag von kbochert Gesendet: Dienstag, 11. November 2008 11:32 An: Satchmo users Betreff: Locale bug? I have installed Satchmo trunk, and Django 1.0 browsing to /store I get what appears to be the correct Satcmo storefront - searchbox, categories. links, etc. Clicking on one of the products goes to /store/products/robots_attack (or similar) and I get the base layout minus any css formatting, ending with Error There was an error with the store. The admin has been notified. - (presumably the un-styled content block) Some careful tracing shows that in \satchmo\l10n\utils.py the function <get_locale_conv()> is raising ImproperlyConfigured("bad settings.LANGUAGE_CODE") This is caused by the earlier call locale.setlocale(locale.LC_ALL, locale.normalize(loc)) not returning. (raising an exception) Which in turn is being caused by the <locale.normalize(loc)> call failing -- changing that line to: locale.setlocale(locale.LC_ALL, loc) allows get_locale_conv() to properly return the language and dictionary of conversion parameters. Unfortunately this fix has no effect on the symptom. Is this a bug? Or am I way off track with versions or installations? Help Karl --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
