Skip to content

Instantly share code, notes, and snippets.

@DarkFenX
Created February 11, 2020 09:40
Show Gist options
  • Save DarkFenX/b54819682f5ea9a33d38b5e490331203 to your computer and use it in GitHub Desktop.
Save DarkFenX/b54819682f5ea9a33d38b5e490331203 to your computer and use it in GitHub Desktop.
E:\eve\pyfa>C:\Python38_64\python.exe pyfa.py
Error in sys.excepthook:
Traceback (most recent call last):
File "\\VBOXSVR\exchange\eve\pyfa\gui\errorDialog.py", line 49, in HandleExcep
tion
cls.__frame = ErrorFrame(None)
File "\\VBOXSVR\exchange\eve\pyfa\gui\errorDialog.py", line 68, in __init__
super().__init__(parent, id=wx.ID_ANY, title="pyfa error", pos=wx.DefaultPos
ition, size=wx.Size(500, 600))
File "\\VBOXSVR\exchange\eve\pyfa\gui\auxFrame.py", line 46, in __init__
super().__init__(**kwargs)
wx._core.wxAssertionError: C++ assertion "Assert failure" failed at ..\..\src\ms
w\toplevel.cpp(309) in wxTopLevelWindowMSW::MSWGetParent(): wxFRAME_FLOAT_ON_PAR
ENT but no parent?
Original exception was:
Traceback (most recent call last):
File "pyfa.py", line 144, in <module>
mf = MainFrame(options.title)
File "\\VBOXSVR\exchange\eve\pyfa\gui\mainFrame.py", line 172, in __init__
self.additionsPane = AdditionsPane(self.fitting_additions_split, self)
File "\\VBOXSVR\exchange\eve\pyfa\gui\additionsPane.py", line 56, in __init__
fighterImg = BitmapLoader.getImage("fighter_small", "gui")
File "\\VBOXSVR\exchange\eve\pyfa\gui\bitmap_loader.py", line 83, in getImage
bmp = cls.getBitmap(name, location)
File "\\VBOXSVR\exchange\eve\pyfa\gui\bitmap_loader.py", line 74, in getBitmap
bmp = cls.loadBitmap(name, location)
File "\\VBOXSVR\exchange\eve\pyfa\gui\bitmap_loader.py", line 100, in loadBitm
ap
filename, img = cls.loadScaledBitmap(name, location, scale)
File "\\VBOXSVR\exchange\eve\pyfa\gui\bitmap_loader.py", line 125, in loadScal
edBitmap
img = cls.loadImage(filename, location)
File "\\VBOXSVR\exchange\eve\pyfa\gui\bitmap_loader.py", line 145, in loadImag
e
return wx.Image(path)
wx._core.wxAssertionError: C++ assertion "strcmp(setlocale(LC_ALL, NULL), "C") =
= 0" failed at ..\..\src\common\intl.cpp(1579) in wxLocale::GetInfo(): You proba
bly called setlocale() directly instead of using wxLocale and now there is a mis
match between C/C++ and Windows locale.
Things are going to break, please only change locale by creating wxLocale object
s to avoid this!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment