Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: Ulle69 on May 29, 2011, 11:03:37 PM



Title: Weird error: Locale "en_dk" can not be set. Help please:)
Post by: Ulle69 on May 29, 2011, 11:03:37 PM
Hi - so not totally computer illiterate, but probably not the sharpest mind in computing history neither.
Getting a weird error: Locale "en_dk" cannot be set - when I run bitcoin client on my Mac using Snow Leopard.
Not getting any blocks or connections.

Anybody encountered this before? Anybody know a fix?
Been reading a bit about fall back nodes going through some commands in the terminal- would that help?

Thanks

U.



Title: Re: Weird error: Locale "en_dk" can not be set. Help please:)
Post by: Ulle69 on May 29, 2011, 11:25:52 PM
uhm sorted - if any other super-noob comes across this - go to your formats settings in preferences and choose the right region.


Title: Re: Weird error: Locale "en_dk" can not be set. Help please:)
Post by: Petruza on June 06, 2011, 04:46:14 PM
Which is the "right region"?
I have the same problem with my locale "es_AR" which is the right locale.

edit: I had a custom region instead of es_AR, is that it?


Title: Re: Weird error: Locale "en_dk" can not be set. Help please:)
Post by: kseistrup on June 06, 2011, 05:45:49 PM

Getting a weird error: Locale "en_dk" cannot be set - when I run bitcoin client on my Mac using Snow Leopard.
Not getting any blocks or connections.

Anybody encountered this before? Anybody know a fix?

Setting the locale for the client to e.g. ‘C’ or ‘POSIX’ should solve the problem.  A wrapper script could do this:

Code:
#!/bin/sh

LANG=C; export LANG
LC_ALL=C; export LC_ALL

exec bitcoin "${@}"

# eof

(If you're Danish, perhaps you'd like to join #bitcoin.dk (http://webchat.freenode.net/?channels=bitcoin-dk) on freenode.)

Cheers,