[Bug 513433] Re: command-not-found crashes when /usr/share/command-not-found/programs.d is not a directory

selva selvam141 at gmail.com
Thu Sep 12 08:53:24 UTC 2013


** Changed in: command-not-found (Ubuntu)
       Status: Confirmed => Fix Released

-- 
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/513433

Title:
  command-not-found crashes when /usr/share/command-not-found/programs.d
  is not a directory

Status in command-not-found handler:
  Fix Released
Status in “command-not-found” package in Ubuntu:
  Fix Released

Bug description:
  Binary package hint: command-not-found

  mint at mint /media $ htop
  Sorry, command-not-found has crashed! Please file a bug report at:
  https://bugs.launchpad.net/ubuntu/+source/command-not-found
  Please include the following information with the report:

  command-not-found version: 0.2.21
  Python version: 2.6.4 candidate 2
  Distributor ID:	LinuxMint
  Description:	Linux Mint 8 Helena - Main Edition
  Release:	8
  Codename:	helena
  Exception information:

  [Errno 20] Not a directory: '/usr/share/command-not-found/programs.d'
  Traceback (most recent call last):
    File "/usr/lib/python2.6/dist-packages/CommandNotFound/util.py", line 43, in crash_guard
      callback()
    File "/usr/lib/command-not-found", line 24, in main
      cnf = CommandNotFound(options.data_dir)
    File "/usr/lib/python2.6/dist-packages/CommandNotFound/CommandNotFound.py", line 88, in __init__
      for filename in os.listdir(os.path.sep.join([data_dir, self.programs_dir])):
  OSError: [Errno 20] Not a directory: '/usr/share/command-not-found/programs.d'

To manage notifications about this bug go to:
https://bugs.launchpad.net/command-not-found/+bug/513433/+subscriptions




More information about the foundations-bugs mailing list