[wxPython-users] 2.7 crash
Andrea Gavana
andrea.gavana at gmail.com
Sun Oct 15 09:09:31 PDT 2006
Hello Matthias,
> This simple file here crashes the 2.7 preview build:
>
> import wx
> wx.Locale(wx.LANGUAGE_DEFAULT)
Yes, but if you look at the error message:
>>> import wx
>>> wx.Locale(wx.LANGUAGE_DEFAULT)
18:07:20: Debug: ..\..\src\common\stdpbase.cpp(51): assert "traits" failed in wx
StandardPathsBase::Get(): create wxApp before calling this
You'll see that if you create an app before calling wx.Locale()
everything goes smoothly (at least here). Maybe this wasn't required
before... no idea.
Andrea.
"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.virgilio.it/infinity77/
More information about the wxpython-users
mailing list