kklmn / xrt

Package xrt (XRayTracer) is a python software library for ray tracing and wave propagation in x-ray regime. It is primarily meant for modeling synchrotron sources, beamlines and beamline elements.
MIT License
84 stars 30 forks source link

No access to protected functions or signals for objects not created from Python Aborted (core dumped) #208

Open yahmadyar95 opened 3 weeks ago

yahmadyar95 commented 3 weeks ago

Crash when adding a component

I encountered a crash when adding an undulator in the software. The error message is:

RuntimeError: no access to protected functions or signals for objects not created from Python
Aborted (core dumped)

Environment: • OS: Linux • Python: 3.12.2 (Miniconda3)

Steps:

  1. Extracted the software from a zip file.
  2. Ran the program in terminal using xrtQookStart.pyw.
  3. Tried to add an undulator, resulting in the crash.

Any guidance on resolving this issue would be appreciated.

kklmn commented 2 weeks ago

Cannot be reproduced on:

Certainly, you may want to install Miniconda instead of Anaconda and manually solve all the dependency troubles about PyQt. But those troubles are not xrt-related.