tarmac does not load plugins from ~/.config/tarmac/plugins

Bug #686570 reported by Māris Fogels
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Tarmac
Fix Released
High
dobey

Bug Description

Tarmac does not load plugins from ~/.config/tarmac/plugins (the location documented in doc/writingplugins.txt). The program will raise an ImportError instead of loading the plugin.

Related branches

Māris Fogels (mars)
Changed in tarmac:
assignee: nobody → Māris Fogels (mars)
status: New → In Progress
Revision history for this message
dobey (dobey) wrote :

I think the code (probably in bzrlib too), needs to perhaps switch over to using imp.find_module() and imp.load_module(), to do the plug-in loading. Doing the exec 'import foo' is extra nasty. Even just doing __import__() instead would at least be better code, even if it doesn't solve this specific bug.

(copied from the rejected merge proposal)

Revision history for this message
Māris Fogels (mars) wrote :

I have committed a patch to the Launchpad Tarmac fork, but am not able to work on an equivalent patch for Tarmac mainline at this time.

I am changing the status back to Confirmed, as the bug is still present in Tarmac mainline,

Changed in tarmac:
assignee: Māris Fogels (mars) → nobody
status: In Progress → Confirmed
dobey (dobey)
Changed in tarmac:
importance: Undecided → High
dobey (dobey)
Changed in tarmac:
status: Confirmed → In Progress
assignee: nobody → Rodney Dawes (dobey)
Changed in tarmac:
status: In Progress → Fix Committed
dobey (dobey)
Changed in tarmac:
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.