python-repoze.who modules cannot be imported
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-
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-
$ 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
ProcVersionSign
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)
PackageArchitec
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_AU.UTF-8
SHELL=/bin/bash
SourcePackage: python-repoze.who
UpgradeStatus: Upgraded to trusty on 2014-05-31 (168 days ago)
This works on vivid now at least. Marking fix released. Granted, still a problem for trusty.