transmission-remote not displaying status correctly

Discussion of Transmission that doesn't fit in the other categories
Post Reply
dvalenca
Posts: 2
Joined: Mon May 17, 2010 4:29 am

transmission-remote not displaying status correctly

Post by dvalenca »

Hello,

I didn't understant how to report this bug (if it is really a bug), but I'll try here. I look around the Google and didn't finde nothing, just another guy with the same problem and only (http://mybookworld.wikidot.com/forum/t- ... ost-785999).

Well, I'm using Transmission 1.92 (10363) (but the problem happend also in the 1.73 version).
I'm running it on a My Book World Edition NAS from Western Digital II (the one of the white light - WD MBWE II).

I'm trying to get the Status / State of a torrent, so I can use in a Bash Script to make thing that the Transmission doesn't yet (like, to delete the .torrent file that was added of a watch-dir and control max simultaneous torrents - if it does, sorry, doesn't happend with me yet).

Well, the problem is that when I use the command:

Code: Select all

transmission-remote -l
It doesn't show the Status. It just shows the Stopped Status. The other one stays blank. Like this fictional exemple based in true facts.

Code: Select all

ID     Done       Have  ETA           Up    Down  Ratio  Status       Name
   2   100%   349.8 MB  2 hrs       50.0     0.0   0.11               TORRENT.1.ALREADY.SEEDING
   3     0%       None  Unknown      0.0     0.0   None               TORRENT.2.JUST.BEGIN.DOWNLOADING
Sum:          349.8 MB              50.0     0.0
If I try to get the information of just one torrent or all of them with

Code: Select all

transmission-remote -t# -i
or

Code: Select all

transmission-remote -tall -i
The State is a messed thing:

Code: Select all

NAME
  Id: 2
  Name: TORRENT.1.ALREADY.SEEDING
  Hash: HASH

TRANSFER
  State: ē�?̫
            @_)�q
  Location: /shares/Public/Torrent/incoming/
  Percent Done: 100%
and for the the downloading one:

Code: Select all

NAME
  Id: 3
  Name: TORRENT.2.JUST.BEGIN.DOWNLOADING
  Hash: DIFFERENTHASH

TRANSFER
  State: F�?̫
             @���
  Location: /shares/Public/Torrent/incoming/
  Percent Done: 0.00%
The messed thing aways changes. If I STOP the torrent, it works ok.

Code: Select all

TRANSFER
  State: Stopped
  Location: /shares/Public/Torrent/incoming/
  Percent Done: 0.00%
If I STOP a torrent in a higher position on the list, with the

Code: Select all

transmission-remote -l
the torrents under this appear with the "Stopped" Status, but, it still running and with the

Code: Select all

transmission-remote -t# --info
it shows the messed thing:

Code: Select all

ID     Done       Have  ETA           Up    Down  Ratio  Status       Name
   2   100%   349.8 MB  Done         0.0     0.0   0.19                     TORRENT.1.ALREADY.SEEDING
   3    10%       None  Unknown     0.0     0.0   None  Stopped      TORRENT.2.PAUSED
   4     8%       None  Unknown      9.2     10.2   None  Stopped      TORRENT.3.DOWNLOADING
   5    100%       None  Unknown     0.0     7.8   None  Stopped      TORRENT.4.ALSO.SEEDING
Sum:          349.8 MB               0.0     0.0
Well, I know that it continues to Download/Seed because in the web interface I can see the Status and I can see the Down/Up rates. That is the funniest thing. Because the GUI can access somehow, but I can't.

I tryed the debug mode, and I can see different status for the torrents, and consistent ones. Like, with the command:

Code: Select all

transmission-remote -l -b
I get:

Code: Select all

{"arguments":{"torrents":[{"error":0,"errorString":"","eta":113998,"id":1,"leftUntilDone":0,"name":"TORRENTNAME","peersGettingFromUs":4,"peersSendingToUs":0,"rateDownload":0,"rateUpload":6568,"sizeWhenDone":183564288,"status":8,"uploadRatio":0.0227},{"error":0,"errorString":"","eta":-1,"id":2,"leftUntilDone":0,"name":"TORRENTNAME","peersGettingFromUs":0,"peersSendingToUs":0,"rateDownload":0,"rateUpload":0,"sizeWhenDone":366774468,"status":16,"uploadRatio":0.2061},{"error":0,"errorString":"","eta":-2,"id":3,"leftUntilDone":366766386,"name":"TORRENTNAME","peersGettingFromUs":0,"peersSendingToUs":0,"rateDownload":0,"rateUpload":0,"sizeWhenDone":366766386,"status":4,"uploadRatio":-1.0000},{"error":0,"errorString":"","eta":-2,"id":4,"leftUntilDone":366985216,"name":"TORRENTNAME","peersGettingFromUs":0,"peersSendingToUs":0,"rateDownload":0,"rateUpload":0,"sizeWhenDone":366985216,"status":4,"uploadRatio":-1.0000},{"error":0,"errorString":"","eta":-2,"id":5,"leftUntilDone":183621632,"name":"TORRENTNAME","peersGettingFromUs":0,"peersSendingToUs":0,"rateDownload":0,"rateUpload":0,"sizeWhenDone":183621632,"status":4,"uploadRatio":-1.0000}]},"result":"success","tag":2}
So, I know that "status":4 is Downloading, "status":16 is Stopped and "status":8 is Seeding.
But I can't acces by bash this, so is useless...

Well, I hope a made myself clear and detailed. Sorry any English mistakes. Sorry if it is a known bug.

Daniel
rb07
Posts: 1400
Joined: Sun Aug 24, 2008 3:14 am

Re: transmission-remote not displaying status correctly

Post by rb07 »

Its not a bug in transmission, it works as expected in many other environments.

It is a bug with your installed package, wherever you got it the builder messed it up... sounds like they used different versions of the daemon and transmission-remote, but that is a guess.
dvalenca
Posts: 2
Joined: Mon May 17, 2010 4:29 am

Re: transmission-remote not displaying status correctly

Post by dvalenca »

Yeah, I thought so...

Well, I managed another way to do what I wanted to do...

I'm just saying because another guy had the same problem (but with the same enviroment)...
Well, we use something like

Code: Select all

ipkg install transmission
to install it... I don't know if it is of insterest of the transmission team, but a lot of people use it on their MBWE...

Thanks anyway
Post Reply