Hi Peter,

thank you for the bug report. I just uploaded to unstable a new release
which fixes this issue, now.

Best regards,                   Georges.

Peter Roozemaal a écrit :
> Package: wxglade
> Version: 1.1.a2+repack-1
> Severity: grave
> Justification: renders package unusable
> X-Debbugs-Cc: math...@freedom.nl
> 
> Starting wxGlade on Debian testing gives the Error Dialog; details
> are pasted below:
> 
> ERROR   : Importing widget "notebook.notebook" failed
> An unexpected error occurred!
> 
> Exception type:      <class 'AttributeError'>
> Exception details:   module 'misc' has no attribute 'restore_focus'
> 
> Application stack traceback:
>   File "/usr/share/wxglade/plugins.py", line 228, in import_module
>     imported_module = __import__(module_name, {}, {}, ['just_not_empty'])
>                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/share/wxglade/widgets/notebook/notebook.py", line 93, in <module>
>     class EditNotebook(ManagedBase, EditStylesMixin):
>   File "/usr/share/wxglade/widgets/notebook/notebook.py", line 200, in 
> EditNotebook
>     @misc.restore_focus
>      ^^^^^^^^^^^^^^^^^^
> 
> Date and time:       2025-01-08T17:32:06.373376
> Python version:      3.12.8
> wxPython version:    4.2.2
> wxWidgets platform:  __WXGTK__
> wxGlade version:     1.1.a2+repack
> 
> -- System Information:
> Debian Release: trixie/sid
>   APT prefers testing
>   APT policy: (500, 'testing')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 6.11.10-amd64 (SMP w/12 CPU threads; PREEMPT)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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 wxglade depends on:
> ii  python3           3.12.8-1
> ii  python3-wxgtk4.0  4.2.2+dfsg-1+b1
> 
> wxglade recommends no packages.
> 
> wxglade suggests no packages.
> 
> -- no debconf information

-- 
Georges KHAZNADAR et Jocelyne FOURNIER
22 rue des mouettes, 59240 Dunkerque France.
Téléphone +33 (0)3 28 29 17 70

Attachment: signature.asc
Description: PGP signature

Reply via email to