dependency on liblzo2-2 not specified
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pytables (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Natty |
Fix Released
|
Undecided
|
Unassigned | ||
Oneiric |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact] importing pytables fails due to a missing dependency. The error message is gives no indication of what is missing
[Development Fix] in precise the dependencies of pytables are correctly specified
[Stable Fix] the cause of the error in natty and oneiric is an error in the dh_shlibdeps call which causes shlib:Depends and shlib:Recommends to be not be filled correctly
While the fix is not really necessary for oneiric due to hdf-5 having changed so that the Dependency is really optional, it still missing Recommends and we need to update it to ensure a proper upgrade path.
[Test Case]
have liblzo2-2 *not* installed
apt-get install python-tables
python
import tables
expected result: successful import
result on natty:
ImportError: /usr/lib/
[Regression Potential] only dependencies are changed so no regressions are likely
also pytables contains an extensive testsuite, while it is not run during build, it can be executed with:
python /usr/share/
it passed with the updated packages
original report
When I import tables without liblzo2-2 I get a Traceback:
jvb@weasel:~$ python -c "import tables"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/
from tables.file import File, openFile, copyFile
File "/usr/lib/
from tables import hdf5Extension
ImportError: /usr/lib/
After installing liblzo2-2 - no traceback:
jvb@weasel:~$ sudo apt-get install liblzo2-2
jvb@weasel:~$ python -c "import tables"
jvb@weasel:~$ lsb_release -rd
Description: Ubuntu 11.04
Release: 11.04
jvb@weasel:~$ apt-cache policy python-tables
python-tables:
Installed: 2.1.2-3.1build1
Candidate: 2.1.2-3.1build1
Version table:
*** 2.1.2-3.1build1 0
500 http://
100 /var/lib/
description: | updated |
description: | updated |
description: | updated |
tags: |
added: verification-done removed: verification-needed |
Status changed to 'Confirmed' because the bug affects multiple users.