[Bug 551526] Re: Package is incompatible with repository version of the main Transmission app's RPC

Andrew Starr-Bochicchio a.starr.b at gmail.com
Sat Apr 17 19:22:36 BST 2010

** Changed in: transmissionrpc (Ubuntu)
       Status: Confirmed => In Progress

** Changed in: transmissionrpc (Ubuntu)
   Importance: Undecided => Medium

** Changed in: transmissionrpc (Ubuntu)
     Assignee: (unassigned) => Andrew Starr-Bochicchio (andrewsomething)

** Changed in: transmissionrpc (Ubuntu)
   Importance: Medium => Wishlist

** Changed in: transmissionrpc (Ubuntu)
   Importance: Wishlist => Medium

Package is incompatible with repository version of the main Transmission app's RPC
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is a direct subscriber.

Status in “transmissionrpc” package in Ubuntu: In Progress
Status in “transmissionrpc” package in Debian: Fix Released

Bug description:
Binary package hint: python-transmissionrpc

Description:Ubuntu lucid (development branch)
Release:	10.04

  Installed: 0.3-2
  Candidate: 0.3-2
  Version table:
 *** 0.3-2 0
        500 http://mirror.internode.on.net/pub/ubuntu/ubuntu/ lucid/universe Packages
        100 /var/lib/dpkg/status

The squeeze version of python-transmissionrpc uses transmission RPC version 1.7x

The current version of transmission in squeeze is 1.92 which uses the newer trunk version - http://trac.transmissionbt.com/browser/trunk/doc/rpc-spec.txt

Unfortunately there has been a breaking change in the spec. Many attributes have been moved into the 'trackerStats' array - e.g. seederCount.

The following script will demonstrate the problem:


import transmissionrpc

tc = transmissionrpc.Client('localhost', port=9091, user='transmission', password='transmission')

torrent = tc.info(1)[1]

print torrent.trackerStats[0]['seederCount']

Actual output:
Traceback (most recent call last):
  File "./transmission-control", line 9, in <module>
    print torrent.trackerStats[0]['seederCount']
  File "/usr/lib/pymodules/python2.5/transmissionrpc/transmission.py", line 86, in __getattr__
    raise AttributeError('No attribute %s' % name)
AttributeError: No attribute trackerStats

Expected output:
<an integer>

I have tried my test script with version 4.0 of transmissionrpc it works correctly.


More information about the Ubuntu-sponsors mailing list