Skip to content

Less than clear error message when python-openid is not installed #169

Open
WoLpH opened this Issue Jul 29, 2012 · 0 comments

1 participant

@WoLpH
WoLpH commented Jul 29, 2012

Trying from a brand new virtualenv I get this error when I execute the code from #168:

Traceback (most recent call last):
  File "test.py", line 2, in <module>
    from web import webopenid
  File "/home/rick/envs/webpy/lib/python2.6/site-packages/web/webopenid.py", line 26, in <module>
    import openid.consumer.consumer
ImportError: No module named openid.consumer.consumer

shell returned 1

Although the error is expected, the message is a bit unclear. Would be nice to catch this ImportError and replace it with something clearer like "Please install python-openid"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.