NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.82k stars 13.92k forks source link

transgui error message with Transmission 3.0 server - Duplicate object member: "status" #97430

Open agm65 opened 4 years ago

agm65 commented 4 years ago

Describe the bug transgui 5.18.0 error message - Duplicate object member: "status". Screenshot from 2020-09-08 17-02-24

To Reproduce Opening application and connecting to Transmission server remote RPC running version 3.00. i.e. Both client and server are current nixos-unstable.

Expected behavior Connect to server normally

Additional context

Able to fix it with patch mentioned here https://gitmemory.com/issue/transmission-remote-gui/transgui/1325/670599265

  # Package Overrides
  nixpkgs.config.packageOverrides = super: let self = super.pkgs; in
  rec {
    transgui = super.transgui.overrideAttrs (oldAttrs: rec {
      patches =
      [ (pkgs.fetchpatch {
          url = "https://patch-diff.githubusercontent.com/raw/transmission-remote-gui/transgui/pull/1329.patch";
          sha256 = "09709v8lyh6m5cagckyqw7ial0z6jxnwqz9x5l32ff1zcd3y441h";
        })
      ];
    });
  };

Notify maintainers @ramkromberg

Metadata

Maintainer information:

# a list of nixpkgs attributes affected by the problem
attribute: transgui
# a list of nixos modules affected by the problem
module:
agm65 commented 4 years ago

upstream links transmission-remote-gui/transgui#1325 transmission-remote-gui/transgui#1329

RamKromberg commented 3 years ago

The daemon's rpc changes between v2 and v3 don't seem to end with just this patch so unless upstream reviews it, I don't feel it's worth risking data loss when the webgui is already served by the daemon.

Having said that, I won't object to a pull request for the patch that also replaces me as the maintainer.

stale[bot] commented 3 years ago

I marked this as stale due to inactivity. → More info