If I run the wxPython 2.9 demo and open the WIT and then run wxPython 2.8.12.0 demo and open the WIT I get this exception.
C:\Python26\Doc\wxPython2.8 Docs and Demos\demo>\python26\python.exe main.py
Traceback (most recent call last):
File "main.py", line 2186, in OnOpenWidgetInspector
InspectionTool().Show(wnd, True)
File "C:\python26\lib\site-packages\wx-2.8-msw-unicode\wx\lib\inspection.py",
line 94, in Show
app=self._app)
File "C:\python26\lib\site-packages\wx-2.8-msw-unicode\wx\lib\inspection.py",
line 182, in __init__
self.LoadSettings(self.config)
File "C:\python26\lib\site-packages\wx-2.8-msw-unicode\wx\lib\inspection.py",
line 385, in LoadSettings
self.mgr.LoadPerspective(perspective)
File "C:\python26\lib\site-packages\wx-2.8-msw-unicode\wx\aui.py", line 657, i
n LoadPerspective
return _aui.AuiManager_LoadPerspective(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "wxAssertFailure" failed at ..\..\src\a
ui\framemanager.cpp(1442) in wxAuiManager::LoadPaneInfo(): Bad Perspective Strin
g
Traceback (most recent call last):
File "main.py", line 2186, in OnOpenWidgetInspector
InspectionTool().Show(wnd, True)
File "C:\python26\lib\site-packages\wx-2.8-msw-unicode\wx\lib\inspection.py",
line 94, in Show
app=self._app)
File "C:\python26\lib\site-packages\wx-2.8-msw-unicode\wx\lib\inspection.py",
line 182, in __init__
self.LoadSettings(self.config)
File "C:\python26\lib\site-packages\wx-2.8-msw-unicode\wx\lib\inspection.py",
line 385, in LoadSettings
self.mgr.LoadPerspective(perspective)
File "C:\python26\lib\site-packages\wx-2.8-msw-unicode\wx\aui.py", line 657, i
n LoadPerspective
return _aui.AuiManager_LoadPerspective(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "wxAssertFailure" failed at ..\..\src\a
ui\framemanager.cpp(1442) in wxAuiManager::LoadPaneInfo(): Bad Perspective Strin
g
Work around is to delete the HKEY_CURRENT_USER\Software\wxpyinspector\perspective entry in the registry.
Then I can use the WIT in wxPython 2.8 again and going up to 2.9 is no problem.
Werner