Exception clicking reload cellrender of category name in plugins preferences

Bug #1035870 reported by Rocco Aliberti
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Exaile
Fix Released
Low
Mathias Brodala

Bug Description

r4090

When i click on the reload cellrender of the category name in plugins preferences, i get this error:

Traceback (most recent call last):
  File "/home/***/exaile/xlgui/preferences/plugin.py", line 170, in on_reload_cellrenderer_clicked
    self.plugins.load_plugin(plugin, reload=True)
  File "/home/***/exaile/xl/plugins.py", line 80, in load_plugin
    path = self.__findplugin(pluginname)
  File "/home/***/exaile/xl/plugins.py", line 71, in __findplugin
    path = os.path.join(dir, pluginname)
  File "/usr/lib64/python2.6/posixpath.py", line 65, in join
    if b.startswith('/'):
AttributeError: 'NoneType' object has no attribute 'startswith'

Beyond the error maybe that cellrender is useless for the category name row, or do you think could be useful to implement the ability to reload all the plugins belonging to a certain category?

Related branches

Revision history for this message
Mathias Brodala (mathbr) wrote :

Fixed with r4093: only loaded plugins can be reloaded, which actually makes a lot of sense. Categories cannot be loaded, thus this issue is automatically fixed.

Changed in exaile:
assignee: nobody → Mathias Brodala (mathbr)
importance: Undecided → Low
milestone: none → 0.3.3.0
status: New → Fix Committed
Changed in exaile:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.