Jun-20-2019, 12:55 PM
hello, I have recently started to learn and code using wxPython and so far all seems to go well, however whenever I call upon wx.Bitmap() to display either an icon or an image I get the following error(the name of the file in the error varies of course):
14:48:15: can't open file 'mincol.jpg' (error 2: the system cannot find the file specified.)
14:48:15: Failed to load image from file "mincol.jpg".
The problem is that in my files I do have a file with the same name, why doesn't it work? (if it helps I am writing code on anaconda) furthermore my scrip also displayes the following error:
C++ assertion "Assert failure" failed at ..\..\src\msw\toolbar.cpp(823) in wxToolBar::Realize(): invalid tool button bitmap
I am quite sure these two errors are connected, can anyone help out?
thank you :)
14:48:15: can't open file 'mincol.jpg' (error 2: the system cannot find the file specified.)
14:48:15: Failed to load image from file "mincol.jpg".
The problem is that in my files I do have a file with the same name, why doesn't it work? (if it helps I am writing code on anaconda) furthermore my scrip also displayes the following error:
C++ assertion "Assert failure" failed at ..\..\src\msw\toolbar.cpp(823) in wxToolBar::Realize(): invalid tool button bitmap
I am quite sure these two errors are connected, can anyone help out?
thank you :)