Yup, wrapping in a try and setting a flag on success is all I need, I think. I don't need qgis.utils.plugins. Thanks again, both Tom ----- Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html