ConPaaS-team / conpaas

ConPaaS: integrated runtime environment for elastic cloud applications
http://www.conpaas.eu
BSD 3-Clause "New" or "Revised" License
14 stars 3 forks source link

cpsconf.py fails with ImportError: No module named flask.ext.openid #70

Closed tcrivat closed 9 years ago

tcrivat commented 9 years ago

After installing the director from the latest version of the dev branch, cpsconf.py fails with the following:

root@conpaas:~/cpsdirector-1.4.1-rc6# cpsconf.py Traceback (most recent call last): File "/usr/local/bin/cpsconf.py", line 5, in pkg_resources.run_script('cpsdirector==1.4.1-rc6', 'cpsconf.py') File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 540, in run_script On exit from this routine, entry is added to the end of the working File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 1455, in run_script raise NotImplementedError( File "/usr/local/lib/python2.6/dist-packages/cpsdirector-1.4.1_rc6-py2.6.egg/EGG-INFO/scripts/cpsconf.py", line 3, in from cpsdirector import common, db File "/usr/local/lib/python2.6/dist-packages/cpsdirector-1.4.1_rc6-py2.6.egg/cpsdirector/init.py", line 5, in from flask.ext.openid import OpenID File "/usr/local/lib/python2.6/dist-packages/Flask-0.10.1-py2.6.egg/flask/exthook.py", line 87, in load_module raise ImportError('No module named %s' % fullname) ImportError: No module named flask.ext.openid

I suppose that a new dependency needed for OpenID support is missing. If this is the case, @engbert could you, please, let us know how to install the dependency and update the installation script and the documentation? Thanks a lot!

tcrivat commented 9 years ago

The missing module can be installed with:

pip install flask-openid

We still need to update the installation script and the documentation.

tcrivat commented 9 years ago

I added the missing module in f8ebede923629e0e49e1b60bcddc7b549450ad18. This can be closed.