-
Notifications
You must be signed in to change notification settings - Fork 452
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to build circuits #5486
Comments
Oh, sometimes I guess we'll have to add a |
My ('::', 43742) |
This fixes it for me: diff --git a/src/tribler-core/tribler_core/modules/libtorrent/download_manager.py b/src/tribler-core/tribler_core/modules/libtorrent/download_manager.py
index d7c188322..f2e07809a 100644
--- a/src/tribler-core/tribler_core/modules/libtorrent/download_manager.py
+++ b/src/tribler-core/tribler_core/modules/libtorrent/download_manager.py
@@ -347,7 +347,7 @@ class DownloadManager(TaskManager):
self._logger.debug("Got alert for unknown download %s: %s", hexlify(infohash), alert)
if alert_type == 'listen_succeeded_alert':
- self.listen_ports[hops] = alert.port
+ self.listen_ports[hops] = alert.endpoint[1]
elif alert_type == 'peer_disconnected_alert' and \
self.tribler_session and self.tribler_session.payout_manager: |
Now let's hope that the |
Well the |
Just tested it with 1.2.7 and the |
@qstokkink Do you want the honor of making a PR for this? |
What I posted here is probably super flimsy though. I am completely open to more.. mature fixes. We should also add this version to our validation experiment https://jenkins-ci.tribler.org/job/validation_experiments/job/validation_experiment_libtorrent_compatibility/. This is the default on Ubuntu 20.04 after all. |
Looking at: https://github.com/arvidn/libtorrent/blob/RC_1_2/bindings/python/src/alert.cpp#L636-L638 The |
It seems that means its deprecated to use the https://github.com/arvidn/libtorrent/blob/RC_1_2/include/libtorrent/aux_/export.hpp#L41-L45 I guess we'll have to use |
Alright, I think I have enough information to make a PR. |
Concerns:
release-7.5
devel
OS: Ubuntu 20.04
python3-libtorrent:
1.1.13-1.1build2
(Ubuntu 20.04 default version)I am unable to build circuits on the latest commit. I have worked down the line for the
release-7.5
branch and found the following behavior:Is this due to a lack of peers running the latest commit or is this a bug?
Here is the log for the crashes:
The text was updated successfully, but these errors were encountered: