Hi All,
my wxpython application has a polling file bit that doesnt require wx.App()
but i need to use standard path to save the error log.
I am getting the following error. Any help…
Microsoft Windows [Version 6.0.6000]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.
C:\Users\docsbox>python
Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)] on
win32
Type “help”, “copyright”, “credits” or “license” for more information.
import wx
wx.StandardPaths.Get()
09:36:43: Debug: …..\src\common\stdpbase.cpp(51): assert “traits” failed in wx
StandardPathsBase::Get(): create wxApp before calling this
<wx._misc.StandardPaths; proxy of <Swig Object of type ‘wxStandardPaths *’ at 0x
1274b68> >
cheers
Thomas