Package: pymca Version: 4.4.1p1-2 Severity: important Dear Maintainer,
since the upload of python-h5py, the hdf5 part of pymca is broken. here what's happend, when I tryed a import In [3]: from PyMca import HDF5Widget --------------------------------------------------------------------------- ImportError Traceback (most recent call last) /home/picca/<ipython-input-3-1ccede2cc896> in <module>() ----> 1 from PyMca import HDF5Widget /usr/lib/pymodules/python2.7/PyMca/HDF5Widget.py in <module>() 18 from xpaxs.io import phynx 19 except ImportError: ---> 20 import phynx 21 22 import weakref /usr/lib/pymodules/python2.7/PyMca/phynx/__init__.py in <module>() 6 from .version import __version__ 7 ----> 8 from .beam import Beam 9 from .characterization import Characterization 10 from .component import ( /usr/lib/pymodules/python2.7/PyMca/phynx/beam.py in <module>() 4 from __future__ import absolute_import 5 ----> 6 from .group import Group 7 8 /usr/lib/pymodules/python2.7/PyMca/phynx/group.py in <module>() 9 import numpy as np 10 ---> 11 from .base import _PhynxProperties 12 from .dataset import Axis, Dataset, Signal 13 from .exceptions import H5Error /usr/lib/pymodules/python2.7/PyMca/phynx/base.py in <module>() 14 import h5py 15 ---> 16 from .exceptions import H5Error 17 from .utils import simple_eval 18 /usr/lib/pymodules/python2.7/PyMca/phynx/exceptions.py in <module>() 2 """ 3 ----> 4 from h5py import H5Error 5 6 __all__ = ['H5Error'] ImportError: cannot import name H5Error here you can find the documentation of h5py explaining the changes http://h5py.alfven.org/docs-2.0/intro/whatsnew.html#the-h5error-exception- class-has-been-removed-along-with-h5py-h5e the affected files are phynx/multichannelanalyzer.py:from .exceptions import H5Error phynx/multichannelanalyzer.py: except H5Error: phynx/exceptions.py:from h5py import H5Error phynx/exceptions.py:__all__ = ['H5Error'] phynx/base.py:from .exceptions import H5Error phynx/group.py:from .exceptions import H5Error phynx/__init__.py:from .exceptions import H5Error phynx/dataset.py:from .exceptions import H5Error phynx/dataset.py: except H5Error: phynx/dataset.py: except H5Error: phynx/dataset.py: except H5Error: phynx/dataset.py: except H5Error: phynx/file.py:from .exceptions import H5Error phynx/file.py: except H5Error: thanks for your efforts Frederic -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 3.1.0-1-686-pae (SMP w/2 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages pymca depends on: ii libc6 2.13-24 ii libgl1-mesa-glx [libgl1] 7.11.2-1 ii libglu1-mesa [libglu1] 7.11.2-1 ii pymca-data 4.4.1p1-2 ii python 2.7.2-9 ii python-numpy 1:1.5.1-3 ii python-qt4 4.9-2 ii python-qwt5-qt4 5.2.1~cvs20091107+dfsg-6+b1 ii python-support 1.0.14 Versions of packages pymca recommends: ii python-h5py 2.0.1-1 ii python-matplotlib 1.1.0-1 ii python-mdp 3.2-1 ii python-opengl 3.0.1~b2-1 ii python-qt4-gl 4.9-2 pymca suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org