[Bug 1029204] Re: locale.Error: unsupported locale setting
    Sebastian Pawluś 
    1029204 at bugs.launchpad.net
       
    Fri Dec 13 11:54:24 UTC 2013
    
    
  
Sorry for comment after comment. 
But maybe it's something else, anyway. This appears when you are trying to use command that doesn't exist.
vagrant at vagrant-ubuntu-saucy-64:~$ htop
Sorry, command-not-found has crashed! Please file a bug report at:
https://bugs.launchpad.net/command-not-found/+filebug
Please include the following information with the report:
command-not-found version: 0.3
Python version: 3.3.2 final 0
Distributor ID:	Ubuntu
Description:	Ubuntu 13.10
Release:	13.10
Codename:	saucy
Exception information:
unsupported locale setting
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/CommandNotFound/util.py", line 24, in crash_guard
    callback()
  File "/usr/lib/command-not-found", line 69, in main
    enable_i18n()
  File "/usr/lib/command-not-found", line 40, in enable_i18n
    locale.setlocale(locale.LC_ALL, '')
  File "/usr/lib/python3.3/locale.py", line 541, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting
-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to command-not-found in Ubuntu.
https://bugs.launchpad.net/bugs/1029204
Title:
  locale.Error: unsupported locale setting
Status in command-not-found handler:
  Fix Committed
Status in One Hundred Papercuts:
  Fix Committed
Status in “command-not-found” package in Ubuntu:
  Fix Committed
Bug description:
  bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
  bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
  $ weston
  Sorry, command-not-found has crashed! Please file a bug report at:
  https://bugs.launchpad.net/command-not-found/+filebug
  Please include the following information with the report:
  command-not-found version: 0.3
  Python version: 3.2.3 final 0
  Distributor ID:	Ubuntu
  Description:	Ubuntu quantal (development branch)
  Release:	12.10
  Codename:	quantal
  Exception information:
  unsupported locale setting
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/CommandNotFound/util.py", line 24, in crash_guard
      callback()
    File "/usr/lib/command-not-found", line 69, in main
      enable_i18n()
    File "/usr/lib/command-not-found", line 40, in enable_i18n
      locale.setlocale(locale.LC_ALL, '')
    File "/usr/lib/python3.2/locale.py", line 541, in setlocale
      return _setlocale(category, locale)
  locale.Error: unsupported locale setting
To manage notifications about this bug go to:
https://bugs.launchpad.net/command-not-found/+bug/1029204/+subscriptions
    
    
More information about the foundations-bugs
mailing list