raycast / extensions

Everything you need to extend Raycast.
https://developers.raycast.com
MIT License
5.23k stars 2.92k forks source link

[Slack] ... #13923

Open sanatcodes opened 1 month ago

sanatcodes commented 1 month ago

Extension

https://www.raycast.com/mommertf/slack

Raycast Version

1.80.00

macOS Version

14.5 (23F79)

Description

Error:


Error: Command failed with exit code 1: osascript
644:690: execution error: Not authorised to send Apple events to System Events. (-1743)

e6:run-applescript.js:38:21

---
35:         timedOut,
36:         command: "osascript",
37:         options,
38:         parentError: new Error(),
39:     })

### Steps To Reproduce

1. Search for unread messages command on raycast
2. Click on it
3. The app crashes 
![Screenshot 2024-08-08 at 1 09 15 p m](https://github.com/user-attachments/assets/92145a01-574e-4bc0-a5e6-6fc9e0d790fe)

### Current Behaviour

Open unread messages command is not working 

### Expected Behaviour

Raycast just errors out
raycastbot commented 1 month ago

Thank you for opening this issue!

🔔 @momme-rtf @Elliot67 @jfkisafk @thomaslombart @RobErskine you might want to have a look.

💡 Author and Contributors commands The author and contributors of `mommertf/slack` can trigger bot actions by commenting: - `@raycastbot close this issue` Closes the issue. - `@raycastbot rename this issue to "Awesome new title"` Renames the issue. - `@raycastbot reopen this issue` Reopens the issue. - `@raycastbot assign me` Assigns yourself to the issue. - `@raycastbot good first issue` Adds the "Good first issue" label to the issue. - `@raycastbot keep this issue open` Make sure the issue won't go stale and will be kept open by the bot.
Elliot67 commented 1 month ago

Hi @sanatcodes ,

Looks like the same issue as #10297. Could you try the solution provided in this comment ?

sanatcodes commented 1 month ago

Thanks for the quick reply @Elliot67. I already had accessibility permissions on. Tried toggling them off and on again. Also restarted Raycast. Doesn't seem to resolve the issue.

Elliot67 commented 3 weeks ago

@sanatcodes Could you try allowing System Events for raycast at System Preferences -> Privacy & Security -> Automation.

Couldn't reproduce the issue on my end, I currently got the following apps allowed in there :

Restarting the computer might or might not be needed.