persepolisdm / persepolis

Persepolis Download Manager is a GUI for aria2.
https://persepolisdm.github.io
GNU General Public License v3.0
6.19k stars 651 forks source link

Persepolis crashed after i changed my linux login name #706

Closed engrrasaq closed 4 years ago

engrrasaq commented 4 years ago

System Details:hp elite book 8470P

Issue Description and steps to reproduce:

Write in English language please, Thanks :)

Feel free to edit or delete lines in this template if it is necessary.

Please report only one Issue (Bug or feature request or ...) in one issue! and open new Issue for another one :)

Traceback (most recent call last): File "/usr/lib/python3/dist-packages/persepolis/scripts/persepolis.py", line 433, in main mainwindow = MainWindow(start_in_tray, persepolis_download_manager, persepolis_download_manager.setting) File "/usr/lib/python3/dist-packages/persepolis/scripts/mainwindow.py", line 1306, in init self.persepolis_db.setDBTablesToDefaultValue() File "/usr/lib/python3/dist-packages/persepolis/scripts/data_base.py", line 1145, in setDBTablesToDefaultValue WHERE status NOT IN ('complete', 'error')""") sqlite3.DatabaseError: database disk image is malformed

alireza-amirsamimi commented 4 years ago

@engrrasaq Hello Your database file is corrupted. Perhaps your hard disk have some issues or ... . Run this command from terminal for fixing this error.

persepolis --clear