Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to start: database disk image is malformed #85

Open
onidev opened this issue Sep 22, 2021 · 1 comment
Open

Unable to start: database disk image is malformed #85

onidev opened this issue Sep 22, 2021 · 1 comment

Comments

@onidev
Copy link

onidev commented Sep 22, 2021

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```
@onidev
Copy link
Author

onidev commented Sep 22, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant