Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#383 closed bug (WorksForMe)

sidebar icons disapear whe Label plugins is enabled

Reported by: danii Owned by: mvoncken
Priority: minor Milestone:
Component: Plugin Version: 1.1.0_dev
Keywords: label icon sidebar Cc:

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

Change History (3)

comment:1 Changed 16 years ago by mvoncken

  • Owner changed from andar to mvoncken

comment:2 Changed 16 years ago by mvoncken

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

bugreport weas too early in development-stage. I guess it's implemented now.

comment:3 Changed 15 years ago by anonymous

  • Milestone 1.1.0 deleted

Milestone 1.1.0 deleted

Note: See TracTickets for help on using tickets.