Error: AttributeError: module 'wx' has no attribute 'BitmapBundle'
See original GitHub issueHi,
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'
Issue Analytics
- State:
- Created a year ago
- Comments:14 (6 by maintainers)
Top Results From Across the Web
AttributeError: module 'wx' has no attribute 'AboutDialogInfo'
I am getting the following error: AttributeError: module 'wx' has no attribute 'AboutDialogInfo'. The code is pretty straightforward with no ...
Read more >module 'wx' has no attribute 'FONTWEIGHT_LIGHT' #1721
FONTWEIGHT_LIGHT, AttributeError: module 'wx' has no attribute 'FONTWEIGHT_LIGHT'. I thought it was the problem about the wx version, ...
Read more >Phoenix port of wx.lib and friends
AttributeError : 'module' object has no attribute 'RegionFromBitmap'. I had to stop as without wx.RegionFromBitmap there is no
Read more >module 'wx' has no attribute '__version__' in launching DLC ...
We are trying to operate DeepLabCut with a new computer and failed to launch GUI, although “import deeplabcut” works.
Read more >subject:"wxpython"
The legacy, OSX-Only wx.webkit module has been removed. ... AttributeError: 'NoneType' object has no attribute 'Bind' By running it ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
😭 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 😒