Closed xzha0006 closed 1 year ago
@xzha0006 What version of the workflow are you using? I'm pretty sure I already fixed this in v7.1.0, so please try downloading the latest version of the workflow (v7.1.2):
https://github.com/caleb531/open-conference-url/releases/tag/v7.1.2
Hi @caleb531 , I am using v7.1.2 for sure. Could you double-check that? Looks like there is a deprecated calendar API in the applescript sitting under /calendar.
Hi @xzha0006,
Oh interesting. I will check tomorrow for sure!
Out of curiosity: are you running macOS Sonoma? Or an older version of macOS?
-Caleb On Oct 15, 2023 at 9:47 PM -0700, xzha0006 @.***>, wrote:
Hi @caleb531 , I am using v7.1.2 for sure. Could you double-check that? Looks like there is a deprecated calendar API in the applescript sitting under /calendar. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>
I am using Ventura. Btw, this workflow is a gem. Thanks for developing it!
@xzha0006 Thank you! I think I have discovered what the issue is now.
I recently fixed #27 (inability to grant Alfred full calendar access on macOS Sonoma) by replacing a deprecated AppleScript call to requestAccessToEntityType
with requestFullAccessToEventsWithCompletion
. However, I didn't realize until just now that per the docs, requestFullAccessToEventsWithCompletion
only works on macOS Sonoma and newer.
I've pushed out v7.1.3-beta.1 with a fix for this. Basically, if I get an error calling requestFullAccessToEventsWithCompletion
, I will fall back to requestAccessToEntityType
that should work on macOS Ventura and earlier. Please try the workflow at the link below, and let me know how it works for you.
https://github.com/caleb531/open-conference-url/releases/tag/v7.1.3-beta.1
@caleb531 the beta version works fine. Thanks!
@xzha0006 Excellent! I have just released the stable v7.1.3 release (no changes since the beta 1 version you tested). With that, I will be closing this issue now, but let me know if you run into any more issues!
https://github.com/caleb531/open-conference-url/releases/tag/v7.1.3
The get-calendar-events.applescript under ocu/calendars directory can't be executed. It throws "subprocess.CalledProcessError: Command '['osascript', '/.../ocu/calendars/get-calendar-events.applescript']' returned non-zero exit status 1." Overwriting it with the get-calendar-events.applescript under /ocu directory fixed the issue.