Getting this error when adding torrents to Deluge. It seems to work for most torrents and then stop at a random point. I am unable to tell if it has processed all the torrents or not.
$ at2 add deluge torrents/.torrent | grep Added
[Added] 'b15df568fb5d2672c200b2cc9b751d7585938ddc.torrent' added
Traceback (most recent call last):
File "/usr/local/bin/at2", line 8, in
sys.exit(cli())
File "/opt/autotorrent2/lib/python3.10/site-packages/click/core.py", line 1130, in call
return self.main(args, kwargs)
File "/opt/autotorrent2/lib/python3.10/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/opt/autotorrent2/lib/python3.10/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/opt/autotorrent2/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, ctx.params)
File "/opt/autotorrent2/lib/python3.10/site-packages/click/core.py", line 760, in invoke
return __callback(*args, *kwargs)
File "/opt/autotorrent2/lib/python3.10/site-packages/click/decorators.py", line 26, in new_func
return f(get_current_context(), args, **kwargs)
File "/opt/autotorrent2/lib/python3.10/site-packages/autotorrent/main.py", line 487, in add
torrent = parse_torrent(torrent_data, utf8_compat_mode=db.utf8_compat_mode)
File "/opt/autotorrent2/lib/python3.10/site-packages/autotorrent/utils.py", line 621, in parse_torrent
tracker = tracker.decode()
AttributeError: 'int' object has no attribute 'decode'
Getting this error when adding torrents to Deluge. It seems to work for most torrents and then stop at a random point. I am unable to tell if it has processed all the torrents or not.
$ at2 add deluge torrents/.torrent | grep Added [Added] 'b15df568fb5d2672c200b2cc9b751d7585938ddc.torrent' added Traceback (most recent call last): File "/usr/local/bin/at2", line 8, in
sys.exit(cli())
File "/opt/autotorrent2/lib/python3.10/site-packages/click/core.py", line 1130, in call
return self.main( args, kwargs)
File "/opt/autotorrent2/lib/python3.10/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/opt/autotorrent2/lib/python3.10/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/opt/autotorrent2/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, ctx.params)
File "/opt/autotorrent2/lib/python3.10/site-packages/click/core.py", line 760, in invoke
return __callback(*args, *kwargs)
File "/opt/autotorrent2/lib/python3.10/site-packages/click/decorators.py", line 26, in new_func
return f(get_current_context(), args, **kwargs)
File "/opt/autotorrent2/lib/python3.10/site-packages/autotorrent/main.py", line 487, in add
torrent = parse_torrent(torrent_data, utf8_compat_mode=db.utf8_compat_mode)
File "/opt/autotorrent2/lib/python3.10/site-packages/autotorrent/utils.py", line 621, in parse_torrent
tracker = tracker.decode()
AttributeError: 'int' object has no attribute 'decode'