| View previous topic :: View next topic |
| Author |
Message |
forkboy Tux's lil' helper


Joined: 24 Nov 2004 Posts: 141 Location: Blackpool, UK
|
Posted: Sat Jun 28, 2008 1:33 pm Post subject: [solved]devede stopped working |
|
|
media-video/devede has quit working, when running it from a console I get | Code: | john@localhost ~ $ devede
DeVeDe 3.8c
Traceback (most recent call last):
File "/usr/bin/devede", line 46, in ?
print "Locale: "+str(os.environ["LANG"])
File "/usr/lib/python2.4/UserDict.py", line 17, in __getitem__
def __getitem__(self, key): return self.data[key]
KeyError: 'LANG'
|
Same with the new 3.9 version, any help please?
Last edited by forkboy on Sat Jun 28, 2008 5:21 pm; edited 1 time in total |
|
| Back to top |
|
 |
yabbadabbadont Veteran


Joined: 13 Mar 2003 Posts: 4739
|
Posted: Sat Jun 28, 2008 4:39 pm Post subject: |
|
|
| What is the output when you run "locale"? |
|
| Back to top |
|
 |
forkboy Tux's lil' helper


Joined: 24 Nov 2004 Posts: 141 Location: Blackpool, UK
|
Posted: Sat Jun 28, 2008 4:48 pm Post subject: |
|
|
| Code: | LANG=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
|
|
|
| Back to top |
|
 |
yabbadabbadont Veteran


Joined: 13 Mar 2003 Posts: 4739
|
Posted: Sat Jun 28, 2008 5:03 pm Post subject: |
|
|
| Configure your "LANG" setting in /etc/env.d/02locale and then run env-update. Next log completely out, restart X if you use a graphical login manager. When you log back in, the locale command should show that the LANG environment variable is no longer empty, which is what I believe is causing your issue. |
|
| Back to top |
|
 |
forkboy Tux's lil' helper


Joined: 24 Nov 2004 Posts: 141 Location: Blackpool, UK
|
Posted: Sat Jun 28, 2008 5:21 pm Post subject: |
|
|
| That did it, thanks bud... I've never had to edit that file before tho! |
|
| Back to top |
|
 |
yabbadabbadont Veteran


Joined: 13 Mar 2003 Posts: 4739
|
Posted: Sat Jun 28, 2008 5:34 pm Post subject: |
|
|
| Glad it worked. Most programs are smart enough to figure out that, if LANG is not set, to use either the "C" or "POSIX" locales... I would file a bug upstream with the devede author. |
|
| Back to top |
|
 |
|