Bug report
Igor Korot <[email protected]> Wed, 16 Apr 2025 21:01:03 -0500
| Newsgroups | gmane.comp.python.wxglade |
|---|---|
| Message-ID | <CA+FnnTyitCFFYdOG6SUQSxW692T680vth9qEtgOK2NNymFAORQ@mail.gmail.com> |
--===============4466262139898432902==
Content-Type: multipart/alternative; boundary="000000000000d2cca30632efc6e7"
--000000000000d2cca30632efc6e7
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Hi, ALL,
I hit such exceptional after following this steps:
1. Start wxGlade.
2. Create extolling. Put some controls on it, including static text.
3. Leave it untouched for some time.
4. When you comeback, remove one of the control and put the wxStaticText
instead. For the new static text, check =E2=80=9CStore as Attribute =E2=80=
=9C.
5. Click on the other static text in order to set the same checkbox and you
will see a crash.
I have an old and slow system with Windows 8.1..
Thank you.
ERROR : None
An unexpected error occurred!
Exception type: <class 'AttributeError'>
Exception details: 'NoneType' object has no attribute 'finalize'
Application stack traceback:
File "C:\Program Files\wxGlade-1.1.0_win_amd64\new_properties.py", line
1526, in on_kill_focus
self.flush()
File "C:\Program Files\wxGlade-1.1.0_win_amd64\new_properties.py", line
1578, in flush
self._check_for_user_modification()
File "C:\Program Files\wxGlade-1.1.0_win_amd64\new_properties.py", line
1543, in _check_for_user_modification
ret =3D Property._check_for_user_modification(self, new_value, force,
activate)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\wxGlade-1.1.0_win_amd64\new_properties.py", line
184, in _check_for_user_modification
self.on_value_edited(new_value, activate or force or None)
File "C:\Program Files\wxGlade-1.1.0_win_amd64\new_properties.py", line
171, in on_value_edited
common.history.property_changed(self)
File "C:\Program Files\wxGlade-1.1.0_win_amd64\history.py", line 468, in
property_changed
item =3D self._finalize_item()
^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\wxGlade-1.1.0_win_amd64\history.py", line 457, in
_finalize_item
item.finalize(self._monitor)
^^^^^^^^^^^^^
Date and time: 2025-04-16T20:27:32.251437
Python version: 3.12.0
wxPython version: 4.2.1
wxWidgets platform: __WXMSW__
wxGlade version: 1.1.0
--000000000000d2cca30632efc6e7
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"auto">Hi, ALL,</div><div dir=3D"auto"><br></div><div dir=3D"aut=
o">I hit such exceptional after following this steps:</div><div dir=3D"auto=
"><br></div><div dir=3D"auto">1. Start wxGlade.</div><div dir=3D"auto">2. C=
reate extolling. Put some controls on it, including static text.</div><div =
dir=3D"auto">3. Leave it untouched for some time.</div><div dir=3D"auto">4.=
When you comeback, remove one of the control and put the wxStaticText inst=
ead. For the new static text, check =E2=80=9CStore as Attribute =E2=80=9C.<=
/div><div dir=3D"auto">5. Click on the other static text in order to set th=
e same checkbox and you will see a crash.</div><div dir=3D"auto"><br></div>=
<div dir=3D"auto">I have an old and slow system with Windows 8.1..</div><di=
v dir=3D"auto"><br></div><div dir=3D"auto">Thank you.</div><div dir=3D"auto=
"><br></div><div dir=3D"auto"><br></div><div dir=3D"auto"><br></div><div di=
r=3D"auto">ERROR=C2=A0 =C2=A0: None<br>
An unexpected error occurred!<br>
<br>
Exception type:=C2=A0 =C2=A0 =C2=A0 <class 'AttributeError'><=
br>
Exception details:=C2=A0 =C2=A0'NoneType' object has no attribute &=
#39;finalize'<br>
<br>
Application stack traceback:<br>
=C2=A0 File "C:\Program Files\wxGlade-1.1.0_win_amd64\new_properties.p=
y", line 1526, in on_kill_focus<br>
=C2=A0 =C2=A0 self.flush()<br>
=C2=A0 File "C:\Program Files\wxGlade-1.1.0_win_amd64\new_properties.p=
y", line 1578, in flush<br>
=C2=A0 =C2=A0 self._check_for_user_modification()<br>
=C2=A0 File "C:\Program Files\wxGlade-1.1.0_win_amd64\new_properties.p=
y", line 1543, in _check_for_user_modification<br>
=C2=A0 =C2=A0 ret =3D Property._check_for_user_modification(self, new_value=
, force, activate)<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^=
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^<br>
=C2=A0 File "C:\Program Files\wxGlade-1.1.0_win_amd64\new_properties.p=
y", line 184, in _check_for_user_modification<br>
=C2=A0 =C2=A0 self.on_value_edited(new_value, activate or force or None)<br=
>
=C2=A0 File "C:\Program Files\wxGlade-1.1.0_win_amd64\new_properties.p=
y", line 171, in on_value_edited<br>
=C2=A0 =C2=A0 common.history.property_changed(self)<br>
=C2=A0 File "C:\Program Files\wxGlade-1.1.0_win_amd64\history.py"=
, line 468, in property_changed<br>
=C2=A0 =C2=A0 item =3D self._finalize_item()<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^^^^^^^^^^^^^^^^^^^^^<br>
=C2=A0 File "C:\Program Files\wxGlade-1.1.0_win_amd64\history.py"=
, line 457, in _finalize_item<br>
=C2=A0 =C2=A0 item.finalize(self._monitor)<br>
=C2=A0 =C2=A0 ^^^^^^^^^^^^^<br>
<br>
Date and time:=C2=A0 =C2=A0 =C2=A0 =C2=A02025-04-16T20:27:32.251437<br>
Python version:=C2=A0 =C2=A0 =C2=A0 3.12.0<br>
wxPython version:=C2=A0 =C2=A0 4.2.1<br>
wxWidgets platform:=C2=A0 __WXMSW__<br>
wxGlade version:=C2=A0 =C2=A0 =C2=A01.1.0<br>
</div>
--000000000000d2cca30632efc6e7--
--===============4466262139898432902==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
--===============4466262139898432902==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
wxGlade-general mailing list
wxGlade-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/wxglade-general
--===============4466262139898432902==--