Custom Query (2449 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (376 - 378 of 2449)

Ticket Resolution Summary Owner Reporter
#381 Fixed Bug in Archlinux PKGBUILD / ez_setup.py andar wb10.80@gmail.com
Description

There is a problem which prevented me from compiling deluge. The reason behin it is, that arch's version of python is to new to work properly with the 0.6c6 setup-tools version. I changed it into 0.6c9 and now everything themes fine.

I created a patch and an updated PKGBUILD, fell free to take it without credits or something. Url of the PKGBUILD and the patch: http://silenceisdefeat.org/~blue-dev/deluge-arch/.

#382 Invalid Scheduler (was: dBus Interface) andar garett@zy.ca
Description

The loss of the scheduler plugin (albeit it temporarily) has embolden me to ask for some more functionality in the dBus interface. At the moment, it appears I can pass command arguments, which isn't quite powerful enough for me.

What I'd like to do is be able to stop/start downloading by modifying the max_active_limit configuration through dBus. Basically what scheduler was doing, but something I can call through a program launched by cron. Something like:

bus = dbus.SessionBus()
proxy = bus.get_object('org.deluge_torrent.Deluge', '/org/deluge_torrent/Deluge')
ui = dbus.Interface(proxy, 'org.deluge_torrent.Deluge')
ui.setConfig('max_active_limit', 0)

and

ui.setConfig('max_active_limit', 10)

I'm not quite sure the code above would be the right way to talk to deluge through the dbus ... python is not my language and dbus is something very new to me (about 15 minutes new). If I'm understanding dbus correctly, I might just be able to use dbus_send to pass this information as well.

In any case, the scheduler plugin is a real pain to configure and not quite as flexible as cron would allow me to be. What I'd really like to control is the max_active_limit, but I figure it shouldn't require any more effort to expose the entire configuration, allowing others to do other things ... like between these hours, don't seed, etc.

Also, I noticed IPC is in there too for windows, it might be nice to expose it there as well.

Thanks.

#383 WorksForMe sidebar icons disapear whe Label plugins is enabled mvoncken danii
Description

when deluge starts with the Label plugin on there are no icons in the sidebar

[DEBUG   ] 05:35:50 component:102 Registered LabelSideBar with ComponentRegistry..
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/deluge/ui/gtkui/sidebar.py", line 109, in 
on_selection_changed
    value = model.get_value(row, 0)
TypeError: iter must be a GtkTreeIter
[DEBUG   ] 05:35:50 sidebar:203 iter must be a GtkTreeIter

I get the same error with a clean config but the icons are there also disabling and then enabling the plugins gets the the icons back although there are some errors:

[DEBUG   ] 05:37:34 toolbar:161 on_toolbutton_preferences_clicked
[DEBUG   ] 05:37:34 menubar:252 on_menuitem_preferences_activate
[DEBUG   ] 05:37:34 pluginmanager:92 run_on_show_prefs
[DEBUG   ] 05:37:35 label_config:96 update labels
/usr/lib/python2.4/site-packages/deluge/plugins/Label-0.1-py2.4.egg/label/gtkui/label_config.py:111: 
GtkWarning: gtk_file_system_unix_get_parent: assertion `g_path_is_absolute (filename)' failed
[DEBUG   ] 05:37:44 preferences:717 on_plugin_toggled
[DEBUG   ] 05:37:44 torrentview:469 on_selection_changed
[DEBUG   ] 05:37:44 __init__:73 1.1
[DEBUG   ] 05:37:44 __init__:77 list assignment index out of range
[DEBUG   ] 05:37:44 __init__:78 1.2
[DEBUG   ] 05:37:44 component:102 Registered SideBar with ComponentRegistry..
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/deluge/ui/gtkui/sidebar.py", line 109, in on_selection_changed
    value = model.get_value(row, 0)
TypeError: iter must be a GtkTreeIter
[DEBUG   ] 05:37:44 sidebar:203 iter must be a GtkTreeIter
[DEBUG   ] 05:37:44 sidebar:203 sequence index must be integer
[DEBUG   ] 05:37:44 __init__:80 2
[INFO    ] 05:37:44 pluginmanagerbase:129 Plugin Label disabled..
[DEBUG   ] 05:37:44 preferences:730 on_plugin_selection_changed
/usr/lib/python2.4/site-packages/deluge/ui/gtkui/gtkui.py:209: GtkWarning: gtk_list_store_get_value: assertion `column < list_store->n_columns' failed
  gtk.main()
/usr/lib/python2.4/site-packages/deluge/ui/gtkui/gtkui.py:209: Warning: g_object_set_property: assertion `G_IS_VALUE (value)' failed
  gtk.main()
/usr/lib/python2.4/site-packages/deluge/ui/gtkui/gtkui.py:209: Warning: g_value_unset: assertion `G_IS_VALUE (value)' failed
  gtk.main()
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/label/gtkui/sidebar.py", line 155, in render_cell_data
ValueError: column number is out of range
[DEBUG   ] 05:37:45 preferences:717 on_plugin_toggled
[DEBUG   ] 05:37:45 __init__:59 Calling UI init
[DEBUG   ] 05:37:45 __init__:62 Label GtkUI plugin initalized..
[DEBUG   ] 05:37:45 __init__:90 replace sidebar
[DEBUG   ] 05:37:45 component:102 Registered LabelSideBar with ComponentRegistry..
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/deluge/ui/gtkui/sidebar.py", line 109, in on_selection_changed
    value = model.get_value(row, 0)
TypeError: iter must be a GtkTreeIter
[DEBUG   ] 05:37:45 sidebar:203 iter must be a GtkTreeIter

and then when I press Ok in the Preferences dialog deluge crashes with:

[DEBUG   ] 05:40:31 preferences:686 on_button_ok_clicked
[DEBUG   ] 05:40:31 pluginmanager:100 run_on_apply_prefs
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/deluge/ui/gtkui/preferences.py", line 687, in on_button_ok_clicked
    self.set_config()
  File "/usr/lib/python2.4/site-packages/deluge/ui/gtkui/preferences.py", line 613, in set_config
    component.get("PluginManager").run_on_apply_prefs()
  File "/usr/lib/python2.4/site-packages/deluge/ui/gtkui/pluginmanager.py", line 102, in run_on_apply_prefs
    function()
  File "build/bdist.linux-i686/egg/label/gtkui/label_config.py", line 117, in on_apply_prefs
AttributeError: 'NoneType' object has no attribute 'get_active'

don't know if this is all related with diferent version config files but at least the GtkTreeIter? error appears with both the old the new configs

Note: See TracQuery for help on using queries.