cnf-update-db crashed with AttributeError in __main__: type object 'CommandNotFound' has no attribute 'dbpath'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
command-not-found (Ubuntu) |
Expired
|
Medium
|
Unassigned |
Bug Description
Reported by Apport
ProblemType: Crash
DistroRelease: Ubuntu 18.04
Package: command-not-found 18.04.0~pre5
ProcVersionSign
Uname: Linux 4.15.0-10-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.8-0ubuntu10
Architecture: amd64
Date: Tue Mar 13 20:34:11 2018
ExecutablePath: /usr/lib/
InstallationDate: Installed on 2018-03-13 (0 days ago)
InstallationMedia: Ubuntu-MATE 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180213)
InterpreterPath: /usr/bin/python3.6
PackageArchitec
ProcCmdline: /usr/bin/python3 /usr/lib/
Python3Details: /usr/bin/python3.6, Python 3.6.4+, python3-minimal, 3.6.4-1
PythonArgs: ['/usr/
PythonDetails: /usr/bin/python2.7, Python 2.7.14+, python-minimal, 2.7.14-4
SourcePackage: command-not-found
Title: cnf-update-db crashed with AttributeError in __main__: type object 'CommandNotFound' has no attribute 'dbpath'
Traceback:
Traceback (most recent call last):
File "/usr/lib/
db = CommandNotFound
AttributeError: type object 'CommandNotFound' has no attribute 'dbpath'
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
tags: | removed: need-duplicate-check |
Changed in command-not-found (Ubuntu): | |
importance: | Undecided → Medium |
Thanks for your bugreport? Is this reproducible? I looked at the code and the dependencies and its a bit unclear how this can happy.