Bug 905827

Summary: [abrt] deluge-gtk-1.3.5-2.fc18: pluginmanagerbase.py:177:get_plugin_info:IndexError: list index out of range
Product: [Fedora] Fedora Reporter: Thibault Jochem <tryumk>
Component: delugeAssignee: Rahul Sundaram <metherid>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: calumlind, metherid
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:ca1a960f8fb30a1d992dd971f10d4a6a87af1589
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-21 19:58:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: core_backtrace
none
File: environ none

Description Thibault Jochem 2013-01-30 09:14:03 UTC
Description of problem:
Use of a plugin with remote deluged.

Version-Release number of selected component:
deluge-gtk-1.3.5-2.fc18

Additional info:
cmdline:        /usr/bin/python /usr/bin/deluge-gtk
dso_list:       deluge-common-1.3.5-2.fc18.noarch
executable:     /usr/bin/deluge-gtk
kernel:         3.7.2-204.fc18.x86_64
uid:            1000

Truncated backtrace:
pluginmanagerbase.py:177:get_plugin_info:IndexError: list index out of range

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/deluge/ui/gtkui/preferences.py", line 886, in on_plugin_selection_changed
    plugin_info = component.get("PluginManager").get_plugin_info(name)
  File "/usr/lib/python2.7/site-packages/deluge/pluginmanagerbase.py", line 177, in get_plugin_info
    for line in self.pkg_env[name][0].get_metadata("PKG-INFO").splitlines():
IndexError: list index out of range

Local variables in innermost frame:
info: {'Name': None, 'License': None, 'Author': None, 'Home-page': None, 'Summary': None, 'Platform': None, 'Version': None, 'Author-email': None, 'Description': None}
self: <deluge.ui.gtkui.pluginmanager.PluginManager object at 0x342d150>
last_header: ''
name: 'YaRSS2'
cont_lines: []

Comment 1 Thibault Jochem 2013-01-30 09:14:09 UTC
Created attachment 690220 [details]
File: backtrace

Comment 2 Thibault Jochem 2013-01-30 09:14:12 UTC
Created attachment 690221 [details]
File: core_backtrace

Comment 3 Thibault Jochem 2013-01-30 09:14:14 UTC
Created attachment 690222 [details]
File: environ

Comment 4 Calum 2013-02-01 22:00:37 UTC
Can you provide some more details, what version of YaRSS2 and is this a reoccurring issue?

Comment 5 Thibault Jochem 2013-02-02 09:46:55 UTC
I'm using yaRSS2 1.2.1, and this happened in the plugin manager preference window, but the plugin is still usable.

I think it occurs each time I go on the plugin manager in the preference window (can't test it now, I don't have access to my F18 box atm).

Comment 6 Calum 2013-02-21 19:58:00 UTC
I finally worked out that this is because YaRSS2 must not be installed locally for the GTKUI you are using. If you install the plugin the errors will go away and you should have a plugin page available.

I have create a ticket so we can improve the prefs plugin page:
http://dev.deluge-torrent.org/ticket/2284