question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: AttributeError: module 'wx' has no attribute 'BitmapBundle'

See original GitHub issue

Hi,

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:closed
  • Created a year ago
  • Comments:14 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
Bounicommented, Jun 22, 2022

😭 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!

0reactions
Bounicommented, Jun 27, 2022

This wx version mess drives me crazy 🤯 I’m still not able to come up wit a solution that works with all versions 😒

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found