Could not create HID interface for product, wx error dialog
Paul Wiseman <[email protected]>
| Newsgroups | gmane.comp.python.wxpython.devel |
|---|---|
| Message-ID | <CACgdh2iMKLfOqtpaX8WHAGDVft_awtp-j6gy=-8cwYx3U754hg@mail.gmail.com> |
Hey, I'm on mac seeing an error dialog being shown that looks like it's being called from the wx code itself. The dialog reads "Python Error" "Could not create HID Interface for product (error 2: No such file or directory)". Ideally I'd like to fix the issue but I'd like to at least suppress the dialog as it's pretty confusing for the end user. I also found this in the logs which I think is related C++ assertion "wxHIDModule::sm_keyboards.GetCount() != 0" failed at /BUILD/wxPython-src-2.8.12.1/src/mac/corefoundation/hid.cpp(692) in wxGetKeyState(): No keyboards found! Is this where the dialog is getting called from? and if so how can I prevent this dialog from showing? Seems like it originates from here https://fossies.org/dox/wxWidgets-3.0.2/hid_8cpp_source.html line 172 but I'm unsure what I'm calling that gets to this line- is it wx.GetKeyState? Is there a way I can handle this error? Can also confirm the user definitely has a keyboard despite "No keyboards found!" -- You received this message because you are subscribed to the Google Groups "wxPython-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.