Ticket #2 (closed defect: fixed)

Opened 10 years ago

Last modified 10 years ago

smoltSendProfile aborts if LANG unset

Reported by: imc@… Owned by: somebody
Priority: minor Milestone:
Component: component1 Version:
Keywords: Cc:
Blocked By: Blocking:


I have LANG unset (because I don't need UTF-8 so I let it default to POSIX). This is acceptable to every application except smolt, it seems:

$ smoltSendProfile 
Traceback (most recent call last):
  File "/usr/bin/smoltSendProfile", line 11, in ?
    profile = Profile.Profile()
  File "/usr/share/smolt/client/Profile.py", line 37, in __init__
    self.language = os.environ['LANG']
  File "/usr/lib/python2.4/UserDict.py", line 17, in __getitem__
    def __getitem__(self, key): return self.data[key]
KeyError: 'LANG'
$ rpm -q smolt

Change History

comment:1 Changed 10 years ago by mmcgrath

  • Status changed from new to closed
  • Resolution set to fixed

This has been fixed and will be released soon.

Note: See TracTickets for help on using tickets.