Comment 9 for bug 1871670

Revision history for this message
Mark (markthecodehamster) wrote :

I guess I'm having the same bug, plaguing me since upgrading to 20.04.

I have a 100% reproducible
```
$ LC_ALL=en-US.UTF-8 blabla
Omlouváme se, command-not-found zhavaroval! Prosíme nahlaste chybu na:
https://bugs.launchpad.net/command-not-found/+filebug
K hlášení přidejte následující informace:

command-not-found verze: 0.3
Python verze: 3.8.2 final 0
Distributor ID: Ubuntu
Description: Ubuntu 20.04 LTS
Release: 20.04
Codename: focal
Informace o výjimce:

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 90, in main
cnf = CommandNotFound.CommandNotFound(options.data_dir)
File "/usr/lib/python3/dist-packages/CommandNotFound/CommandNotFound.py", line 79, 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
```