Language locale isn't set properly (I think)
I have an MPEG file I want to burn to DVD, so I downloaded DeVeDe by doing the following:
Code:
sudo apt-get install devede
When that finished, I went to the KDE menu, went to Multimedia, and selected DeVeDe.
Nothing happened, the program didn't start.
So I opened up a terminal and type:
Here's the reply I got at the terminal:
Code:
Traceback (most recent call last):
File "/usr/bin/devede", line 40, in <module>
print "Locale: "+str(os.environ["LANG"])
File "/usr/lib/python2.5/UserDict.py", line 22, in __getitem__
raise KeyError(key)
KeyError: 'LANG'
[1]+ Exit 1 devede
From reading that, I got the idea that the program was trying to read the value of an envionment variable called LANG, but that LANG wasn't set. So I tried this:
Code:
export set LANG=en
devede &
And here's the reply I got:
Code:
(process:20951): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
DeVeDe 3.11
Locale: en
Using package-installed files
Traceback (most recent call last):
File "/usr/bin/devede", line 136, in <module>
locale.setlocale(locale.LC_ALL,"")
File "/usr/lib/python2.5/locale.py", line 478, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting
[1]+ Exit 1 devede
I tried setting LANG to other stuff like "eng", "en-us", "eng-us", but they all failed. However, if you look in the code box I posted just above, you'll see it mentions something about the "C" fallback locale. So I tried this:
Code:
export set LANG=C
devede &
And the program started! Wahey!
So basically it looks like BT4 PreFinal has a problem with the LANG environment variable.
EDIT: I spoke too soon. After the program starts, after you click OK to create a Video DVD, the program freezes and crashes. Looks like I'll have to boot into Microgay Windgay to use ConvertXtoDVD.