Skip to content
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

First Tribler 8.04 test conversion old library #8271

Closed
Nubro01 opened this issue Nov 23, 2024 · 2 comments · Fixed by #8273
Closed

First Tribler 8.04 test conversion old library #8271

Nubro01 opened this issue Nov 23, 2024 · 2 comments · Fixed by #8273
Assignees
Milestone

Comments

@Nubro01
Copy link

Nubro01 commented Nov 23, 2024

Hi! I was using Tribler and THIS happened! 😢

Traceback (most recent call last):
  File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\asyncio\events.py", line 80, in _run
  File "D:\a\tribler\tribler\pyipv8\ipv8\taskmanager.py", line 153, in done_cb
  File "D:\a\tribler\tribler\pyipv8\ipv8\taskmanager.py", line 28, in interval_runner
  File "D:\a\tribler\tribler\src\tribler\core\torrent_checker\torrent_checker.py", line 280, in check_local_torrents
  File "D:\a\tribler\tribler\src\tribler\core\torrent_checker\torrent_checker.py", line 280, in <listcomp>
  File "D:\a\tribler\tribler\src\tribler\core\torrent_checker\torrent_checker.py", line 343, in check_torrent_health
  File "D:\a\tribler\tribler\src\tribler\core\torrent_checker\torrent_checker.py", line 371, in create_session_for_request
TypeError: '>' not supported between instances of 'str' and 'int'

rE@http://127.0.0.1:51452/ui/assets/index.9ee516a5.js:80:336

@qstokkink qstokkink added this to the 8.0.5 milestone Nov 23, 2024
@qstokkink
Copy link
Contributor

Thanks for reporting! This seems similar to #8270. However, in this case, the key in your configuration file (%APPDATA%/.Tribler/8.0/configuration.json) that got corrupted was libtorrent / download_defaults / number_hops.

I'll rework the workaround from #8270 for your case. You have the following workarounds available:

a. Remove the quotes around the value of number_hops. For example, 1 instead of "1".
b. Remove the entire configuration.json to reset to default settings.

Thanks to your comment that this happened after conversion, I think I know how to fix this now.

@qstokkink
Copy link
Contributor

This will be fixed in the upcoming 8.0.5 version. In the next version, you can remove the .upgraded and configuration.json files from your .Tribler/8.0 directory and importing your old settings should work correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

2 participants