Gentoo Forums
Gentoo Forums
Quick Search: in
[solved]devede stopped working
View unanswered posts
View posts from last 24 hours

rackathon
 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
forkboy
Tux's lil' helper
Tux's lil' helper


Joined: 24 Nov 2004
Posts: 141
Location: Blackpool, UK

PostPosted: Sat Jun 28, 2008 1:33 pm    Post subject: [solved]devede stopped working Reply with quote

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
View user's profile Send private message
yabbadabbadont
Veteran
Veteran


Joined: 13 Mar 2003
Posts: 4739

PostPosted: Sat Jun 28, 2008 4:39 pm    Post subject: Reply with quote

What is the output when you run "locale"?
Back to top
View user's profile Send private message
forkboy
Tux's lil' helper
Tux's lil' helper


Joined: 24 Nov 2004
Posts: 141
Location: Blackpool, UK

PostPosted: Sat Jun 28, 2008 4:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
yabbadabbadont
Veteran
Veteran


Joined: 13 Mar 2003
Posts: 4739

PostPosted: Sat Jun 28, 2008 5:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
forkboy
Tux's lil' helper
Tux's lil' helper


Joined: 24 Nov 2004
Posts: 141
Location: Blackpool, UK

PostPosted: Sat Jun 28, 2008 5:21 pm    Post subject: Reply with quote

That did it, thanks bud... I've never had to edit that file before tho!
Back to top
View user's profile Send private message
yabbadabbadont
Veteran
Veteran


Joined: 13 Mar 2003
Posts: 4739

PostPosted: Sat Jun 28, 2008 5:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum