Zim

Zim does not correctly check if dependencies for plugins are met

Bug #505743 reported by Viale Fabrice
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Zim
Fix Released
Medium
Unassigned

Bug Description

When you go to edition/preference/plugin (I have a french version, not sure of the names), you can select or unselect all plugins except the link map plugin (carte des liens).

GraphViz was not installed. But the diagram plugin can be selected - unselected while it also requires GraphViz.

Revision history for this message
Viale Fabrice (viale-fabrice) wrote :

sorry, version is 0.42

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

Looks to me that correct behavior would be to not allow selecting plugins when requirements are not met. Default plugins should be disabled when requirements are not satisfied.

Changed in zim:
status: New → Incomplete
importance: Undecided → Low
Revision history for this message
Viale Fabrice (viale-fabrice) wrote :

I agree.

Revision history for this message
Sam Snow (snood-deactivatedaccount) wrote :

I see the same behavior in 0.43 installed yesterday (01/29/2010) from Debian Squeeze repository. All plugins (except for Link Map) can be selected or unselected, regardless of whether or not the requirements for other packages are satisfied. Once I selected LInk Map I found that it cannot be unselected.

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

Will use this ticket as a more general item for how zim deals with plugin dependencies. Updated title to reflect that. Of course the issue with the Link Map plugin should be fixed under this cover.

summary: - Unable to unselect plugin link map - graphViz
+ Zim does not correctly check if dependencies for plugins are met
Changed in zim:
status: Incomplete → Confirmed
importance: Low → Medium
Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

See bug #515752 for another example

Revision history for this message
Johannes Reinhardt (johannes-reinhardt) wrote :

The original problem with the linkmap plugin should be fixed in rev 209.

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

Generic patch for checking all dependencies when a plugin is loaded as well as in the preferences dialog merged in rev211.

Changed in zim:
status: Confirmed → Fix Committed
Changed in zim:
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.