-
Notifications
You must be signed in to change notification settings - Fork 17
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
[Bug] LES is unable to register accessibility permissions on macOS 11 or greater #6
Comments
Hello! Thank you for using LES for macOS. I do not use macOS Montery right now and it'll be a while before I'll be able to reproduce your exact bug, usually we find that bugs like these are resolved by updating our underlying Hammerspoon base but I'd like to verify that something works before pushing an update. macOS Montery has been recently released and it takes a substantial amount of time before the entire ecosystem adjusts to it (from developers, maintainers, continuous integration tools, just apps in general) so unfortunately, I cannot build remotely to try and fix the problem in the immediate future until that adjustment happens. For now I'd recommend downgrading to macOS Big Sur but I'm keeping the issue open as Montery is out of beta and this bug is a regression. |
Thanks for getting back to me. Unfortunately, I don't have the opportunity to downgrade to Big Sur since I have the new M1Pro chip. Those ships are support officially supported by Monterey. I'm happy to help with testing if you need access to a machine with Monterey. I don't know much about Lua or Objective C but I can definitely follow building / testing instructions if you need me. Cheers! |
Same issue here, can reproduce. @kittywhiskers if you can point me to the bit of code that does the accessibility check I can perhaps at least start some progress on this by debugging from source locally. Hopefully it's just a changed apple api method or something simple. Also, Monterrey went live October 25, 2021. No longer beta :) |
I'm running into the same issue and would be happy to help with this, as well! Just picked up the new laptop while I still had an educational discount and could save a few hundred bucks. This would also give me an excuse to download Xcode and brush up on my debugging skills. |
I've updated my GitHub with an email address and I'll be glad to continue our correspondence there! If Discord is something you prefer over email, then please send me an email (yeah, still email to get started, sorry) and we can exchange Discord usernames and start working from there! |
@kittywhiskers Sounds good - I just sent you an email. Having said that, it might be easier to coordinate here since we're already a few people interested to help and other people may join us along the way if need be. I'm fine either way though so whatever you think is best :) |
Hi all, just wanted to mention I'm running into the same issue as @jnak. Will keep an eye on this thread. Thanks for looking into it! |
@jnak I can post general guides on how we're gonna conduct testing but because LES doesn't have a robust logging system, it'll take a lot of one-on-one communications to get useful information. That being said, the Hammerspoon base has been updated in b840f34 and an overhaul to HSModule (at least in terms of cleanup and refactoring) is currently in progress (see LiveEnhancementSuite/HSModule#1) |
Some good news. It looks like the MacOS Monterey accessibility thing was fixed by @kittywhiskers updating the Hammerspoon base! So that's awesome. I was able to get LES working by building from their I'm not sure if I did something wrong with the build, or that's just WIP from @kittywhiskers's changes. I had to manually copy over the |
Yeah, the initialization code hasn't caught up with refactoring and probably won't be till we can really chart out what the scope the refactor will be (mostly I want to avoid common bugs and set the groundwork for a better logging system). If you can confirm that using unrefactored HSModule works on Monterey (since the problem seems to be resolved with just updating the Hammerspoon base), I can try to trigger a fresh CI run (probably update our build documentation, too) and we can at least get Monterey users a working version! |
@kittywhiskers Tried it. Unfortunately HSModule @ origin/release@v1.3.1 Your formatting and refactor may have unintentionally solved this! Who knew clean code worked better. :P I'd say go ahead and cut an alpha release on your cleanup branch. Even if it's not ready, perhaps it will still allow people to get LES going on Monterey. @JDRoy You have to run a build with |
HSModule, in previous versions, would be packaged with the application bundle courtesy of this small modification to the extensions copy script which has since been deprecated because of Hammerspoon's build system overhaul. The fix for that (1548313) has just been recently pushed!
Sidenote, for folks who are dealing with xcodebuild -workspace Hammerspoon.xcworkspace -scheme Hammerspoon -configuration Debug clean build | tee $(date +%s).log | xcbeautify |
UpdateSome bugs within Feedback would be highly appreciated! Once we've established there are no problems in macOS Monterey, this issue can be closed! |
I just installed the new update on Monterey and received this error. I tried a restart and clean install, same issue. |
@kittywhiskers this is the same error I had. I fixed it by manually copying the |
I remember dealing with package path issues as well and I had patched it with When you say clean install, does that include deleting |
Yea I didn't have a ~/.les folder at all, nor did the executable create one for me. Judging by the trace I figured I'd have to manually create it and dump the helpers.lua in the right spot and sure enough it ran when I did that. |
I just did this (deleted ~/.les), restarted again and reinstalled, and it seems to be working now! I'll have to re-add my original settings and menu config but if all that goes well, I think it should be solid on Monterey. |
Happy to report that things work ok for me on Monterey. I had to delete my |
Hello! I have an air m1 and also I've got an accessibility issue. To solve this problem I've installed kittywhiskers's alpha build. And have the same issue with the missing files mentioned above. Please could you describe how to solve this, please? I can't find .les folder and also cant find les extension files that I should copy. I'm not a coder, just trying to use this amazing utility that I've always used on win10. |
@JohnDohs, as As for having LES work with macOS 12, you need to enter this folder and delete all its contents (this will reset your customizations and timings, if any), then proceed to run the binary again. If you're terminal savvy, then simply opening the Terminal app and typing LES should start behaving as expected soon after, on the next launch. @JonDum, are you experiencing the same problems after following the outlined steps? |
@kittywhiskers Thanks a lot! It worked! |
Same issue here. |
I'm on Monterey (m1 max) and still having the accessibility issues as well. I'm a developer too so happy to debug anyway that's useful for y'all. |
Hey! |
I wish I had a clue of all the stuff you are talking about if this is something I can't pick up quickly and help with I will glad to help
|
Oh, that's so sad - I really enjoyed the workflow loading plugins so fast. I had some weird behavior of my Ableton so I checked for updates and found out just now. Are there any alternatives to load Plugins as you did? |
It worked for me on M1 Max Monterey 12.2.1 Make sure you have the latest version (1.3.3) First, for Accessibility, I followed this:
**Then i got the Hammerspoon console issue as explained by @RODE0606 ** To fix this i deleted the .les folder by following this .les
Thanks to everyone ! |
Recently upgraded to macOS 12 and going back isn't an option |
Have you tried the steps?
It works for me right now. |
@edermariano Works for me too! |
Works here too! :D |
I did everything on the list, and while it opens fine, every time I try to insert anything from my menu I get an error: |
Worked around the ~fifth time i did it! |
What exactly do you do again if it complains? All of the steps? |
For anyone still holding out hope. I've managed to get this working on M2 Max running Ventura 13.2.1. I went through the steps mentioned a few times to no avail and gave up and completely uninstalled with app cleaner. Decided later to have another go, installed the beta version, allowed all access permissions and opened hammerspoon in package contents and it's working! Terminal needs to stay open for it to work. I'm no coder |
👋 ! It's been quite a while since the last release but recently the stars have aligned and I was able to do more than just do minor bump in the Hammerspoon base. It hasn't helped that Ventura overhauled a few things and thus made LESforMacOS an even buggier mess. But, there's good news. Beta testing for
They're based on an updated Hammerspoon base and include fixes and additional guardrails that should improve application stability. They also include mitigations for permissions problems (see upstream issue, Hammerspoon#3301). Testing of both versions would be appreciated. We want to know what got better and what got worse! |
Thanks to the previous comments I successfully made LES work on my mac but having a shortcut not working which is "show automation in new lane". Tilda + Shift + Right Click just opens the window where i can show automation/map to macro. Can anyone help? |
Hi guys and happy new year! I've tried everything in this thread about 50 times and I am having no luck with this. Especially annoying bc I recently upgrade to a Mac and it worked perfectly before on windows. Are there any further updates to getting this to work, or is this still the provided fix? have downloaded and tried nearly every version so not sure where I'm going wrong here. |
Worked for me as well, I was driving crazy. Thank you so much! |
@nykymusic Search the comment by @edermariano, it worked out for me |
Cheers - can I ask which one you downloaded to make it work? The alpha link above doesn't work for me, and there seems to be only beta available on the download page? |
v1.3.3-alpha worked for me but I had to do it twice, maybe it’s that
|
hmm could you shoot me the link if possible? getting a 404 error when I click this one: |
Yep, this is the direct .dmg download link: https://github.com/LiveEnhancementSuite/LESforMacOS/releases/download/v1.3.3/LiveEnhancementSuite.dmg
|
thanks for that mate - tried all the steps ten times and still no good for me unfortunately |
This worked for me just now |
Hi,
First, thanks for sharing LES. It's such a nice tool, especially when using Ableton in tablet mode with a pen.
I'm trying to install LES on Monterrey but the install won't complete. It keeps asking for accessibility access even though I've added it. I tried rebooting my machine and both the release and pre-release builds.
See screenshot:

Best,
J
The text was updated successfully, but these errors were encountered: