Ticket #2 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

smoltSendProfile aborts if LANG unset

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

Description

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
smolt-0.6.1-3.fc6

Change History

comment:1 Changed 7 years ago by mmcgrath

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

This has been fixed and will be released soon.

Note: See TracTickets for help on using tickets.