Fails to run : Problem with $LANG
| Project: | Project : Nautilus Actions |
| Version: | 0.7 |
| Component: | Code |
| Category: | bug |
| Priority: | normal |
| Assigned: | GrumZ |
| Status: | closed |
Description
Just installed the 0.7 release and get the following when I try and run it:
$ nautilus-actions-config
Traceback (most recent call last):
File "/usr/bin/nautilus-actions-config", line 1239, in ?
app = NACTMainWindow ()
File "/usr/bin/nautilus-actions-config", line 666, in __init__
self.config_reader = ConfigReader ()
File "/usr/bin/nautilus-actions-config", line 293, in __init__
ConfigParser.__init__ (self)
File "/usr/bin/nautilus-actions-config", line 267, in __init__
self.lang = os.environ["LANG"][:2]
File "/usr/lib/python2.4/UserDict.py", line 17, in __getitem__
def __getitem__(self, key): return self.data[key]
KeyError: 'LANG'
Just rolled back to 0.6 and that is fine.
Updates
| #1 submitted by GrumZ on Thu, 2005-09-15 09:56 | ||||||||||||||
| ||||||||||||||
Problem fixed in cvs. Patch attached. To work around the problem, just set your $LANG env var. In your .bash_profile, add the following line : export LANG=en_US.UTF-8 or something similar corresponding to your language. Or you can applied the patch attached. in the source root dir, run the command : patch -p0 < file.patch |


Recent comments
3 years 45 weeks ago
4 years 3 weeks ago
4 years 7 weeks ago
4 years 7 weeks ago
4 years 10 weeks ago