Found it. The culprit was indeed IE7.
It's because of it's "language preferences". I have a french canadian computer so the Accept-Language header was "fr-CA". That was totally killing Satchmo :D So I went into Tools/Internet Options/Languages and added the "en-US" one. This corrected the error for me but what about the other french canadians users out there? We're around 6 million people after all. Do I have to make a fr-CA translation? thanks On Jan 14, 9:11 am, Bernard <[email protected]> wrote: > I tried other settings.LANGUAGE_CODE values such as "fr-CA", "en-CA". > > still doesn't work... > > thanks for any info on the matter by the way. > > On Jan 14, 9:00 am, Bernard <[email protected]> wrote: > > > Hey there, > > > The error in the title keeps on poping up ONLY under Internet Explorer > > 7 when I check a product page... > > > IE6 (surprisingly), Firefox 2 & 3, Chrome, Safari & Opera all works > > without the error. > > > It seems to be related to this ticket [http://www.satchmoproject.com/ > > trac/ticket/225] but the locales seems to be right on my server. > > > Django runs under mod_python in apache. > > > Here's the satchmo log about this problem: > > 2009-01-14 08:52:46,131 root : INFO Satchmo Started > > 2009-01-14 08:52:46,508 product.models: DEBUG registered base > > search listener > > 2009-01-14 08:52:46,629 tiered.config: DEBUG loaded > > 2009-01-14 08:52:48,453 recentlist.middleware: DEBUG Product url is > > ^/shop/product/(?P<slug>[-\w]+)/ > > 2009-01-14 08:52:48,627 l10n.utils : CRITICAL Cannot set locale to > > default locale 'us'. Something is misconfigured. > > > and here's the traceback: > > Original Traceback (most recent call last): > > File "/home/crystal/crystal_store/lib/python2.4/site-packages/ > > Django-1.0.2_final-py2.4.egg/django/template/debug.py", line 71, in > > render_node > > result = node.render(context) > > File "/home/crystal/crystal_store/lib/python2.4/site-packages/ > > Django-1.0.2_final-py2.4.egg/django/template/debug.py", line 87, in > > render > > output = force_unicode(self.filter_expression.resolve(context)) > > File "/home/crystal/crystal_store/lib/python2.4/site-packages/ > > Django-1.0.2_final-py2.4.egg/django/template/__init__.py", line 559, > > in resolve > > new_obj = func(obj, *arg_vals) > > File "/home/crystal/crystal_store/crystalInteriorsBoutique/store/ > > templatetags/price_starting_at.py", line 20, in price_starting_at > > details = productvariation_details(product, False, None) > > File "/usr/lib/python2.4/site-packages/satchmo/product/utils.py", > > line 82, in productvariation_details > > detail['PRICE'][detl.quantity] = moneyfmt(price, curr=curr) > > File "/usr/lib/python2.4/site-packages/satchmo/l10n/utils.py", line > > 121, in moneyfmt > > conv = get_locale_conv(current_locale) > > File "/usr/lib/python2.4/site-packages/satchmo/l10n/utils.py", line > > 37, in get_locale_conv > > raise ImproperlyConfigured("bad settings.LANGUAGE_CODE") > > ImproperlyConfigured: bad settings.LANGUAGE_CODE > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
