sh4nks / flask-plugins

This extension provides an easy way to create plugins for your flask application.
http://flask-plugins.readthedocs.org/en/latest/
Other
52 stars 21 forks source link

get_all_plugins() throws exception #17

Open Manuel83 opened 7 years ago

Manuel83 commented 7 years ago

Hi,

I like to use this extension in my project. I tried to register the PluginManager and after this I like to get a list of all plugins found. Unfortunately I get an exception: Any idea why?

plugin_manager = PluginManager(app)
print get_all_plugins()

Exception:

return ctx.app.extensions.get('plugin_manager').all_plugins.values()
AttributeError: 'NoneType' object has no attribute 'app'
boubouhkarim commented 7 years ago

Hi, I am having the same problem, did you found a solution to this issue please, or it's kinda outdated plugin ?