Package: python-transmissionrpc Version: 0.3-2 Severity: important 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: *** #!/usr/bin/python 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. Regards AllenS -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.32-3-486 Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages python-transmissionrpc depends on: ii python 2.5.4-9 An interactive high-level object-o ii python-simplejson 2.0.9-2 simple, fast, extensible JSON enco ii python-support 1.0.7 automated rebuilding support for P Versions of packages python-transmissionrpc recommends: ii transmission-daemon 1.91-1 lightweight BitTorrent client (dae python-transmissionrpc suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

