-
-
Notifications
You must be signed in to change notification settings - Fork 69
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
What happened?
torrra crashes when download details of some torrent is selected
RuntimeError: missing info-hash from URI [libtorrent:22]
Version
torrra 2.0.6
OS and architecture
Arch Linux x86_64 (running inside an Ubuntu container tho)
Terminal Output or Logs
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── Traceback (most recent call last) ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ /usr/local/lib/python3.12/dist-packages/torrra/screens/home.py:60 in on_mount │
│ │
│ 57 │ │ tm, dm = get_torrent_manager(), get_download_manager() │
│ 58 │ │ torrents = tm.get_all_torrents() │
│ 59 │ │ for torrent in torrents: │
│ ❱ 60 │ │ │ dm.add_torrent( │
│ 61 │ │ │ │ torrent["magnet_uri"], │
│ 62 │ │ │ │ is_paused=torrent["is_paused"], │
│ 63 │ │ │ ) │
│ │
│ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── locals ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │
│ │ dm = <torrra.core.download.DownloadManager object at 0x7f9bd34606e0> │ │
│ │ self = HomeScreen() │ │
│ │ tm = <torrra.core.torrent.TorrentManager object at 0x7f9bd3460710> │ │
│ │ torrent = {'magnet_uri': 'magnet:?btih:DEFB9C145D0F2C9B7DED174D9B534187F5D3D598&dn=Predator+1987+RiffTrax+'+39, 'title': 'Predator 1987 1080p', 'size': 13958643712.0, 'source': 'jackett', 'is_paused': False, 'is_notified': False} │ │
│ │ torrents = [ │ │
│ │ │ { │ │
│ │ │ │ 'magnet_uri': 'magnet:?xt=urn:btih:D10FE5687C1A99824D20A80D06CCC21F7AE4C765&dn=Dunkirk+2017+108'+36, │ │
│ │ │ │ 'title': 'www.UIndex.org - Dunkirk 2017 1080p PCOK WEB-DL DDP 5 1 H 264-PiRaTeS', │ │
│ │ │ │ 'size': 6545818395.0, │ │
│ │ │ │ 'source': 'jackett', │ │
│ │ │ │ 'is_paused': False, │ │
│ │ │ │ 'is_notified': False │ │
│ │ │ }, │ │
│ │ │ {'magnet_uri': 'magnet:?xt=urn:btih:8A58034657C864633803B70E3FBBF5F253C05B99&dn=The+Longest+Day+'+47, 'title': 'The Longest Day 1962 1080p BluRay', 'size': 2254857728.0, 'source': 'jackett', 'is_paused': False, 'is_notified': False}, │ │
│ │ │ {'magnet_uri': 'magnet:?xt=urn:btih:1A239BFF1F6A041DF82BA9C471BF569D65ED1D15&dn=The.Housemaid.20'+40, 'title': 'The.Housemaid.2025.1080p.WEBRip.AAC5.1.10bits.x265-Rapta.mkv', 'size': 1402165027.0, 'source': 'jackett', 'is_paused': False, 'is_notified': True}, │ │
│ │ │ {'magnet_uri': 'magnet:?xt=urn:btih:71A811B77DBA3993F65D0D20F113BCD155DC2750&dn=Marty+Supreme+20'+34, 'title': 'Marty Supreme 2025 1080p WEB-DL HEVC x265 5.1 BONE.mkv', 'size': 2107914059.0, 'source': 'jackett', 'is_paused': False, 'is_notified': False}, │ │
│ │ │ {'magnet_uri': 'magnet:?xt=urn:btih:11449F1D334EDEEACD32CF4799048F18816A1683&dn=Primate+2026+108'+33, 'title': 'www.UIndex.org - Primate 2026 1080p AMZN WEB-DL DDP5 1 H 264-KyoGo', 'size': 4317733013.0, 'source': 'jackett', 'is_paused': False, 'is_notified': False}, │ │
│ │ │ {'magnet_uri': 'magnet:?xt=urn:btih:1FF7786F047C0920816053085FB5CD14365ADFE9&dn=The+Wrecking+Cre'+31, 'title': 'The Wrecking Crew (2026) [1080p] [WEBRip] [5.1] [YTS.BZ]', 'size': 2460095360.0, 'source': 'jackett', 'is_paused': False, 'is_notified': False}, │ │
│ │ │ {'magnet_uri': 'magnet:?xt=urn:btih:5CB6C44712D494A87E8554839FB0541046B157AF&dn=Anaconda+(2025)+'+22, 'title': 'Anaconda 2025 1080p', 'size': 1957687296.0, 'source': 'jackett', 'is_paused': False, 'is_notified': False}, │ │
│ │ │ {'magnet_uri': 'magnet:?xt=urn:btih:2D6BCE31F5DBFC953E2513DD49103D8AF8AF4957&dn=Return+To+Silent'+40, 'title': 'Return to Silent Hill 2026 1080p', 'size': 1395864371.0, 'source': 'jackett', 'is_paused': False, 'is_notified': False}, │ │
│ │ │ {'magnet_uri': 'magnet:?xt=urn:btih:78E4BCFC629D61B0381C14759D26DD633CE27320&dn=We.Bury.The.Dead'+45, 'title': 'We Bury the Dead 2026 1080p', 'size': 1205862400.0, 'source': 'jackett', 'is_paused': False, 'is_notified': False}, │ │
│ │ │ {'magnet_uri': 'magnet:?xt=urn:btih:D5BEAC0A4F81C1C0B0F3C99CD81391F685543619&dn=F1+The+Movie+202'+33, 'title': 'F1 The Movie 2025 1080p', 'size': 2791727104.0, 'source': 'jackett', 'is_paused': False, 'is_notified': False}, │ │
│ │ │ ... +50 │ │
│ │ ] │ │
│ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ │
│ │
│ /usr/local/lib/python3.12/dist-packages/torrra/core/download.py:47 in add_torrent │
│ │
│ 44 │ │ │ │ return ╭────────────────────────────────────────────── locals ──────────────────────────────────────────────╮ │
│ 45 │ │ │ is_paused = False │ │
│ 46 │ │ # Parse the magnet URI into torrent parameters (modern libtorrent 2.x API) │ magnet_uri = 'magnet:?btih:DEFB9C145D0F2C9B7DED174D9B534187F5D3D598&dn=Predator+1987+RiffTrax+'+39 │ │
│ ❱ 47 │ │ atp = lt.parse_magnet_uri(magnet_uri) │ self = <torrra.core.download.DownloadManager object at 0x7f9bd34606e0> │ │
│ 48 │ │ atp.save_path = get_config().get("general.download_path") ╰────────────────────────────────────────────────────────────────────────────────────────────────────╯ │
│ 49 │ │ if is_paused: │
│ 50 │ │ │ atp.flags |= lt.torrent_flags.paused │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
RuntimeError: missing info-hash from URI [libtorrent:22]
sys:1: RuntimeWarning: coroutine 'Screen._watch_selections' was never awaited
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
[freeflix] Torra exited. Press enter for shell.
indexer │ downloads │ telegram │ chat │ shell
[freeflix]0:docker* "/home/evilsocket/Lab/" 11:57 13-Feb-26Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working