Skip to content

Instantly share code, notes, and snippets.

@kkung
Created April 17, 2012 15:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kkung/2406555 to your computer and use it in GitHub Desktop.
Save kkung/2406555 to your computer and use it in GitHub Desktop.
Traceback (most recent call last):
File "runserver.py", line 4, in <module>
app = create_app()
File "/Users/kkung/private/jothief/jothief/jothief/__init__.py", line 28, in create_app
admin_blueprint = admin.create_admin_blueprint(datastore)
File "/Users/kkung/private/jothief/env/lib/python2.7/site-packages/flask_admin/__init__.py", line 87, in create_admin_blueprint
return create_admin_blueprint_new(*args, **kwargs)
File "/Users/kkung/private/jothief/env/lib/python2.7/site-packages/flask_admin/__init__.py", line 116, in create_admin_blueprint_new
**kwargs)
File "/Users/kkung/private/jothief/env/lib/python2.7/site-packages/flask/blueprints.py", line 95, in __init__
_PackageBoundObject.__init__(self, import_name, template_folder)
File "/Users/kkung/private/jothief/env/lib/python2.7/site-packages/flask/helpers.py", line 669, in __init__
self.root_path = get_root_path(self.import_name)
File "/Users/kkung/private/jothief/env/lib/python2.7/site-packages/flask/helpers.py", line 571, in get_root_path
filepath = loader.get_filename(import_name)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pkgutil.py", line 310, in get_filename
fullname = self._fix_name(fullname)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pkgutil.py", line 262, in _fix_name
"module %s" % (self.fullname, fullname))
ImportError: Loader for module flask_admin cannot handle module flask.ext.admin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment