python-repoze.who modules cannot be imported

Bug #1393097 reported by Paul Dwerryhouse
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-repoze.who (Ubuntu)
Fix Released
Undecided
Unassigned
Trusty
New
Undecided
Unassigned

Bug Description

In trusty, Python can't find the python-repoze.who modules when they are imported.

However, when I take the latest sources of the version of the python-repoze.who package in jessie, it works perfectly. I suspect this problem also occurs with python-repoze.what

See this transcript below to see the error, and to see how it works when I use the package from Debian jessie:

$ dpkg -s python-repoze.who
Package: python-repoze.who
Status: install ok installed
Priority: optional
Section: python
Installed-Size: 638
Maintainer: Ubuntu Developers <email address hidden>
Architecture: all
Version: 1.0.18-2
Depends: python, python-support (>= 0.90.0), python-zope.interface, python-pkg-resources, python-paste
Suggests: python-psycopg2, libjs-jquery
Description: identification and authentication framework for Python WSGI applications

$ python
Python 2.7.6 (default, Mar 22 2014, 22:59:38)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import repoze.who
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named who

$ sudo dpkg -i python-repoze.who_1.0.18-4_all.deb

$ python
Python 2.7.6 (default, Mar 22 2014, 22:59:38)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import repoze.who
>>>

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: python-repoze.who 1.0.18-2
ProcVersionSignature: Ubuntu 3.13.0-36.63-generic 3.13.11.6
Uname: Linux 3.13.0-36-generic i686
ApportVersion: 2.14.1-0ubuntu3.4
Architecture: i386
Date: Sun Nov 16 10:03:59 2014
EcryptfsInUse: Yes
InstallationDate: Installed on 2013-05-04 (560 days ago)
InstallationMedia: Ubuntu-Server 13.04 "Raring Ringtail" - Release i386 (20130423.1)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_AU.UTF-8
 SHELL=/bin/bash
SourcePackage: python-repoze.who
UpgradeStatus: Upgraded to trusty on 2014-05-31 (168 days ago)

Revision history for this message
Paul Dwerryhouse (paul-dwerryhouse) wrote :
Revision history for this message
Michael Terry (mterry) wrote :

This works on vivid now at least. Marking fix released. Granted, still a problem for trusty.

Changed in python-repoze.who (Ubuntu):
status: New → Fix Released
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.