You are not logged in.

#1 2009-07-20 21:51:14

beatepix
Member
Registered: 2009-07-18
Posts: 20

pypanel local error under openbox [SOLVED]

Ive been getting this messgae from pypanel (and sonata) every time i try to launch it:

Traceback (most recent call last):
  File "/usr/bin/pypanel", line 948, in <module>
    locale.setlocale(locale.LC_ALL, "")
  File "/usr/lib/python2.6/locale.py", line 513, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting

I guess im lucky enough to actually see where the error is occurung, but I have no idea what to achange to code to look like. Plus google hasnt been much help. Anyone know how to set it to a proper local?

Last edited by beatepix (2009-07-21 00:36:18)

Offline

#2 2009-07-21 00:34:33

beatepix
Member
Registered: 2009-07-18
Posts: 20

Re: pypanel local error under openbox [SOLVED]

Ok i managed to fix this myself. The problem was with the autostart.sh that I coped from someone else. His LC_CTYPE was set to japanese so I changed it back to en_US. Plus if anyone else is having issues with this you can try this in terminal:

export LC_CTYPE=en_US

Or change it to whatever it needs to be and it will temporarily give you functionality while you find where the issue actually lies.

Offline

Board footer

Powered by FluxBB