You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Operating system: Windows 10 wxPython version & source: 4.2.2 (pypi) Python version & source: 3.12
Description of the problem:
The wx.lib.inspection.InspectionTool crashed with Exception: "Bad perspective string" and cannot be displayed correctly again.
Deleting the registry entry: [HKCU\Software\wxpyinspector\perspective]
can solve this issue. However, an easier workaround would be preferable.
Traceback (most recent call last):
... (snip) ...
File "C:\Python312\Lib\site-packages\wx\lib\inspection.py", line 105, in Show
self._frame = InspectionFrame( parent=parent,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python312\Lib\site-packages\wx\lib\inspection.py", line 201, in __init__
self.LoadSettings(self.config)
File "C:\Python312\Lib\site-packages\wx\lib\inspection.py", line 411, in LoadSettings
self.mgr.LoadPerspective(perspective)
File "C:\Python312\Lib\site-packages\wx\lib\agw\aui\framemanager.py", line 5291, in LoadPerspective
pane = self.LoadPaneInfo(pane_part, pane)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python312\Lib\site-packages\wx\lib\agw\aui\framemanager.py", line 5164, in LoadPaneInfo
raise Exception("Bad perspective string")
Exception: Bad perspective string
For comparison, here is an example of a normal key string and an incorrect one that triggered a "Bad perspective string" exception:
Operating system: Windows 10
wxPython version & source: 4.2.2 (pypi)
Python version & source: 3.12
Description of the problem:
The
wx.lib.inspection.InspectionTool
crashed with Exception: "Bad perspective string" and cannot be displayed correctly again.I haven't figured out what triggers this crash, but I found the workaround here:
https://discuss.wxpython.org/t/inspectiontool-crashes-every-time/25805
Deleting the registry entry: [HKCU\Software\wxpyinspector\perspective]
can solve this issue. However, an easier workaround would be preferable.
For comparison, here is an example of a normal key string and an incorrect one that triggered a "Bad perspective string" exception:
The text was updated successfully, but these errors were encountered: