Use plugin button not working

Bug #356799 reported by Sudesh
0
Affects Status Importance Assigned to Milestone
Discovery Channel plugin for Moovida
Status tracked in Trunk
Trunk
Fix Committed
High
Philippe Normand

Bug Description

On Elisa 0.5.35 use plugin button is not working.When user downloads and then presses 'Use plugin' ,he is taken to main menu , instead of that plugin.

Steps to reproduce:

1.Launch Elisa 0.5.35
2.Goto Plugins->Find new plugins
3.Click on a plugin eg Discovery news
4.Press Download and istall
5.Press 'Use plugin'

Expected Result :Takes to that particular plugin

Current Result : Taken to main menu instead of discovery news plugin.

Revision history for this message
Philippe Normand (philn) wrote :

Yes this regression was introduced with the automatic animated widgets stuff :/

Changed in elisa:
importance: Undecided → High
milestone: none → 0.5.37
status: New → Confirmed
Revision history for this message
Philippe Normand (philn) wrote :

Sudesh, can you have a look at your log file? I think you might have a traceback for this bug.

Revision history for this message
Sudesh (sudeshc-deactivatedaccount) wrote :
Download full text (3.7 KiB)

Log file attached

Traceback is here :
A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.

 c:\program files\elisa\elisa-plugins\elisa\plugins\poblesec\plugins.py in _button_clicked_cb(self=<PluginInformationController object at 0xe6db9e0...gment_controller+PigmentController at 0xcfcc600)>, button=<PluginButton object at 0xe7e2968 (elisa+plugins+pigment+widgets+widget+Widget at 0xd4dbba0)>, *args=(75.281791687011719, 209.73355102539062, -1.7062819097191095e-005, <flags PGM_BUTTON_LEFT of type PgmButtonType>, 2758566L, 0L))
  907 def _button_clicked_cb(self, button, *args):
  908 self.actions.focus = True
  909 self._do_action()
  910 return True
  911

 c:\program files\elisa\elisa-plugins\elisa\plugins\poblesec\plugins.py in _do_action(self=<PluginInformationController object at 0xe6db9e0...gment_controller+PigmentController at 0xcfcc600)>)
  953 # the frontend and returns a deferred.
  954 hook = plugin.load_entry_point('elisa.core.plugin_registry', 'use')
  955 return hook(self.frontend)
  956 elif self._action == self.Actions.BACK:
  957 controller = '/poblesec/browser'

 C:\Program Files\Elisa\build\bdist.win32\egg\elisa\plugins\discoverychannel\controller.py in use_me_hook(frontend=<elisa.plugins.pigment.pigment_frontend.PigmentFrontend object at 0x01822E10>)

<type 'exceptions.AttributeError'>: 'PluginInformationController' object has no attribute 'model'
    __class__ = <type 'exceptions.AttributeError'>
    __delattr__ = <method-wrapper '__delattr__' of exceptions.AttributeError object at 0x0E7F3670>
    __dict__ = {}
    __doc__ = 'Attribute not found.'
    __getattribute__ = <method-wrapper '__getattribute__' of exceptions.AttributeError object at 0x0E7F3670>
    __getitem__ = <method-wrapper '__getitem__' of exceptions.AttributeError object at 0x0E7F3670>
    __getslice__ = <method-wrapper '__getslice__' of exceptions.AttributeError object at 0x0E7F3670>
    __hash__ = <method-wrapper '__hash__' of exceptions.AttributeError object at 0x0E7F3670>
    __init__ = <method-wrapper '__init__' of exceptions.AttributeError object at 0x0E7F3670>
    __new__ = <built-in method __new__ of type object at 0x10232568>
    __reduce__ = <built-in method __reduce__ of exceptions.AttributeError object at 0x0E7F3670>
    __reduce_ex__ = <built-in method __reduce_ex__ of exceptions.AttributeError object at 0x0E7F3670>
    __repr__ = <method-wrapper '__repr__' of exceptions.AttributeError object at 0x0E7F3670>
    __setattr__ = <method-wrapper '__setattr__' of exceptions.AttributeError object at 0x0E7F3670>
    __setstate__ = <built-in method __setstate__ of exceptions.AttributeError object at 0x0E7F3670>
    __str__ = <method-wrapper '__str__' of exceptions.AttributeError object at 0x0E7F3670>
    args = ("'PluginInformationController' object has no attribute 'model'",)
    message = "'PluginInformationController' object has no attribute 'model'"

The above is a description of an error in a Python program. Here is
the original traceback:

Traceback (most recent call last):
  File "c:...

Read more...

Revision history for this message
Philippe Normand (philn) wrote :

Oh hmm that might be in fact related to the latest changes in poblesec.history ... Will have a quick look

Philippe Normand (philn)
affects: elisa → elisa-plugin-discoverychannel
Changed in elisa:
assignee: nobody → philn
milestone: 0.5.37 → none
Changed in elisa-plugin-discoverychannel:
status: Confirmed → In Progress
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.