Skip to content

KeyError: 'UDPIPv4' #8826

@melty-glass

Description

@melty-glass

I'm on Arch Linux, so I'm using the tribler-bin package from the AUR. It worked perfectly for a while, but recently I closed Tribler to shut down my device, and the next time I tried to open it I got an xmessage window that simply says UDPIPv4. It didn't open the app in the browser at all. Not sure if this is an error with tribler-bin specifically or Tribler itself.

Log file contents:

INFO:__main__:Run Tribler: {'torrent': '', 'log_level': 'INFO', 'server': False}
INFO:__main__:Root state dir: /home/jolly/.Tribler
INFO:tribler.tribler_config:Load: /home/jolly/.Tribler/8.0/configuration.json.
INFO:__main__:Creating session. API port: 0. API key: 641c38b747c51315d78d23e549d26f93.
INFO:RESTManager:Starting RESTManager...
INFO:RESTManager:Set security scheme and apply to all endpoints
INFO:RESTManager:Remove head
/opt/hostedtoolcache/Python/3.12.11/x64/lib/python3.12/site-packages/apispec/ext/marshmallow/openapi.py:134: UserWarning: Multiple schemas resolved to the name AddTrackerRequest. The name has been modified. Either manually add each of the schemas with a different name or provide a custom schema_name_resolver.
/opt/hostedtoolcache/Python/3.12.11/x64/lib/python3.12/site-packages/apispec/ext/marshmallow/openapi.py:134: UserWarning: Multiple schemas resolved to the name AddTrackerResponse. The name has been modified. Either manually add each of the schemas with a different name or provide a custom schema_name_resolver.
/opt/hostedtoolcache/Python/3.12.11/x64/lib/python3.12/site-packages/apispec/ext/marshmallow/openapi.py:134: UserWarning: Multiple schemas resolved to the name GetMetainfoResponse. The name has been modified. Either manually add each of the schemas with a different name or provide a custom schema_name_resolver.
INFO:RESTManager:Http enabled
INFO:RESTManager:Starting HTTP REST API server on port 0...
INFO:RESTManager:HTTP REST API server started on port 42381
INFO:RESTManager:Swagger docs: http://127.0.0.1:42381/docs
INFO:RESTManager:Swagger JSON: http://127.0.0.1:42381/docs/swagger.json
INFO:Socks5Server:Started SOCKS5 server on port 36331
INFO:Socks5Server:Started SOCKS5 server on port 45039
INFO:Socks5Server:Started SOCKS5 server on port 46791
INFO:Socks5Server:Started SOCKS5 server on port 38213
INFO:Socks5Server:Started SOCKS5 server on port 43511
INFO:tribler.core.libtorrent.download_manager.download_manager:Creating a session
INFO:tribler.core.libtorrent.download_manager.download_manager:Hops: 0.
INFO:tribler.core.libtorrent.download_manager.download_manager:Libtorrent ip+port set to 0.0.0.0:0
INFO:tribler.core.libtorrent.download_manager.download_manager:Started libtorrent session for 0 hops on port 0
INFO:tribler.core.libtorrent.download_manager.download_manager:Creating a session
INFO:tribler.core.libtorrent.download_manager.download_manager:Hops: 1.
INFO:tribler.core.libtorrent.download_manager.download_manager:Libtorrent ip+port set to 0.0.0.0:0
INFO:tribler.core.libtorrent.download_manager.download_manager:Started libtorrent session for 1 hops on port 0
INFO:IPv8CommunityLoader:Loading overlay <class 'abc.DatabaseComponent'>
INFO:IPv8CommunityLoader:Loading overlay <class 'ipv8.dht.discovery.DHTDiscoveryCommunity'>
INFO:DHTDiscoveryCommunity:DHT community initialized (peer mid b'aa35f1e269396616ea67201304801f2a524961da')
INFO:IPv8CommunityLoader:Loading overlay <class 'tribler.core.recommender.community.RecommenderCommunity'>
INFO:IPv8CommunityLoader:Loading overlay <class 'tribler.core.rendezvous.community.RendezvousCommunity'>
INFO:IPv8CommunityLoader:Loading overlay <class 'abc.RSSComponent'>
INFO:TrackerManager:No tracker blacklist file found at /home/jolly/.Tribler/8.0/tracker_blacklist.txt.
INFO:IPv8CommunityLoader:Loading overlay <class 'abc.TorrentCheckerComponent'>
INFO:IPv8CommunityLoader:Loading overlay <class 'tribler.core.tunnel.community.TriblerTunnelCommunity'>
INFO:TriblerTunnelCommunity:Exit settings: BT=False, IPv8=False
********************************************************************************
A KeyError occurred
********************************************************************************
Traceback (most recent call last):
  File "src/tribler/run.py", line 257, in main
  File "/home/runner/work/tribler/tribler/src/tribler/core/session.py", line 237, in start
  File "/home/runner/work/tribler/tribler/pyipv8/ipv8/loader.py", line 174, in load
  File "/home/runner/work/tribler/tribler/pyipv8/ipv8/loader.py", line 209, in _launch
  File "/home/runner/work/tribler/tribler/src/tribler/core/tunnel/community.py", line 88, in __init__
  File "/home/runner/work/tribler/tribler/pyipv8/ipv8/messaging/anonymization/hidden_services.py", line 82, in __init__
  File "/home/runner/work/tribler/tribler/pyipv8/ipv8/messaging/anonymization/community.py", line 196, in __init__
KeyError: 'UDPIPv4'

********************************************************************************
Warning: Missing charsets in String to FontSet conversion

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions