Bug#1106237: fragments: unusable due to serde error
Fabian Grünbichler
debian at fabian.gruenbichler.email
Thu May 22 20:46:24 BST 2025
On Wed, 21 May 2025 22:23:04 +0200 "Andrea Pappacoda" <tachi at debian.org> wrote:
> Package: fragments
> Version: 3.0.1-8
> Severity: serious
>
> Hi!
>
> It seems that the fragments package is currently completely unusable, as
> it doesn't work even when no transmission-daemon is running system-wide.
>
> At the time of writing, the version of transmission-daemon on my trixie
> system is 4.1.0~beta2+dfsg-2.
>
> Bye!
This seems to have been fixed upstream in the transmission-client crate:
https://gitlab.gnome.org/haecker-felix/transmission-client/-/commit/29e109cd2ebd653683b48d343a885564e3eb3bf7
Might be related to updating to a transmission beta release rather late
in the freeze, but I haven't found the daemon-side change yet..
In any case a targeted cherry-pick of that commit above to
rust-transmission-client followed by a rebuild of fragments should fix
the issue!
> Here's a full log which should shows what's wrong:
>
> DEBUG fragments::app > Fragments (de.haeckerfelix.Fragments) () - Version 3.0.1 (default)
> DEBUG fragments::backend::connection_manager::imp > Read connection data
> DEBUG fragments::app::imp > Activate GIO Application...
> INFO fragments::app::imp > Created application window.
> DEBUG fragments::backend::connection_manager::imp > Write connection data
> DEBUG fragments::backend::connection_manager > Connect to http://127.0.0.1:9091/transmission/rpc
> DEBUG fragments::backend::daemon > Start transmission daemon...
> DEBUG fragments::backend::daemon > Daemon args: [
> "-f",
> "--no-auth",
> "--config-dir",
> "/home/tachi/.config/fragments",
> "--port",
> "9091",
> "--rpc-bind-address",
> "0.0.0.0",
> "--allowed",
> "127.0.0.1,::1",
> ]
> DEBUG fragments::backend::connection_manager::imp > Setting client polling rate to 1500ms (Regular)
> DEBUG transmission_gobject::client::imp > Connect to http://127.0.0.1:9091/transmission/rpc ...
> DEBUG transmission_client::client > Received status code 409, resend request.
> ERROR transmission_client::client > Unable to parse json: arguments (arguments: invalid type: floating point `100.0`, expected i32 at line 1 column 1950)
> WARN transmission_client::client > Path: arguments
> WARN transmission_client::client > JSON: {"arguments":{"alt-speed-down":50,"alt-speed-enabled":false,"alt-speed-time-begin":540,"alt-speed-time-day":127,"alt-speed-time-enabled":false,"alt-speed-time-end":1020,"alt-speed-up":50,"anti-brute-force-enabled":false,"anti-brute-force-threshold":100,"blocklist-enabled":false,"blocklist-size":0,"blocklist-url":"http://www.example.com/blocklist","cache-size-mb":4,"config-dir":"/home/tachi/.config/fragments","default-trackers":"","dht-enabled":true,"download-dir":"/home/tachi/Scaricati","download-dir-free-space":1705903861760,"download-queue-enabled":true,"download-queue-size":5,"encryption":"preferred","idle-seeding-limit":30,"idle-seeding-limit-enabled":false,"incomplete-dir":"/home/tachi/Scaricati","incomplete-dir-enabled":false,"lpd-enabled":true,"peer-limit-global":200,"peer-limit-per-torrent":50,"peer-port":51413,"peer-port-random-on-start":false,"pex-enabled":true,"port-forwarding-enabled":true,"queue-stalled-enabled":true,"queue-stalled-minutes":30,"rename-partial-files":true,"reqq":2000,"rpc-version":18,"rpc-version-minimum":14,"rpc-version-semver":"5.4.0","script-torrent-added-enabled":false,"script-torrent-added-filename":"","script-torrent-done-enabled":false,"script-torrent-done-filename":"","script-torrent-done-seeding-enabled":false,"script-torrent-done-seeding-filename":"","seed-queue-enabled":false,"seed-queue-size":10,"seedRatioLimit":2.0,"seedRatioLimited":false,"sequential_download":false,"session-id":"icWhPN9AahdutpIEWCBeUcaFc9vQWnN4TQI0lN13U6X0KWCm","speed-limit-down":100.0,"speed-limit-down-enabled":false,"speed-limit-up":100.0,"speed-limit-up-enabled":false,"start-added-torrents":true,"tcp-enabled":true,"trash-original-torrent-files":false,"units":{"memory-bytes":1024,"memory-units":["B","KiB","MiB","GiB","TiB"],"size-bytes":1000,"size-units":["B","kB","MB","GB","TB"],"speed-bytes":1000,"speed-units":["B/s","kB/s","MB/s","GB/s","TB/s"]},"utp-enabled":true,"version":"4.1.0-beta.2 (ac5c9e082d)"},"result":"success"}
> ERROR fragments::backend::connection_manager > Unable to start transmission-daemon: serde_json error
> WARN fragments::ui::connection_box > Failed to establish a connection with the Transmission service (“transmission error”).
> [2025-05-21T20:48:48.914+0200] inf session.cc:419 Listening to incoming peer connections on 0.0.0.0:51413 (session.cc:419)
> [2025-05-21T20:48:48.914+0200] inf session.cc:419 Listening to incoming peer connections on [::]:51413 (session.cc:419)
> [2025-05-21T20:48:48.915+0200] inf port-forwarding.cc:216 State changed from 'Not forwarded' to 'Starting' (port-forwarding.cc:216)
> [2025-05-21T20:48:48.915+0200] inf tr-udp.cc:200 Bound UDP IPv4 address 0.0.0.0:51413 (tr-udp.cc:200)
> [2025-05-21T20:48:48.915+0200] inf tr-udp.cc:245 Bound UDP IPv6 address [::]:51413 (tr-udp.cc:245)
> [2025-05-21T20:48:48.918+0200] inf rpc-server.cc:785 Added '127.0.0.1' to host whitelist (rpc-server.cc:785)
> [2025-05-21T20:48:48.918+0200] inf rpc-server.cc:785 Added '::1' to host whitelist (rpc-server.cc:785)
> [2025-05-21T20:48:48.918+0200] inf rpc-server.cc:919 Serving RPC and Web requests on 0.0.0.0:9091/transmission/ (rpc-server.cc:919)
> [2025-05-21T20:48:48.918+0200] inf rpc-server.cc:733 Listening for RPC and Web requests on '0.0.0.0:9091' (rpc-server.cc:733)
> [2025-05-21T20:48:48.918+0200] inf rpc-server.cc:924 Whitelist enabled (rpc-server.cc:924)
> [2025-05-21T20:48:48.918+0200] inf rpc-server.cc:935 Serving RPC and Web requests from '/usr/share/transmission/public_html' (rpc-server.cc:935)
> [2025-05-21T20:48:48.918+0200] inf daemon.cc:746 Loading settings from '/home/tachi/.config/fragments' (daemon.cc:746)
> DEBUG fragments::ui::window::imp > Saving window geometry.
> DEBUG fragments::backend::connection_manager::imp > Setting client polling rate to 5000ms (InactiveWindow)
>
>
More information about the pkg-gnome-maintainers
mailing list