-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fatal Error on iMac running 10.10.5 #3
Comments
The code which converts data types from their internal representation to lua was designed to be useful in a larger context, perhaps eventually being added to one of our internal frameworks so it doesn't have to be repeated. However, now that I've played with axuielement for a while, I think I can remove most of the "extra types" since they aren't relevant to Accessibility. This is a long way of saying that the module currently has code to identify variable types it will never use... and some of them are newer than 10.10... if the conversion code ever gets made into a reusable library, additional code should be added to detect the OS version and work around this... however, the simplest fix, which I can include in some updates I plan to add tonight, is to simply remove the data types that I now know Accessibility never uses. |
Awesome - thank you!! |
I fixed this by commenting out lines 156 and 157 in internal.m:
|
The current version at https://github.com/asmagill/hs._asm.axuielement/ has these extraneous types removed as well, but since I'm still working on the search rewrite, I hadn't really posted about it yet! Guess I should have here, but glad you got it working for you for now! |
No worries at all! Thanks @asmagill! |
I just tried using axuielement on one of our iMac running 10.10.5 and it breaks Hammerspoon with the following error:
The text was updated successfully, but these errors were encountered: