Matching 1 torrent
Traceback (most recent call last):
File "/home/username/bin/at2", line 8, in <module>
sys.exit(cli())
File "/home/username/.autotorrent/lib/python3.9/site-packages/click/core.py", line 1130, in __call__
return self.main(*args, **kwargs)
File "/home/username/.autotorrent/lib/python3.9/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/home/username/.autotorrent/lib/python3.9/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/username/.autotorrent/lib/python3.9/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/username/.autotorrent/lib/python3.9/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/home/username/.autotorrent/lib/python3.9/site-packages/click/decorators.py", line 26, in new_func
return f(get_current_context(), *args, **kwargs)
File "/home/username/.autotorrent/lib/python3.9/site-packages/autotorrent/__main__.py", line 485, in add
torrent = parse_torrent(torrent_data, utf8_compat_mode=db.utf8_compat_mode)
File "/home/username/.autotorrent/lib/python3.9/site-packages/autotorrent/utils.py", line 618, in parse_torrent
tracker = tracker.decode()
AttributeError: 'list' object has no attribute 'decode'
If I download the same torrent from the site directly, at2 is able to add it. However, the exact same torrent downloaded by cross-seed throws this error. I am at a loss as to why. Both torrent files, when added to a torrent client like qBittorrent work fine.
When I cat the torrent file that is causing the error, it does have the announce at the top:
Error:
If I download the same torrent from the site directly, at2 is able to add it. However, the exact same torrent downloaded by cross-seed throws this error. I am at a loss as to why. Both torrent files, when added to a torrent client like qBittorrent work fine.
When I cat the torrent file that is causing the error, it does have the announce at the top:
This is the same torrent's torrent file but at2 is able to add this one:
Looks like cross-seed is already decoding the announce list and then saving torrent file and that is the difference.