With those settings you still get the error the ImproperlyConfigured error?
Your system and/or application is improperly configured. Back out or start
over. You have been automating as you go, right?

ken


On Fri, Jul 4, 2014 at 11:55 AM, Eric Boo <[email protected]> wrote:

> Good to know that it should work on OpenBSD. I really want to get to the
> bottom of this.
>
> I have tried placed the following in either local_settings.py or
> settings.py:
>
> SHOP_CURRENCY_LOCALE = 'en_US.UTF-8'
>
> SHOP_USE_RATINGS = False
>
> These are the exact same local_settings.py and settings.py files that I’m
> successfully using on my live machine.
>
> May be an overkill, but maybe it’ll be interesting to see if the exact
> same files work on a FreeBSD machine instead.
>
> --
> Eric Boo
> Sent with Airmail
>
> On 4 July, 2014 at 11:45:14 pm, Ken Bolton ([email protected]) wrote:
>
> Go ahead and set SHOP_CURRENCY_LOCALE in your settings file. I fear,
> though, that this error is hiding something in your configuration that is
> wrong and should be fixed.
>
> No reason this shouldn't work on OpenBSD. FWIW, OpenBSD was my OS of
> choice until Ubuntu became de facto standard.
>
>  I think there may be some value in documenting (that is, writing Fabric
> scripts) for each of the major systems. The Debian family is well covered
> by the current fabfile.py. All we need are motivated individuals who need
> reliable deployments on CentOS and the BSD family.
>
> ken
>
>
> On Fri, Jul 4, 2014 at 11:38 AM, Eric Boo <[email protected]> wrote:
>
>>  Hi Ken,
>>
>>  Oh well, manage.py shell gives me:
>>
>> django.core.exceptions.ImproperlyConfigured: Invalid currency locale
>> specified for SHOP_CURRENCY_LOCALE: 'en_US.UTF-8'. You'll need to set the
>> locale for your system, or configure the SHOP_CURRENCY_LOCALE setting in
>> your settings module.
>>
>>  I wonder if it’s possible to run Mezzanine + Cartridge inside OpenBSD
>> at all, but given that we’re talking about Python, it shouldn’t be an
>> issue, right?
>>
>>  --
>> Eric Boo
>> Sent with Airmail
>>
>>  On 4 July, 2014 at 9:54:44 pm, Ken Bolton ([email protected]) wrote:
>>
>>    Hi Eric,
>>
>> Look inline below.
>>
>> On Fri, Jul 4, 2014 at 9:13 AM, Eric Boo <[email protected]> wrote:
>>>
>>>  I git cloned my live site’s code to a new development server so that I
>>> can add some more features, and at the same time test it out on a BSD OS
>>> (live site’s running Debian).
>>>
>>
>> I would keep development and platform migration on separate machine
>> instances. Dev/prod parity!
>>
>>  To make life easier, consider using Vagrant for development work. It is
>> cheap, local, and portable.
>>
>>   Running the site via gunicorn gave me the locale error, so I tried
>>> running it as ./manage.py runserver to see if it made a difference. In this
>>> case the error was the same.
>>>
>>
>> Try `python manage.py shell`, or `shell_plus` if you have the excellent
>> django-extensions installed. Below are my results for an ancient Cartridge
>> site.
>>
>> >>> from mezzanine.conf import settings
>> >>> settings.SHOP_CURRENCY_LOCALE
>>  "en_US.UTF-8"
>>
>> hth,
>> ken
>>    --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "Mezzanine Users" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/mezzanine-users/ahNvEvQkV8s/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Mezzanine Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Mezzanine Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/mezzanine-users/ahNvEvQkV8s/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Mezzanine Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to