Comment 7 for bug 1085425

Revision history for this message
Varun Vijayaraghavan (varun-kvv) wrote :

Sorry for not getting back earlier. I tried running it, but I get the following error:

λ ~/ U1_DEBUG=True /usr/lib/ubuntu-sso-client/ubuntu-sso-login
Traceback (most recent call last):
  File "/usr/lib/ubuntu-sso-client/ubuntu-sso-login", line 63, in <module>
    from ubuntu_sso.main import main
  File "/usr/lib/python2.7/dist-packages/ubuntu-sso-client/ubuntu_sso/main/__init__.py", line 39, in <module>
    from twisted.internet import defer
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 25, in <module>
    from twisted.python import log, failure, lockfile
  File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 17, in <module>
    from zope.interface import Interface
ImportError: No module named interface

I do have zope though:

λ ~/ ls -a /usr/local/lib/python2.7/dist-packages | grep zope
zope
zope.component-4.0.0.egg-info
zope.component-4.0.0-nspkg.pth
zope.deprecation-4.0.0-py2.7.egg
zope.event-4.0.0.egg-info
zope.event-4.0.0-nspkg.pth
zope.interface-4.0.1-py2.7-linux-x86_64.egg
zopeproject-0.4.2-py2.7.egg

I checked my PYTHONPATH, and I got this:
λ ~/ echo $PYTHONPATH
:/home/kvv/{PERSONAL_PROJECT}

On adding /usr/local/lib/python2.7/dist-packages to pythonpath I still get the same error. Is it just a problem with my PYTHONPATH that's causing this error?