Hi Frédéric,

Can you send me details of your configuration?
- platform
- python version
- wxPython version

I suspect that something changed in the WX API causing this issue. I don't 
think this should prevent you from packaging, as this part of the code only 
gets called upon user request to exit. (There might be no request to save or 
missing storage of window state, but no big impact on the functionality).

Cheers,
Artur

-----Original Message-----
From: PICCA Frederic-Emmanuel <frederic-emmanuel.pi...@synchrotron-soleil.fr> 
Sent: Wednesday, September 6, 2023 3:25 PM
To: Glavic Artur Gregor <artur.gla...@psi.ch>
Cc: debian-pan-maintainers <debian-pan-maintain...@alioth-lists.debian.net>; 
1051...@bugs.debian.org
Subject: Issue with the genx software

Hello, I am preparing the packaging of genx 3.6.22.

When I try to quit the application I have this error message

CRITICAL: uncought python error
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/genx/gui/main_window.py", line 1418, in 
eh_mb_quit
    if event.CanVeto() and not self.model_control.saved:
       ^^^^^^^^^^^^^
AttributeError: 'CommandEvent' object has no attribute 'CanVeto'
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/genx/gui/main_window.py", line 1418, in 
eh_mb_quit
    if event.CanVeto() and not self.model_control.saved:
       ^^^^^^^^^^^^^

So I would like your help in order to solve this issue.

thanks for considering.

Frédéric

Reply via email to