ANGRYsearch
ANGRYsearch copied to clipboard
Unable to start: database disk image is malformed
Hi, It was working fine, but for some unknown reason it doesn't want to start anymore.
If I run it from the terminal I have this trace:
Traceback (most recent call last):
File "/usr/bin/angrysearch", line 1723, in <module>
ui = Gui_MainWindow()
File "/usr/bin/angrysearch", line 650, in __init__
self.init_GUI()
File "/usr/bin/angrysearch", line 893, in init_GUI
self.show_first_500()
File "/usr/bin/angrysearch", line 1179, in show_first_500
cur.execute('''PRAGMA user_version;''')
sqlite3.DatabaseError: database disk image is malformed```
Fixed it manually by removing the file: ~/.cache/angrysearch/angry_database.db
But it would be better to add an option that asks to delete the database if there is this error at launch.