Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pyFAI-calib2 crashes when loading the image #2422

Open
kif opened this issue Feb 4, 2025 · 6 comments
Open

pyFAI-calib2 crashes when loading the image #2422

kif opened this issue Feb 4, 2025 · 6 comments
Labels
bug Serious issue, to be addressed in priority ! gui Affects only the graphical user interface

Comments

@kif
Copy link
Member

kif commented Feb 4, 2025

Windows64
Python3.13
pyQt5

@kif kif added bug Serious issue, to be addressed in priority ! gui Affects only the graphical user interface labels Feb 4, 2025
@kif
Copy link
Member Author

kif commented Feb 4, 2025

Does not occur when:

  • Loading the filename from the CLI
  • loading the image via the drag*&drop

Only crashes when accepting the image from the HDF5 preview filer.
--> investigate a possible object which would be garbage collected.

@EdgarGF93
Copy link
Collaborator

EdgarGF93 commented Feb 6, 2025

It works fine for me on wscisoft, using:

Python 3.13.1
Package         Version
--------------- -----------
contourpy       1.3.1
cycler          0.12.1
fabio           2024.9.0
fonttools       4.55.8
h5py            3.12.1
hdf5plugin      5.0.0
kiwisolver      1.4.8
lxml            5.3.0
matplotlib      3.10.0
numexpr         2.10.2
numpy           2.2.2
packaging       24.2
pillow          11.1.0
pip             24.3.1
pyFAI           2025.1.0
pyparsing       3.2.1
PyQt5           5.15.11
PyQt5-Qt5       5.15.2
PyQt5_sip       12.17.0
python-dateutil 2.9.0.post0
scipy           1.15.1
silx            2.2.0
six             1.17.0

I installed pyFAI gui with

pip install pyFAI[gui]

@kif
Copy link
Member Author

kif commented Feb 6, 2025

Same command, same file, same computer, same packages ... just different sessions...

@EdgarGF93
Copy link
Collaborator

Same file? I'm using Eiger2_CeO2_75keV.h5

@kif
Copy link
Member Author

kif commented Feb 6, 2025

I have used several Eiger2 files and all are crashing in the venv.
I tried the conda way (py3.12+Qt6) it is fine under windows.

@kif
Copy link
Member Author

kif commented Feb 7, 2025

I suspect it to be linked to #2047 which comes down to a use after delete of something in silx, (functtool_partial pattern .... see hdf5TreeModel in silx)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Serious issue, to be addressed in priority ! gui Affects only the graphical user interface
Projects
None yet
Development

No branches or pull requests

2 participants