Tribler 7.x releases will not start GUI

OS - Windows 7 64-bit

I can’t get Tribler 7.x releases to start the GUI. The application will launch, but then gets minimized to my taskbar and system try. When clicking on the taskbar icon, nothing happens (no GUI appears). Right-clicking on the taskbar icon brings up a menu that either gives me the selection to restart Tribler, Pin to Taskbar, or Close the Application.

I was using Tribler 7.0.2, and it was working wonderfully. Then suddenly, it stopped with the behavior described above. I’ve deleted the /.Tribler folder and fully reinstalled several times. The behavior continues. I’ve tried the 7.0.2 version, 7.1.0-rc1, v7.1.0-beta, v7.1.0-exp3, v7.1.0-exp2, and v7.0.1. I deleted the /.Tribler folder each time. The above behavior still repeats.

I can install version 6.5 and it works, but frequently gets stuck on “Building Circuits”. Any help?

Here’s what I get from the GUI error log:
ERROR 1536966271.51 init:1601 (root) Traceback (most recent call last):
File “TriblerGUI\core_manager.py”, line 114, in on_received_state
RuntimeError: Unhandled Error
Traceback (most recent call last):
File “lib\site-packages\twisted\internet\base.py”, line 417, in fireEvent

File “lib\site-packages\twisted\internet\defer.py”, line 317, in addCallback

File “lib\site-packages\twisted\internet\defer.py”, line 306, in addCallbacks

File “lib\site-packages\twisted\internet\defer.py”, line 649, in _runCallbacks

— —
File “lib\site-packages\twisted\internet\base.py”, line 430, in _continueFiring

File “run_tribler.py”, line 73, in start_tribler

File “Tribler\pyipv8\ipv8\util.py”, line 14, in helper

File “Tribler\pyipv8\ipv8\util.py”, line 26, in blockingCallFromThread

File “Tribler\Core\Session.py”, line 487, in start

File “Tribler\Core\APIImplementation\LaunchManyCore.py”, line 226, in register

File “Tribler\Core\APIImplementation\LaunchManyCore.py”, line 367, in init

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

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

File “Tribler\dispersy\dispersy.py”, line 1621, in start

File “Tribler\dispersy\database.py”, line 113, in open

File “Tribler\dispersy\database.py”, line 141, in _initial_statements

sqlite3.DatabaseError: file is encrypted or is not a database

ERROR 1536966368.96 init:1601 (root) Traceback (most recent call last):
File “TriblerGUI\core_manager.py”, line 114, in on_received_state
RuntimeError: Unhandled Error
Traceback (most recent call last):
File “lib\site-packages\twisted\internet\base.py”, line 417, in fireEvent

File “lib\site-packages\twisted\internet\defer.py”, line 317, in addCallback

File “lib\site-packages\twisted\internet\defer.py”, line 306, in addCallbacks

File “lib\site-packages\twisted\internet\defer.py”, line 649, in _runCallbacks

— —
File “lib\site-packages\twisted\internet\base.py”, line 430, in _continueFiring

File “run_tribler.py”, line 73, in start_tribler

File “Tribler\pyipv8\ipv8\util.py”, line 14, in helper

File “Tribler\pyipv8\ipv8\util.py”, line 26, in blockingCallFromThread

File “Tribler\Core\Session.py”, line 487, in start

File “Tribler\Core\APIImplementation\LaunchManyCore.py”, line 226, in register

File “Tribler\Core\APIImplementation\LaunchManyCore.py”, line 367, in init

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

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

File “Tribler\dispersy\dispersy.py”, line 1621, in start

File “Tribler\dispersy\database.py”, line 113, in open

File “Tribler\dispersy\database.py”, line 141, in _initial_statements

sqlite3.DatabaseError: file is encrypted or is not a database

Okay, I think I found the issue.

The GUI is being positioned WAY outside of the screen resolution. I got to view it doing this behavior as I clicked on the Taskbar Icon when I enabled window switching effects in the OS. You can see it moving from it’s position way the hell off screen on the left side down to the taskbar menu in the uploaded screenshot.

Is there a way to manually set the size/position of the UI? There’s something that’s off.

Further on this - I’ve narrowed where the issue stems from.

In the Search Bar, the results don’t word wrap. If a search result returns an extremely lengthy URL or Description, it will resize your Tribler GUI to fit it on one line. It’s impossible to “shrink” the resolution back down as long as that particular search result is visible (I assume because it doesn’t wish to cut off text). When you close and re-open the program with a wonky size that you get from above, the program then re-positions your GUI window according to the extended resolution you just had - which is often off screen.

Thank you for your report and my apologies for the late response. There are various issues here.

First, the error you posted is likely caused by this: sqlite3.DatabaseError: file is encrypted or is not a database. For some reason, the database that our software automatically creates is not correctly written away. You state that this happens every time for you. As far as I’m aware, we haven’t been able to reproduce this issue within our environments.

We should investigate this and see whether we can find out what’s causing this. Could you post the database that Dispersy created? You can also send it to us by email if you prefer that. The database can be found in the .Tribler/sqlite directory and is called dispersy.db.

The second problem you mention is with the user interface. Thank you for narrowing this issue down, much appreciated :+1:. I will open a ticket on or issue tracker and we will aim to fix this before the release of Tribler 7.1.

The problem isn’t fixed. I’m experiencing the same problem exactly as described by AMR.