Tribler (7.0.1) stopped working

It worked great for about a week.
I think the problem could have been because I was using up space on my internal hard drive and it crashed.
So I freed up space but Tribler no longer starts.
When starting, it shows the spinning cogs and ‘loading…’ message but then it immediately crashes with an error report.
It won’t let me send the error report.
I click to send it but it throws up a spinny wheel (I have a Mac) and I have to force shut it down.

I noticed when I click on the Tribler icon, it looks like it starts two Tribler programs in the Force Quit Applications window.
Does that have something to do with this?

Here’s what shows up in the unexpected error window:

Traceback (most recent call last):
File “TriblerGUI/core_manager.py”, line 140, in on_received_state
RuntimeError: Unhandled Error
Traceback (most recent call last):
File “twisted/internet/base.py”, line 420, in fireEvent

File “twisted/internet/defer.py”, line 319, in addCallback

File “twisted/internet/defer.py”, line 308, in addCallbacks

File “twisted/internet/defer.py”, line 651, in _runCallbacks

— —
File “twisted/internet/base.py”, line 433, in _continueFiring

File “TriblerGUI/core_manager.py”, line 62, in start_tribler

File “Tribler/dispersy/util.py”, line 46, in helper

File “Tribler/dispersy/util.py”, line 225, in blockingCallFromThread

File “Tribler/Core/Session.py”, line 565, in start

File “Tribler/dispersy/util.py”, line 46, in helper

File “Tribler/dispersy/util.py”, line 225, in blockingCallFromThread

File “Tribler/Core/Session.py”, line 549, in start_database

File “Tribler/dispersy/util.py”, line 46, in helper

File “Tribler/dispersy/util.py”, line 225, in blockingCallFromThread

File “Tribler/Core/CacheDB/sqlitecachedb.py”, line 88, in initialize

File “Tribler/Core/CacheDB/sqlitecachedb.py”, line 136, in _open_connection

Tribler.Core.CacheDB.sqlitecachedb.CorruptedDatabaseError: Quick integrity check of database failed

I deleted Tribler and reinstalled and it does the same thing:

Traceback (most recent call last):
File “TriblerGUI/core_manager.py”, line 140, in on_received_state
RuntimeError: Unhandled Error
Traceback (most recent call last):
File “twisted/internet/base.py”, line 420, in fireEvent

File “twisted/internet/defer.py”, line 319, in addCallback

File “twisted/internet/defer.py”, line 308, in addCallbacks

File “twisted/internet/defer.py”, line 651, in _runCallbacks

— —
File “twisted/internet/base.py”, line 433, in _continueFiring

File “TriblerGUI/core_manager.py”, line 62, in start_tribler

File “Tribler/dispersy/util.py”, line 46, in helper

File “Tribler/dispersy/util.py”, line 225, in blockingCallFromThread

File “Tribler/Core/Session.py”, line 565, in start

File “Tribler/dispersy/util.py”, line 46, in helper

File “Tribler/dispersy/util.py”, line 225, in blockingCallFromThread

File “Tribler/Core/Session.py”, line 549, in start_database

File “Tribler/dispersy/util.py”, line 46, in helper

File “Tribler/dispersy/util.py”, line 225, in blockingCallFromThread

File “Tribler/Core/CacheDB/sqlitecachedb.py”, line 88, in initialize

File “Tribler/Core/CacheDB/sqlitecachedb.py”, line 136, in _open_connection

Tribler.Core.CacheDB.sqlitecachedb.CorruptedDatabaseError: Quick integrity check of database failed

Is there anything I can do to get it back to working?

Hi,

The error indicates that your database is corrupt. You could try to remove your database, which can be found in the state directory of Tribler. Under Linux or Mac the state (.Tribler) directory is stored in your home directory, /home/USERNAME/.Tribler (or ~/.Tribler). Note that, since it begins with a ., it will be hidden by default. Search the web to find out how to see hidden files depending on your environment ( Ubuntu / Gnome / Nautilus, Kubuntu / KDE / Dolphin / Konqueror, MacOS / Finder).

Please let me know whether removing your database helps!

1 Like

Worked perfectly!!
Thank you very much.

Right before you posted, I realized that I could just switch myself as a user on the Mac and get a fresh start with Tribler there. I just put all my partial downloads in a shared folder and found my torrents corresponding to them.
So that would’ve been my solution had you not come up with this.