** Description changed:
[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/python2.7/dist-packages/tables/hdf5Extension.so:
undefined symbol: H5T_STD_U8BE_g
[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/pyshared/tables/tests/test_all.py
+ 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/python2.7/dist-packages/tables/__init__.py", line 76, in
<module>
from tables.file import File, openFile, copyFile
File "/usr/lib/python2.7/dist-packages/tables/file.py", line 43, in <module>
from tables import hdf5Extension
ImportError: /usr/lib/python2.7/dist-packages/tables/hdf5Extension.so:
undefined symbol: H5T_STD_U8BE_g
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://gb.archive.ubuntu.com/ubuntu/ natty/universe amd64 Packages
100 /var/lib/dpkg/status
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/863248
Title:
dependency on liblzo2-2 not specified
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pytables/+bug/863248/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs