Dear Martin, Thanks for reporting the bug. I have opened another at github: https://github.com/silx-kit/fabio/issues/491
It should be fairly easy to fix. Best regards, Jerome On Wed, 31 Aug 2022 11:57:45 +0200 Martin Lutz via Debian-pan-maintainers <debian-pan-maintain...@alioth-lists.debian.net> wrote: > 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 > > -- > Debian-pan-maintainers mailing list > debian-pan-maintain...@alioth-lists.debian.net > https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-pan-maintainers