Bug#974181: python3-sasview: tests fail with h5py 3.1

Drew Parsons dparsons at debian.org
Wed Nov 11 04:16:49 GMT 2020


Package: python3-sasview
Version: 5.0.3-1+b1
Severity: normal

sasview tests fail with python3-h5py 3.1.0-1exp1 from experimental.

The format of sasview's .h5 test file seems to be inconsistent with
respect to utf-8 encoding.

e.g. error message for cansas_reader_hdf5.test_real_data is
>       raise NoKnownLoaderException(
            "Generic readers failed to load %s" % path)
E       sas.sascalc.dataloader.loader_exceptions.NoKnownLoaderException: Generic readers failed to load /tmp/autopkgtest-lxc.nojro145/downtmp/autopkgtest_tmp/test/sasdataloader/test/test_data/simpleexamplefile.h5

/usr/lib/python3/dist-packages/sas/sascalc/dataloader/loader.py:117: NoKnownLoaderException
------------------------------ Captured log call -------------------------------
WARNING  sas.sascalc.dataloader.file_reader_base_class:file_reader_base_class.py:160 SasView cannot load /tmp/autopkgtest-lxc.nojro145/downtmp/autopkgtest_tmp/test/sasdataloader/test/test_data/simpleexamplefile.h5.
                                                                                     Invalid XML syntax
WARNING  sas.sascalc.dataloader.file_reader_base_class:file_reader_base_class.py:160 'utf-8' codec can't decode byte 0x89 in position 0: invalid start byte
ERROR    sas.sascalc.dataloader.loader:loader.py:93 Generic readers failed to load /tmp/autopkgtest-lxc.nojro145/downtmp/autopkgtest_tmp/test/sasdataloader/test/test_data/simpleexamplefile.h5
                                                    Unknown data format: /tmp/autopkgtest-lxc.nojro145/downtmp/autopkgtest_tmp/test/sasdataloader/test/test_data/simpleexamplefile.h5.
                                                    The file is not a known format that can be loaded by SasView.






-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.9.0-1-amd64 (SMP w/8 CPU threads)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-sasview depends on:
ii  python3                             3.8.6-1
ii  python3-bumps                       0.7.16-1
ii  python3-h5py                        3.1.0-1exp1
ii  python3-h5py-serial                 3.1.0-1exp1
ii  python3-ipython                     7.19.0-1
ii  python3-lxml                        4.6.1-1
ii  python3-matplotlib                  3.3.2-2
ii  python3-numpy [python3-numpy-abi9]  1:1.19.4-1
ii  python3-periodictable               1.5.2-3
ii  python3-pil                         8.0.1-1
ii  python3-pyparsing                   2.4.7-1
ii  python3-pyqt5                       5.15.1+dfsg-2+b2
ii  python3-pyqt5.qtsvg                 5.15.1+dfsg-2+b2
ii  python3-qt5reactor                  0.6.1-1
ii  python3-qtconsole                   4.7.6-1
ii  python3-sasmodels                   1.0.4-1
ii  python3-scipy                       1.5.3-2
ii  python3-xhtml2pdf                   0.2.4-1

python3-sasview recommends no packages.

Versions of packages python3-sasview suggests:
ii  sasview-doc  5.0.3-1

-- no debconf information



More information about the debian-science-maintainers mailing list