Ticket #1085 (closed bug: fixed)
label plugin errors
| Reported by: | day | Owned by: | andar |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | plugin | Version: | 1.2.0_rc5 |
| Keywords: | label, plugin | Cc: |
Description
1) label settings not saved between sessions
2) When trying to add trackers names under 'auto add trackers':
[ERROR ] 17:22:42 client:375 RPCError Message Received!
RPCRequest: label.set_options(world, {'max_download_speed': -1.0, 'is_auto_managed': False, 'apply_move_completed': False, 'auto_add': True, 'auto_add_trackers': thepiratebay.org?, 'apply_queue': False, 'stop_at_ratio': False, 'max_upload_speed': 20.0, 'remove_at_ratio': False, 'max_upload_slots': -1.0, 'stop_ratio': 2.0, 'move_completed': False, 'move_completed_path': '/home/fm', 'apply_max': True, 'max_connections': -1.0})
File "/usr/lib/python2.6/site-packages/deluge/core/rpcserver.py", line 281, in dispatch
ret = self.factory.methods[method](*args, **kwargs)
File "build/bdist.linux-i686/egg/label/core.py", line 262, in set_options
self._set_torrent_options(torrent_id , label_id)
File "build/bdist.linux-i686/egg/label/core.py", line 210, in _set_torrent_options
torrent.set_max_connections(optionsmax_connections?)
File "/usr/lib/python2.6/site-packages/deluge/core/torrent.py", line 198, in set_max_connections
self.handle.set_max_connections(max_connections)
ArgumentError?: Python argument types in
torrent_handle.set_max_connections(torrent_handle, float)
did not match C++ signature:
set_max_connections(libtorrent::torrent_handle {lvalue}, int)
Unhandled error in Deferred: Traceback (most recent call last): Failure: deluge.ui.client.DelugeRPCError: <deluge.ui.client.DelugeRPCError object at 0x86f5fac>
python 2.6.2-r1 under gentoo.
