ubuntu-sso-login's dependency missing: no module named zope.interface

Bug #1660508 reported by Thomas Mayer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-sso-client (Ubuntu)
New
Undecided
Unassigned

Bug Description

Taken from syslog:

Jan 31 01:53:33 lat61 com.ubuntu.sso[3005]: Traceback (most recent call last):
Jan 31 01:53:33 lat61 com.ubuntu.sso[3005]: File "/usr/lib/ubuntu-sso-client/ubuntu-sso-login", line 67, in <module>
Jan 31 01:53:33 lat61 com.ubuntu.sso[3005]: from ubuntu_sso.main import main
Jan 31 01:53:33 lat61 com.ubuntu.sso[3005]: File "/usr/lib/python2.7/dist-packages/ubuntu-sso-client/ubuntu_sso/main/__init__.py", line 39, in <module>
Jan 31 01:53:33 lat61 com.ubuntu.sso[3005]: from twisted.internet import defer
Jan 31 01:53:33 lat61 com.ubuntu.sso[3005]: File "/usr/lib/python2.7/dist-packages/twisted/__init__.py", line 55, in <module>
Jan 31 01:53:33 lat61 com.ubuntu.sso[3005]: _checkRequirements()
Jan 31 01:53:33 lat61 com.ubuntu.sso[3005]: File "/usr/lib/python2.7/dist-packages/twisted/__init__.py", line 39, in _checkRequirements
Jan 31 01:53:33 lat61 com.ubuntu.sso[3005]: raise ImportError(required + ": no module named zope.interface.")
Jan 31 01:53:33 lat61 com.ubuntu.sso[3005]: ImportError: Twisted requires zope.interface 3.6.0 or later: no module named zope.interface.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: ubuntu-sso-client 13.10-0ubuntu11
ProcVersionSignature: Ubuntu 4.4.0-59.80-generic 4.4.35
Uname: Linux 4.4.0-59-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
CurrentDesktop: GNOME-Flashback:Unity
Date: Tue Jan 31 03:45:02 2017
InstallationDate: Installed on 2014-11-29 (793 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
PackageArchitecture: all
SourcePackage: ubuntu-sso-client
UpgradeStatus: Upgraded to xenial on 2016-06-15 (229 days ago)

Revision history for this message
Thomas Mayer (thomas303) wrote :
Revision history for this message
Thomas Mayer (thomas303) wrote :

If I remember correctly, I get the errors since I updated python's "setuptools" to work on certbot (development tools), similar to what is demonstrated at https://community.letsencrypt.org/t/cant-install-certbot-on-debian-jessy-unmet-dependencies/19417.

Pip now shows these packages and versions:

pip list
adium-theme-ubuntu (0.3.4)
alabaster (0.7.7)
attrs (15.2.0)
Babel (1.3)
beautifulsoup4 (4.4.1)
blinker (1.3)
ccsm (0.9.12.2)
chardet (2.3.0)
command-not-found (0.3)
compizconfig-python (0.9.12.2)
ConfigArgParse (0.11.0)
configobj (5.0.6)
cryptography (1.2.3)
debtags (2.0)
defer (1.0.6)
dirspec (13.10)
dnspython (1.12.0)
docutils (0.12)
duplicity (0.7.6)
enum34 (1.1.2)
html5lib (0.999)
httplib2 (0.9.1)
idna (2.0)
ipaddr (2.1.11)
ipaddress (1.0.16)
Jinja2 (2.8)
keyring (7.3)
launchpadlib (1.10.3)
lazr.restfulclient (0.13.4)
lazr.uri (1.0.3)
libvirt-python (1.3.1)
lockfile (0.12.2)
lxml (3.5.0)
MarkupSafe (0.23)
ndg-httpsclient (0.4.0)
netifaces (0.10.4)
numpy (1.11.0)
oauth (1.0.1)
oauthlib (1.0.3)
oneconf (0.3.9)
PAM (0.4.2)
parsedatetime (2.1)
pexpect (4.0.1)
Pillow (3.1.2)
pip (9.0.1)
piston-mini-client (0.7.5)
ptyprocess (0.5)
pyasn1 (0.1.9)
pyasn1-modules (0.0.7)
pycrypto (2.6.1)
pycups (1.9.73)
pycurl (7.43.0)
Pygments (2.1)
pygobject (3.20.0)
PyJWT (1.3.0)
pyOpenSSL (0.15.1)
pyRFC3339 (1.0)
pyserial (3.0.1)
pysmbc (1.0.15.5)
python-apt (1.1.0b1)
python-debian (0.1.27)
pytz (2014.10)
pyxdg (0.25)
reportlab (3.3.0)
requests (2.9.1)
roman (2.0.0)
SecretStorage (2.1.3)
service-identity (16.0.0)
setuptools (18.1)
setuptools-git (1.1)
setuptools-scm (1.10.1)
simplejson (3.8.1)
six (1.10.0)
software-center-aptd-plugins (0.0.0)
Sphinx (1.3.6)
sphinx-rtd-theme (0.1.9)
Twisted (16.0.0)
unity-lens-photos (1.0)
urllib3 (1.13.1)
wadllib (1.3.2)
youtube-dl (2016.2.22)
zope.component (4.3.0)
zope.event (4.2.0)
zope.interface (4.1.3)

Revision history for this message
Thomas Mayer (thomas303) wrote :

Trying to work around the issue with a

#pip uninstall transaction # <-- that package was not installed on my system!
pip uninstall zope.interface
pip install transaction
pip install zope.interface

as taken from http://stackoverflow.com/questions/40583855/importerror-no-module-named-zope-interface

output:

root@lat61:~# pip uninstall zope.interface
Uninstalling zope.interface-4.1.3:
  /usr/lib/python2.7/dist-packages/zope.interface-4.1.3.egg-info
Proceed (y/n)? y
  Successfully uninstalled zope.interface-4.1.3
root@lat61:~# pip install transaction
Collecting transaction
  Downloading transaction-2.0.3.tar.gz (72kB)
    100% |████████████████████████████████| 81kB 761kB/s
Collecting zope.interface (from transaction)
  Downloading zope.interface-4.3.3.tar.gz (150kB)
    100% |████████████████████████████████| 153kB 1.4MB/s
Requirement already satisfied: setuptools in /usr/local/lib/python2.7/dist-packages/setuptools-18.1-py2.7.egg (from zope.interface->transaction)
Installing collected packages: zope.interface, transaction
  Running setup.py install for zope.interface ... done
  Running setup.py install for transaction ... done
Successfully installed transaction-2.0.3 zope.interface-4.3.3

That said, transaction got installed and zope.interface got updated from 4.1.3 to 4.3.3.

Let's see how that works out. I'll report back.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.