Package: python3-libtorrent
Version: 1.2.9-0.2+b2
Severity: important
Tags: patch upstream
Dear Maintainer,
Trying to move a torrent using deluge-console results in the following
error:
ArgumentError
Python argument types in
torrent_handle.move_storage(torrent_handle, str)
did not match C++ signature:
move_storage(libtorrent::torrent_handle {lvalue},
std::__cxx11::basic_string, std::allocator >
path, libtorrent::move_flags_t
flags=libtorrent.move_flags_t.always_replace_files): Traceback (most recent
call last):
File "/usr/lib/python3/dist-packages/deluge/core/torrent.py", line 1246, in
move_storage
self.handle.move_storage(dest.encode('utf8'), flags=2)
Boost.Python.ArgumentError: Python argument types in
torrent_handle.move_storage(torrent_handle, bytes)
did not match C++ signature:
move_storage(libtorrent::torrent_handle {lvalue},
std::__cxx11::basic_string, std::allocator >
path, libtorrent::move_flags_t
flags=libtorrent.move_flags_t.always_replace_files)
Upstream fixed this issue in patch [1]
[1]:
https://github.com/arvidn/libtorrent/pull/5093/commits/370da7df0a6624333ad92f43f79c8a385d928f48
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'testing-security'), (500,
'testing-debug'), (500, 'testing'), (50, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.10.0-6-amd64 (SMP w/12 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages python3-libtorrent depends on:
ii libboost-python1.74.0 [libboost-python1.74.0-py39] 1.74.0-9
ii libc6 2.31-11
ii libgcc-s1 10.2.1-6
ii libssl1.1 1.1.1k-1
ii libstdc++6 10.2.1-6
ii libtorrent-rasterbar10 1.2.9-0.2+b2
ii python3 3.9.2-2
python3-libtorrent recommends no packages.