Opened 14 years ago

Closed 14 years ago

Last modified 2 weeks ago

#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.

Change History (5)

comment:1 Changed 14 years ago by andar

  • Resolution set to fixed
  • Status changed from new to closed

This should be fixed in [5985]

comment:2 Changed 14 years ago by day

  • Component changed from core to plugin
  • Resolution fixed deleted
  • Status changed from closed to reopened
  • Version changed from 1.2.0_rc4 to 1.2.0_rc5

Part 1 of this bug still remains. If I labeled some torrents with some label, after deluged restart I need manually set label on these torrents again. Old and newly created torrents affected. As I remember from previous releases, label settings for specified torrent were saved between sessions. But not now. I'm using 1.2.0_rc5 now.

comment:3 Changed 14 years ago by andar

Try removing your label.conf file and re-doing your label config.

comment:4 Changed 14 years ago by day

It's works now! Thanks!

comment:5 Changed 14 years ago by andar

  • Resolution set to fixed
  • Status changed from reopened to closed
Note: See TracTickets for help on using tickets.