Opened 13 years ago

Closed 13 years ago

#1055 closed Bug (fixed)

transmission-remote --list outputs an empty list

Reported by: skyde Owned by: charles
Priority: Normal Milestone: 1.30
Component: Daemon Version: 1.22+
Severity: Normal Keywords: remote
Cc:

Description

On 1.22+ (r6245), tr-remote --list displays only the headers of the fields, no matter how many torrents there are. tr-remote --list --debug shows that the list is received as supposed, tr-remote just doesn't output it.

Full output of tr-remote --list --debug with two torrents:

> POST /transmission/rpc HTTP/1.1
User-Agent: transmission-remote/1.22+ (6245)
Host: localhost:9091
Accept: */*
Content-Length: 97
Content-Type: application/x-www-form-urlencoded

< HTTP/1.1 200 OK
< Content-Type: application/json
< Content-Length: 1837
<
got response: [{
    "arguments": {
        "fields": 2081,
        "torrents": [
            {
                "desiredAvailable": 2483519523,
                "eta": 172456,
                "hashString": "xxx",
                "haveUnchecked": 6127616,
                "haveValid": 29360128,
                "id": 1,
                "leftUntilDone": 2483519523,
                "name": "xxx",
                "peersConnected": 8,
                "peersGettingFromUs": 6,
                "peersSendingToUs": 5,
                "rateDownload": 14400,
                "rateUpload": 6148,
                "recheckProgress": "0.000000",
                "sizeWhenDone": 2519007267,
                "status": 4,
                "swarmSpeed": 0,
                "totalSize": 2519007267,
                "webseedsSendingToUs": 0
            },
            {
                "desiredAvailable": 213057536,
                "eta": 6381,
                "hashString": "xxx",
                "haveUnchecked": 4784128,
                "haveValid": 6926941,
                "id": 2,
                "leftUntilDone": 213057536,
                "name": "xxx",
                "peersConnected": 18,
                "peersGettingFromUs": 3,
                "peersSendingToUs": 12,
                "rateDownload": 33386,
                "rateUpload": 47141,
                "recheckProgress": "0.000000",
                "sizeWhenDone": 224768605,
                "status": 4,
                "swarmSpeed": 360448,
                "totalSize": 224768605,
                "webseedsSendingToUs": 0
            }
        ]
    },
    "result": "success",
    "tag": 0
}
]
localhost:9091 responded: "success"
ID   Done  ETA       Up     Down   Ratio  Status       Name

Change History (3)

comment:1 Changed 13 years ago by charles

  • Milestone changed from None Set to 1.30
  • Owner changed from SoftwareElves to charles

comment:2 Changed 13 years ago by charles

  • Status changed from new to assigned

comment:3 Changed 13 years ago by charles

  • Resolution set to fixed
  • Status changed from assigned to closed

fixed in r6249.

Note: See TracTickets for help on using tickets.