henzk / ape

A Productive Environment - make/rake/ant/fab-like system with support for FOSD
MIT License
3 stars 7 forks source link

on import error in ape task => no error is shown nor the task is listed in ape help #2

Open tonimichel opened 11 years ago

tonimichel commented 11 years ago

Throw error up to user console

henzk commented 11 years ago

Thanks for the report!

Unfortunately, distinguishing between "module not found" and "module raises error on import" is non-trivial. Armin ronacher has a nice write-up of this: http://lucumr.pocoo.org/2011/9/21/python-import-blackbox/

I will investigate if his solution can be applied here.