From: John H. <jdh...@ac...> - 2005-02-16 14:41:58
|
>>>>> "daniele" =3D=3D daniele <dga...@gm...> writes: daniele> Thank you very much for your advice. Unfortunately when daniele> I try to run the script I get: daniele> File daniele> "C:\Python24\Lib\site-packages\pythonwin\pywin\framework\scr= iptutils.py", daniele> line 310, in RunScript exec codeObject in daniele> __main__.__dict__ File daniele> "C:\Python24\MathPlot_examples\examples\embedding_in_wx3.py"= , daniele> line 156, in ? app =3D MyApp(0) File daniele> "C:\Python24\Lib\site-packages\wx-2.5.3-msw-ansi\wx\_core.py= ", daniele> line 5301, in __init__ self._BootstrapApp() File daniele> "C:\Python24\Lib\site-packages\wx-2.5.3-msw-ansi\wx\_core.py= ", daniele> line 4980, in _BootstrapApp return daniele> _core_.PyApp__BootstrapApp(*args, **kwargs) File daniele> "C:\Python24\MathPlot_examples\examples\embedding_in_wx3.py"= , daniele> line 111, in OnInit self.panel =3D daniele> XRCCTRL(self.frame,"MainPanel") File daniele> "C:\Python24\Lib\site-packages\wx-2.5.3-msw-ansi\wx\xrc.py", daniele> line 203, in XRCCTRL return daniele> window.FindWindowById(XRCID(str_id)) AttributeError: daniele> 'NoneType' object has no attribute 'FindWindowById' daniele> Which frankly I don=B4t understand. Any further advice? daniele> Thank you, DG This looks either like a wx version problem or a bad wx install.=20 wx gurus, is app =3D MyApp(0) expected to work on wx-2.5.3 ? Can anyone test this examples/embedding_in_wx3.py under a similar configuration? JDH |