AttributeError: CommandNotFound instance has no attribute 'priority_overrides'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
command-not-found (Ubuntu) |
Fix Released
|
Undecided
|
Michael Vogt |
Bug Description
Binary package hint: command-not-found
user@machine:~$ mysql
Sorry, command-not-found has crashed! Please file a bug report at:
https:/
Please include the following information with the report:
command-not-found version: 0.2.21
Python version: 2.6.2 final 0
Distributor ID: Ubuntu
Description: Ubuntu jaunty (development branch)
Release: 9.04
Codename: jaunty
Exception information:
CommandNotFound instance has no attribute 'priority_
Traceback (most recent call last):
File "/usr/lib/
callback()
File "/usr/lib/
CommandNotF
File "/usr/lib/
packages.
File "/usr/lib/
if (x[0] in self.priority_
AttributeError: CommandNotFound instance has no attribute 'priority_
bash: mysql: command not found
but, "in general" command-not-found works correctly. For example:
user@machine:~$ foobar
bash: foobar: command not found
user@machine:~$ gnat
The program 'gnat' is currently not installed. You can install it by typing:
sudo apt-get install gnat-4.3
bash: gnat: command not found
Neal.
Related branches
Changed in command-not-found (Ubuntu): | |
assignee: | nobody → Michael Vogt (mvo) |
status: | New → Fix Committed |
Update 14Apr2009
I think command-not-found must have been kidding about its version number; I started with a Jaunty beta6 cd install, which claims to contain command-not-found 0.2.33ubuntu1 (NOT 0.2.21 as command-not-found claimed). Anyhow, after an upgrade to 0.2.34ubuntu2 the problem has vanished.
Neal.