Skip to content

Instantly share code, notes, and snippets.

@jrabbit
Created March 1, 2010 20:57
Show Gist options
  • Save jrabbit/318798 to your computer and use it in GitHub Desktop.
Save jrabbit/318798 to your computer and use it in GitHub Desktop.
RPCRequest: core.get_torrents_status(None, ['ratio', 'name', 'upload_payload_rate', 'total_peers', 'total_seeds', 'eta', 'total_wanted', 'label', 'queue', 'state', 'distributed_copies', 'save_path', 'download_payload_rate', 'progress', 'time_added', 'num_peers', 'tracker_host', 'num_seeds'], True)
--------------------------------------------------------------------------------
File "/usr/lib/python2.5/site-packages/deluge-1.1.9_dev-py2.5-linux-i686.egg/deluge/core/rpcserver.py", line 294, in dispatch
ret = self.factory.methods[method](*args, **kwargs)
File "/usr/lib/python2.5/site-packages/deluge-1.1.9_dev-py2.5-linux-i686.egg/deluge/core/core.py", line 408, in get_torrents_status
status_dict[torrent_id] = self.get_torrent_status(torrent_id, keys, diff)
File "/usr/lib/python2.5/site-packages/deluge-1.1.9_dev-py2.5-linux-i686.egg/deluge/core/core.py", line 390, in get_torrent_status
status = self.torrentmanager[torrent_id].get_status(keys, diff)
File "/usr/lib/python2.5/site-packages/deluge-1.1.9_dev-py2.5-linux-i686.egg/deluge/core/torrent.py", line 594, in get_status
"state": self.state,
AttributeError: 'Torrent' object has no attribute 'state'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment