#1085: label plugin errors
---------------------------+------------------------------------------------
 Reporter:  day            |       Owner:  andar    
     Type:  bug            |      Status:  new      
 Priority:  major          |   Milestone:           
Component:  core           |     Version:  1.2.0_rc4
 Keywords:  label, plugin  |  
---------------------------+------------------------------------------------
 1) label settings not saved between sessions
 [[BR]]
 2) When trying to add trackers names under 'auto add trackers':
 [[BR]]

 [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(options["max_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.

-- 
Ticket URL: <http://dev.deluge-torrent.org/ticket/1085>
Deluge <http://deluge-torrent.org/>
Deluge project

--

You received this message because you are subscribed to the Google Groups 
"Deluge Dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/deluge-dev?hl=en.


Reply via email to