Tribler 7 release candidate 3 - Please test

Hi everyone,

We are close to releasing a major version of Tribler. We need help testing this. Downloads:

Windows (64-bit)
Windows (32-bit)
Linux
MacOS

Tribler 7 is one of our biggest releases: we designed and implemented a new and modern user interface, inspired by various well-known applications. This release also contains a developer-oriented RESTful API that can be used to control Tribler. Additionally, we fixed many bugs and have rewritten most of our components like the video player, the torrent health checker and the search result ranking algorithm.

We specifically want to focus on stability and iron out minor bugs. We really would like to know if Tribler crashes on your machine.

In this specific release candidate, we improved error handling and error logging. In addition, we updated various libraries to make Tribler more compatible with newer versions of Windows.

If you encounter any problems, please create a new issue on GitHub or post it on the forums, either in this thread or in a separate thread. If you wish to contribute to Tribler by fixing bugs, please check out this page which contains some basic pointers.

The source code can be found on our Github repository but you can also download it directly here.

Enjoy!

2 Likes

Import error: No module named meliae

spec file needs to contain new modules . Does not start

Thank you for your feedback. On which platform does this occur?

Also, these dependencies should be automatically included in the final .exe/.app files.

windows 7, 32 bit

…

Thanks! I just tested the build and found the bug. I’ve uploaded a new version of the 32-bit installer, could you please try this one?

I will discuss tomorrow with the team what we could do to prevent this error :thumbsup:

The same problem as in the previous release candidate is present in this release candidate. When downloading anonymously, the number of peers and seeds remains zero.

Edit 14-10-2017: These are the log messages I get when using the 64bit Windows version of Tribler.

INFO    1507126315.87 single_application:23    __init__()    INFO    1507126315.91 single_application:49      self._outSocket.error() = '2'
INFO    1507126315.91 single_application:60    __init__(): returning
INFO    1507126317.58 event_request_manager:117   Will connect to events endpoint
INFO    1507126319.99 event_request_manager:42    Got Tribler core error: 1
INFO    1507126357.12 event_request_manager:117   Will connect to events endpoint
INFO    1507127894.28 event_request_manager:42    Got Tribler core error: 2

That same message appears on Debian Stable, using the “.deb” file.
Once I installed the package “python-meliae”, it does open. But that package should be in the dependencies.

import error: no module named psutil

Fails on Ubuntu 16.04 for me. python-psutil and python-meliae not in dependancy list. Then this 4x reproducible cash:

Traceback (most recent call last):
  File "/usr/share/tribler/TriblerGUI/event_request_manager.py", line 99, in on_read_data
    raise RuntimeError(json_dict["event"]["text"])
RuntimeError: [Failure instance: Traceback: <type 'exceptions.AttributeError'>: 'Process' object has no attribute 'memory_full_info'
/usr/lib/python2.7/dist-packages/twisted/internet/base.py:1194:run
/usr/lib/python2.7/dist-packages/twisted/internet/base.py:1203:mainLoop
/usr/lib/python2.7/dist-packages/twisted/internet/base.py:825:runUntilCurrent
/usr/lib/python2.7/dist-packages/twisted/internet/task.py:239:__call__
--- <exception caught here> ---
/usr/lib/python2.7/dist-packages/twisted/internet/defer.py:150:maybeDeferred
/usr/share/tribler/Tribler/Core/Modules/resource_monitor.py:48:check_resources
]

win32 release is wroking after your fix btw

Today I have installed the 3rd generation of Tribler 7. Windows 8.1 *64

My first impression is very positive.
No crash, i could also add magnet links.
I’ve seen download speeds of more 400kbs with 3 hops.

With small steps it becomes better.

UPDATE 8-10

I have downloaded 2 movies and it goes well, variables speeds to 400 KB/s We know that this is normal for Tribler with useing 3 hops.

You must take the time when using Tribler.

Lex

Running the 32bit Windows version results in the following error:

Traceback (most recent call last):
  File "TriblerGUI\core_manager.py", line 133, 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
    
--- <exception caught here> ---
  File "lib\site-packages\twisted\internet\base.py", line 430, in _continueFiring
    
  File "TriblerGUI\core_manager.py", line 60, 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 556, in start
    
  File "Tribler\Core\APIImplementation\LaunchManyCore.py", line 180, in register
    
  File "Tribler\Core\APIImplementation\LaunchManyCore.py", line 257, 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 1618, 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

It starts on 64bit Windows 7 with following errors:

INFO    1508061988.21 single_application:23    __init__()
INFO    1508061988.23 single_application:49      self._outSocket.error() = '2'
INFO    1508061988.23 single_application:60    __init__(): returning
Warning: option --plugin-path no longer exists.
Warning: option --plugin-path no longer exists.
INFO    1508061990.65 event_request_manager:117   Will connect to events endpoint
qt.network.ssl: QSslSocket: cannot resolve SSL_set_alpn_protos
qt.network.ssl: QSslSocket: cannot resolve SSL_CTX_set_alpn_select_cb
qt.network.ssl: QSslSocket: cannot resolve SSL_get0_alpn_selected
INFO    1508061993.01 event_request_manager:42    Got Tribler core error: 1
INFO    1508062008.98 event_request_manager:117   Will connect to events endpoint

