GTG

Plugin manager does not refresh itself until GTG is restarted

Bug #488993 reported by Bertrand Rousseau
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GTG
Fix Released
Medium
Unassigned

Bug Description

1/ start GTG
2/ open plugin manager
3/ sport a plugin that cannot be loaded because of missing dependancy
4/ close plugin manager but keep GTG opened
5/ solve the dependancy
6/ re-open plugin manager
7/ the plugin is still amrked has unloadable

This bug is probably caused by the fact that the plugin manager is actually hidden, not destroyed. Adding some kind of reload mechanism should do the trick.

Revision history for this message
Lionel Dricot (ploum-deactivatedaccount) wrote :

I think this is mainly fixed in rev. 389. Can you check?

The only exception is when you are removing a package dependencies (such as bugz for the bugzilla plugin). Indeed, as the python library is already loaded, it will works as long as the python program is running.

Changed in gtg:
assignee: nobody → Lionel Dricot (ploum)
Revision history for this message
Bertrand Rousseau (bertrand-rousseau) wrote :

I still have an issue. For the hamster-plugin for instance, if the service is disabled after the plugin manager has been opened, the plugin is still marked as available even after close and reopening the PM.

Revision history for this message
Lionel Dricot (ploum-deactivatedaccount) wrote :

Indeed, once the plugin is loaded, it doesn't do the check anymore.

Changed in gtg:
assignee: Lionel Dricot (ploum) → nobody
Revision history for this message
Lionel Dricot (ploum-deactivatedaccount) wrote :

Fixed in rev. 395.

Unfortunatly, this will never work with plugins with module dependancies. Indeed, once the module is loaded, it stays in python memory.

Changed in gtg:
assignee: nobody → Lionel Dricot (ploum)
status: Confirmed → Fix Committed
Changed in gtg:
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.