[Debian-pan-maintainers] Bug#1018820: fabio-viewer: crash during file opening

Martin Lutz m.lutz at uu.nl
Wed Aug 31 10:57:45 BST 2022


Package: fabio-viewer
Version: 0.14.0+dfsg-1
Severity: normal

Dear Maintainer,

when opening a file with the script fabio_viewer a crash occurs. (Tried on cbf
and Bruker sfrm images). The progress bar expects an integer value but the
routine returns a float value.

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/fabio/app/viewer.py", line 192, in open_data_series
    self.progressBar.setValue(float(iid + 1) / (total) * 100.)
TypeError: setValue(self, int): argument 1 has unexpected type 'float'
Aborted

Reading the files interactively in python and display with matplotlib works as
expected.



-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.18.0-4-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages fabio-viewer depends on:
ii  python3        3.10.6-1
ii  python3-fabio  0.14.0+dfsg-1+b1
ii  python3-numpy  1:1.21.5-1+b1

fabio-viewer recommends no packages.

fabio-viewer suggests no packages.

-- no debconf information



More information about the Debian-pan-maintainers mailing list