When typing ribo command / command-not-found has crashed!

Bug #366022 reported by lepatron
This bug report is a duplicate of:  Bug #282446: command-not-found has crashed. Edit Remove
2
Affects Status Importance Assigned to Milestone
command-not-found (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: command-not-found

unsupported locale setting
Traceback (most recent call last):
  File "/usr/lib/command-not-found", line 19, in <module>
    parser = OptionParser(version = __version__, usage=_("%prog [options] <command-name>"))
  File "/usr/lib/python2.5/gettext.py", line 584, in lgettext
    return ldgettext(_current_domain, message)
  File "/usr/lib/python2.5/gettext.py", line 556, in ldgettext
    return t.lgettext(message)
  File "/usr/lib/python2.5/gettext.py", line 366, in lgettext
    return tmsg.encode(locale.getpreferredencoding())
  File "/usr/lib/python2.5/locale.py", line 514, in getpreferredencoding
    setlocale(LC_CTYPE, "")
  File "/usr/lib/python2.5/locale.py", line 478, in setlocale
    return _setlocale(category, locale)
Error: unsupported locale setting
Python version: 2.5.2 final 0

lepatron (carsten-glas)
summary: - When typing ribo command command-not-found has crashed!
+ When typing ribo command / command-not-found has crashed!
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.