EarthCubeGeochron / Sparrow

A software tool and schema+API spec for connecting laboratory measurements to data consumers
https://sparrow-data.org
Mozilla Public License 2.0
14 stars 4 forks source link

External plugins don't load, fail silently when an ImportError is raised #250

Open davenquinn opened 3 years ago

davenquinn commented 3 years ago

@Peter-E-Martin had an unfortunate situation where an import of an uninstalled module (uncertainties) in plugin code was swallowed during app setup. The error was only minimally logged. At first I thought this was the case for all errors, but I think we catch ImportError specifically to test for situations when we the plugin files don't exist at all. We might want to think over how we test for whether the files are mounted, or rework the plugin installation process to handle this.