Het forum

Error: unsupported locale setting

Auteur Antwoorden
mytux Donderdag 4 November 2010 om 8:37
mytuxAnonymous

Hello,

I just downloaded POM, and when I try to launch it I always get this error :

Error: unsupported locale setting

I searched the forum, and here are already some informations to help you track the issue :

echo $LANG
fr_BE.ISO8859-1

defaults read -g AppleLocale
fr_BE

cd /Applications/PlayOnMac.app/Contents/MacOS/
./playonmac
2010-11-04 08:25:11.923 defaults[63521:903]
The domain/default pair of (kCFPreferencesAnyApplication, AppleLocale) does not exist
2010-11-04 08:25:11.933 defaults[63523:903]
The domain/default pair of (kCFPreferencesAnyApplication, AppleLocale) does not exist
cat: /Users/oli/Library/PlayOnMac/configurations/options/applex: No such file or directory
Traceback (most recent call last):
File "/Applications/PlayOnMac.app/Contents/Resources/__boot__.py", line 137, in <module>
_run('playonmac.py')
File "/Applications/PlayOnMac.app/Contents/Resources/__boot__.py", line 134, in _run
execfile(path, globals(), globals())
File "/Applications/PlayOnMac.app/Contents/Resources/playonmac.py", line 30, in <module>
import wx
File "wx/__init__.pyc", line 45, in <module>
File "wx/_core.pyc", line 14007, in <module>
File "locale.pyc", line 512, in getpreferredencoding
File "locale.pyc", line 476, in setlocale
locale.Error: unsupported locale setting
2010-11-04 08:25:12.266 playonmac.real[63530:60f] PlayOnMac Error
2010-11-04 08:25:12.270 playonmac.real[63530:60f] PlayOnMac Error
An unexpected error has occurred during execution of the main script

Error: unsupported locale setting

Could you help me ?
thanks !
GNU_Raziel Donderdag 4 November 2010 om 19:07
GNU_Raziel

Use this command, it should solve your problem :

defaults write -g AppleLocale "fr_BE"
Quentin PÂRIS Donderdag 4 November 2010 om 23:23
Quentin PÂRISAnonymous

defaults write -g AppleLocale "fr_FR"

will be better ;)
juju35 Donderdag 23 December 2010 om 23:21
juju35Anonymous

Même problème avec la dernière version.
Ou dois-je écrire la commande?
Quentin PÂRIS Donderdag 23 December 2010 om 23:58
Quentin PÂRISAnonymous

Dans un terminal

Applications -> Utilitaires -> Terminal
juju35 Vrijdag 24 December 2010 om 9:46
juju35Anonymous

mais j'ai juste à ouvrir Terminal, copier la ligne valider et ouvrir playonmac ? parcque la ca fait rien du tout...
Quentin PÂRIS Vrijdag 24 December 2010 om 11:29
Quentin PÂRISAnonymous

C'est quoi exactement ton problème juju35 ? Il s'affiche quoi sur ton écran ?
juju35 Vrijdag 24 December 2010 om 12:17
juju35Anonymous

Quentin PÂRIS Vrijdag 24 December 2010 om 14:10
Quentin PÂRISAnonymous

Tu as des applications installées avec PlayOnMac ?

Si non, utilise "Uninstall PlayOnMac", vide ta corbeille et réinstalle tout
juju35 Vrijdag 24 December 2010 om 14:52
juju35Anonymous

Oui j'ai des applications installées mais là n'est pas le problème.
J'ai déjà essayé de faire la désinstallation c'est étrange.
Quentin PÂRIS Vrijdag 24 December 2010 om 16:57
Quentin PÂRISAnonymous

Et donc ?
juju35 Vrijdag 24 December 2010 om 17:29
juju35Anonymous

ba c'a fait strictement rien, même erreur
Quentin PÂRIS Vrijdag 24 December 2010 om 18:06
Quentin PÂRISAnonymous

(On est sur un forum anglais la je sais pas si tu sais)

Tu as tapé quoi dans ton terminal ?
juju35 Vrijdag 24 December 2010 om 18:12
juju35Anonymous

(désolé pas fait attention... jpeux essayer l'anglais ca me dérange pas - OU rouvrir un thread).

Dans le terminal j'ai tapé ce qui était écrit plus haut à savoir : defaults write -g AppleLocale "fr_FR
Quentin PÂRIS Vrijdag 24 December 2010 om 18:31
Quentin PÂRISAnonymous

Il faut fermer les guillemets
juju35 Vrijdag 24 December 2010 om 18:38
juju35Anonymous

En effet c'est résolu! pas plus compliqué!

merci de ton aide :)
Gunnar Donderdag 9 Juni\ 2011 om 0:14
GunnarAnonymous

That message came up for me too. Can anyone make a video or put up some pictures as a tutorial for me? I don't know anything about this stuff. Please?