[Bug 1755882] Re: cnf-update-db crashed with AttributeError in __main__: type object 'CommandNotFound' has no attribute 'dbpath'

Tim Langhorst 1755882 at bugs.launchpad.net
Tue Mar 20 07:07:06 UTC 2018


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

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

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

Status in command-not-found package in Ubuntu:
  Incomplete

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:

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



More information about the foundations-bugs mailing list