Error: AttributeError: module 'wx' has no attribute 'BitmapBundle'See original GitHub issue
Thank you for this excellent tool. With the latest version (6.0.3) I get the following error while trying to use the plugin on MacOS/OS X. Sadly I never used it before on OS X, so not sure if it’s a new error or not. It seems to work on Windows.
Traceback (most recent call last): File "/Users/username/Documents/KiCad/6.0/3rdparty/plugins/com_github_bouni_kicad-jlcpcb-tools/plugin.py", line 21, in Run dialog = JLCPCBTools(None) File "/Users/username/Documents/KiCad/6.0/3rdparty/plugins/com_github_bouni_kicad-jlcpcb-tools/mainwindow.py", line 183, in __init__ loadBitmapScaled( File "/Users/username/Documents/KiCad/6.0/3rdparty/plugins/com_github_bouni_kicad-jlcpcb-tools/helpers.py", line 53, in loadBitmapScaled return wx.BitmapBundle(bmp) AttributeError: module 'wx' has no attribute 'BitmapBundle'
- Created a year ago
- Comments:14 (6 by maintainers)
Top GitHub Comments
😭 It seems that all OSes ship different wx /wxwidgets versions which leads to this kind of errors. I thought that simply checking the KiCAD version is enough but I need to come up with a better plan 😕 Maybe I check if wx has BitmapBundle and if so use that 🤔
Give me a few hours to work something out!
This wx version mess drives me crazy 🤯 I’m still not able to come up wit a solution that works with all versions 😒