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

Luca Falavigna dktrkranz at ubuntu.com
Sun Apr 11 04:04:06 BST 2010

I uploaded 0.4 in Debian. New upstream version is compatible with
transmission >= 1.8, while current one generates tracebacks as shown
above. It definitely needs an update.

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: Confirmed
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