Even though There are some errors it it is downloading torrents without a problem and GUI works. Great job!

Edit:
After running for some time It looks like I get repeatedly the same exceptions:

Unhandled Error
Traceback (most recent call last):
  File "lib\multiprocessing\process.py", line 114, in run

  File "TriblerGUI\core_manager.py", line 63, in start_tribler_core

  File "lib\site-packages\twisted\internet\base.py", line 1243, in run

  File "lib\site-packages\twisted\internet\base.py", line 1252, in mainLoop

--- <exception caught here> ---
  File "lib\site-packages\twisted\internet\base.py", line 851, in runUntilCurrent

  File "Tribler\community\tunnel\tunnel_community.py", line 1202, in on_data

  File "Tribler\community\tunnel\Socks5\server.py", line 350, in on_incoming_from_tunnel

  File "Tribler\community\tunnel\Socks5\server.py", line 277, in on_incoming_from_tunnel

  File "Tribler\community\tunnel\Socks5\server.py", line 43, in sendDatagram

  File "lib\site-packages\twisted\internet\udp.py", line 298, in write

socket.error: [Errno 10035] A non-blocking socket operation could not be completed immediately

I like the new look and downloads don’t stall anymore :smile:
shift or control to select downloads for performing a groupaction does not work.
I get the following error a lot:
socket.error: [Errno 10035] Een niet-blokkerende socketbewerking kan niet onmiddellijk worden voltooid

the screen automatically resizes when entering a sarch string to match the string.
I had it resize to 4 times my screen in width, that makes scrolling hard.

Decided to give this a shot. Downloaded it, installed, and:

Import error: No module named psutil

So it seems it depends on this as well, which is yet another dependency not noted.

OS: Xubuntu 16.04.

Using latest Windows 10 x64. Here’s the output from the console upon startup:

INFO 1508559983.71 single_application:23 init()
INFO 1508559983.72 single_application:49 self._outSocket.error() = '2’
INFO 1508559983.72 single_application:60 init(): returning
Warning: option --plugin-path no longer exists.
Warning: option --plugin-path no longer exists.
INFO 1508559984.77 event_request_manager:117 Will connect to events endpoint
qt.network.ssl: QSslSocket: cannot resolve SSL_set_alpn_protos
qt.network.ssl: QSslSocket: cannot resolve SSL_CTX_set_alpn_select_cb
qt.network.ssl: QSslSocket: cannot resolve SSL_get0_alpn_selected
INFO 1508559988.20 event_request_manager:42 Got Tribler core error: 1
INFO 1508559991.16 event_request_manager:117 Will connect to events endpoint

Basically works, but a few strange things. First off, the memory use creeps up to well over a GB whenever downloading anything. This was true of the previous release candidate as well.

I’m not sure if it’s normal or not, but when adding a magnet link (maybe torrent too, but I almost always use magnet linkes), it seems to really take it’s time getting metadata or building circuits sometimes, at least on the first try/startup. I’ve also had a torrent or two that SAID waiting on metadata, but the file actually downloaded without updating the GUI… I re-opened tribler and it did “checking,” and went straight to seeding.

Also, the app will not close on its own. I always have to kill it in task manager. This registers in the Windows Event Log as an application hang (event ID 1002, task category 101). Here are the details of that:

The program tribler.exe version 0.0.0.0 stopped interacting with Windows and was closed. To see if more information about the problem is available, check the problem history in the Security and Maintenance control panel.
Process ID: 1674
Start Time: 01d34a1e3ded6e81
Termination Time: 4294967295
Application Path: C:\Program Files\Tribler\tribler.exe
Report Id: 6ae86937-0884-4d8a-a9e9-ce3a608c855f
Faulting package full name:
Faulting package-relative application ID:

I can confirm this. Testing on a Windows 7 x64 system results in similar errors. Downloading torrents anonymously is still impossible.

Has any progress been made in resolving this issue?

Edit 06-11-2017:

I have managed to get this beta to work by installing it as administrator and by deleting the file tribler.conf before running it.

One other (possible) problem though, whenever I want to select unlimited seeding, it appears as if all my uploads are cut-off until I switch back to a predefined up/down ratio.

windows 10. I can’t use tribler 7. I am in japan. help

INFO 1511145479.90 single_application:23 init()
INFO 1511145479.91 single_application:49 self._outSocket.error() = '2’
INFO 1511145479.92 single_application:60 init(): returning
Warning: option --plugin-path no longer exists.
Warning: option --plugin-path no longer exists.
INFO 1511145481.31 event_request_manager:117 Will connect to events endpoint
qt.network.ssl: QSslSocket: cannot resolve SSL_set_alpn_protos
qt.network.ssl: QSslSocket: cannot resolve SSL_CTX_set_alpn_select_cb
qt.network.ssl: QSslSocket: cannot resolve SSL_get0_alpn_selected
INFO 1511145484.80 event_request_manager:42 Got Tribler core error: 1
INFO 1511145489.90 event_request_manager:117 Will connect to events endpoint