command-not-found crashes: unable to open database file (stack trace)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
command-not-found |
Triaged
|
High
|
Noah Gorny | ||
snapd |
Invalid
|
Medium
|
Unassigned | ||
command-not-found (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
$ synclient -i
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.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/
callback()
File "/usr/lib/
cnf = CommandNotFound
File "/usr/lib/
self.db = SqliteDatabase(
File "/usr/lib/
self.con = sqlite3.
sqlite3.
Related branches
- Adrian Wilkins (community): Approve
- Michael Vogt: Pending requested
-
Diff: 21 lines (+4/-0)1 file modifiedCommandNotFound/db/creator.py (+4/-0)
summary: |
- unable to open database file stack trace + command-not-found crashes: unable to open database file (stack trace) |
Changed in command-not-found: | |
assignee: | nobody → Noah Gorny (nononoha) |
Same here. I tried reinstalling all the related packages but the problem persists.
$ some-wrong-command /bugs.launchpad .net/command- not-found/ +filebug
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.3
Python version: 3.7.3 final 0
Distributor ID: Ubuntu
Description: Ubuntu 19.04
Release: 19.04
Codename: disco
Exception information:
unable to open database file python3/ dist-packages/ CommandNotFound /util.py" , line 23, in crash_guard command- not-found" , line 89, in main .CommandNotFoun d(options. data_dir) python3/ dist-packages/ CommandNotFound /CommandNotFoun d.py", line 81, in __init__ dbpath) python3/ dist-packages/ CommandNotFound /db/db. py", line 12, in __init__ connect( filename) OperationalErro r: unable to open database file
Traceback (most recent call last):
File "/usr/lib/
callback()
File "/usr/lib/
cnf = CommandNotFound
File "/usr/lib/
self.db = SqliteDatabase(
File "/usr/lib/
self.con = sqlite3.
sqlite3.