cnf-update-db crashed with AttributeError in __main__: type object 'CommandNotFound' has no attribute 'dbpath'

Bug #1755882 reported by Cromefire_
10
This bug affects 1 person
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
ProcVersionSignature: Ubuntu 4.15.0-10.11-generic 4.15.3
Uname: Linux 4.15.0-10-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.8-0ubuntu10
Architecture: amd64
Date: Tue Mar 13 20:34:11 2018
ExecutablePath: /usr/lib/cnf-update-db
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
PackageArchitecture: all
ProcCmdline: /usr/bin/python3 /usr/lib/cnf-update-db
Python3Details: /usr/bin/python3.6, Python 3.6.4+, python3-minimal, 3.6.4-1
PythonArgs: ['/usr/lib/cnf-update-db']
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/cnf-update-db", line 12, in <module>
     db = CommandNotFound.dbpath
 AttributeError: type object 'CommandNotFound' has no attribute 'dbpath'
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

Revision history for this message
Cromefire_ (cromefirehd) wrote :
tags: removed: need-duplicate-check
Changed in command-not-found (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport? Is this reproducible? I looked at the code and the dependencies and its a bit unclear how this can happy.

Changed in command-not-found (Ubuntu):
status: New → Incomplete
information type: Private → Public
Revision history for this message
Cromefire_ (cromefirehd) wrote :

I can swear I had this multiple times, thats the only thing I know apport reported it to me and I can of course test things, but I'm not really into apt or command-not-found

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for command-not-found (Ubuntu) because there has been no activity for 60 days.]

Changed in command-not-found (Ubuntu):
status: Incomplete → Expired
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.