I tried to launch Tribler from XFCE Applications menu.
Nothing showed up.
I tried to launch Tribler from terminal.
But it gave me this.
I however found this:
Every time I try to run Tribler this script starts and then terminates.
I tried to launch Tribler from XFCE Applications menu.
Nothing showed up.
I tried to launch Tribler from terminal.
But it gave me this.
I however found this:
I have the same issue with Tribler 7.3.0 on Debian, everytime I start it, the loading screen shows up, and then it terminates.
I found this in ~/.Tribler/tribler-gui-error.log:
ERROR 1566919265.52 tribler_window:73 (root) Traceback (most recent call last):
File "/usr/share/tribler/TriblerGUI/event_request_manager.py", line 136, in <lambda>
self.reply.error.connect(lambda error: self.on_error(error, reschedule_on_err=reschedule_on_err))
File "/usr/share/tribler/TriblerGUI/event_request_manager.py", line 81, in on_error
raise RuntimeError("Could not connect with the Tribler Core within 60 seconds")
RuntimeError: Could not connect with the Tribler Core within 60 seconds
Nope, no luck:
# apt-get install python-pyqtgraph python-opengl python-qt4 freeglut3 libqtassistantclient4
freeglut3 is already the newest version (2.8.1-3).
python-opengl is already the newest version (3.1.0+dfsg-1).
python-pyqtgraph is already the newest version (0.10.0-1).
python-qt4 is already the newest version (4.11.4+dfsg-2+b1).
libqtassistantclient4 is already the newest version (4.6.3-7+b1).
Both the pip ones are also installed:
# pip install lz4
Requirement already satisfied: lz4 in /usr/local/lib/python2.7/dist-packages
Requirement already satisfied: future in /usr/local/lib/python2.7/dist-packages (from lz4)
# pip install pony
Requirement already satisfied: pony in /usr/local/lib/python2.7/dist-packages
Checked the python-cryptography as well:
# apt-get install python-cryptography
python-cryptography is already the newest version (1.7.1-3+deb9u1).
Still get the “60 second” error.
Ai, we thought we fixed that one… Sorry
Could you please dive into the /tmp/ something log file that Tribler creates?
It contains which dependencies on Linux are not found (e.g. pip/apt stuff, or --user mixup). Seems we missed something that results in eternal loading of the GUI
Here is the log file from /tmp, I removed the multiple occruances of the “INFO event_request_manager” lines:
INFO 1566935640.54 single_application:28 (root) __init__()
INFO 1566935642.13 single_application:54 (root) self._outSocket.error() = '0'
INFO 1566935642.13 single_application:56 (root) received QLocalSocket.ConnectionRefusedError; removing server.
INFO 1566935642.13 single_application:68 (root) close()
INFO 1566935642.13 single_application:75 (root) close(): returning
INFO 1566935642.13 single_application:64 (root) __init__(): returning
QFont::setPointSize: Point size <= 0 (-1), must be greater than 0
QFont::setPointSize: Point size <= 0 (-1), must be greater than 0
INFO 1566935649.38 event_request_manager:132 (TriblerGUI) Will connect to events endpoint
INFO 1566935649.70 event_request_manager:79 (TriblerGUI) Got Tribler core error: 1
Traceback (most recent call last):
File "run_tribler.py", line 96, in <module>
start_tribler_core(base_path, api_port)
File "run_tribler.py", line 47, in start_tribler_core
from Tribler.Core.Session import Session
File "/usr/share/tribler/Tribler/Core/Session.py", line 21, in <module>
from Tribler.Core.APIImplementation.LaunchManyCore import TriblerLaunchMany
File "/usr/share/tribler/Tribler/Core/APIImplementation/LaunchManyCore.py", line 22, in <module>
from ipv8.messaging.anonymization.community import TunnelSettings
File "/usr/share/tribler/Tribler/pyipv8/ipv8/messaging/anonymization/community.py", line 15, in <module>
from .payload import *
File "/usr/share/tribler/Tribler/pyipv8/ipv8/messaging/anonymization/payload.py", line 10, in <module>
from ...messaging.anonymization.tunnelcrypto import CryptoException
File "/usr/share/tribler/Tribler/pyipv8/ipv8/messaging/anonymization/tunnelcrypto.py", line 7, in <module>
from cryptography.hazmat.primitives.ciphers.aead import AESGCM
ImportError: No module named aead
INFO 1566935652.58 event_request_manager:132 (TriblerGUI) Will connect to events endpoint
INFO 1566935652.58 event_request_manager:79 (TriblerGUI) Got Tribler core error: 1
ERROR 1566935709.58 tribler_window:73 (root) Traceback (most recent call last):
File "/usr/share/tribler/TriblerGUI/event_request_manager.py", line 136, in <lambda>
self.reply.error.connect(lambda error: self.on_error(error, reschedule_on_err=reschedule_on_err))
File "/usr/share/tribler/TriblerGUI/event_request_manager.py", line 81, in on_error
raise RuntimeError("Could not connect with the Tribler Core within 60 seconds")
RuntimeError: Could not connect with the Tribler Core within 60 seconds
INFO 1566935710.51 run_tribler:142 (root) Shutting down Tribler
This is on Debian 9.9 (Stretch)
Thank you for that helpful insight.
Shoot, another crypto lib problem. Debian people being very pure about the patents, export regulations, not exposing AEAD to Python, and/or something. Guess we need to ship our own custom package/wrapper for crypto. Something we really don’t want, but forced to do.
@S.Pan Is this also happening on latest Debian?
@shaunot It seems like cryptography
package is not latest. We require >=2.3.
#apt-get install python-cryptography
python-cryptography is already the newest version (1.7.1-3+deb9u1).
1.7.1-3 is not the latest version of cryptography. We’ll
Could you try installing aead
package using pip?
pip install --user aead
@root it should be working fine on Debian 10
Just a “user confirmation”, that this worked for me on Deb9.
I checked for those pkgs, and found that 2 weren’t installed…
I Installed the following packages:
freeglut3 (2.8.1-3)
python-opengl (3.1.0+dfsg-1)
followed by @S.Pan Sandip’s :
pip install --user aead
I may have rebooted(?) and clicked tribler from menu and it ran!!
Thanks to ALL…for this post!
I ended up upgrading the VM to Buster (Debian 10.1) and it is now working.