[Bug 1824000] Re: command-not-found crashes: unable to open database file (stack trace)

Brian Murray 1824000 at bugs.launchpad.net
Tue Mar 15 19:09:40 UTC 2022


This could be a duplicate of bug 1953610 which already has a fixed
version of the package in -proposed for multiple releases. Could
somebody please test the new version of command-not-found an report
back? Thanks in advance!

** Also affects: command-not-found (Ubuntu)
   Importance: Undecided
       Status: New

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

Title:
  command-not-found crashes: unable to open database file (stack trace)

Status in command-not-found:
  Triaged
Status in snapd:
  Invalid
Status in command-not-found package in Ubuntu:
  New

Bug description:
  $ synclient -i
  Sorry, command-not-found has crashed! Please file a bug report at:
  https://bugs.launchpad.net/command-not-found/+filebug
  Please include the following information with the report:

  command-not-found version: 0.3
  Python version: 3.7.3 final 0
  Distributor ID:	Ubuntu
  Description:	Ubuntu Disco Dingo (development branch)
  Release:	19.04
  Codename:	disco
  Exception information:

  unable to open database file
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/CommandNotFound/util.py", line 23, in crash_guard
      callback()
    File "/usr/lib/command-not-found", line 89, in main
      cnf = CommandNotFound.CommandNotFound(options.data_dir)
    File "/usr/lib/python3/dist-packages/CommandNotFound/CommandNotFound.py", line 81, in __init__
      self.db = SqliteDatabase(dbpath)
    File "/usr/lib/python3/dist-packages/CommandNotFound/db/db.py", line 12, in __init__
      self.con = sqlite3.connect(filename)
  sqlite3.OperationalError: unable to open database file

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




More information about the foundations-bugs mailing list