ali-rantakari / icalBuddy

Command-line utility for printing events and tasks from the OS X calendar database.
149 stars 33 forks source link

icalBuddy returns "No Calendars" on new Warp terminal #37

Closed ivishalgandhi closed 1 year ago

ivishalgandhi commented 2 years ago

Getting an error message on Warp terminal. https://www.warp.dev/ error: No calendars. tried brew uninstall and install ; not able to make it work. Pleae advise.

timhradil commented 1 year ago

This is because Warp requests calendar access, but not reminders access. When I run icalbuddy on Terminal it requests both calendar and reminder access. I am not sure why Warp does not request reminder access and why icalBuddy needs it, but I did find a work around. You can create a forceReminderAccess.scpt script like this:

tell application "Reminders"
        return reminders
end tell

And run it using osascript forceReminderAcceess.scpt. Then just accept all the access prompts and confirm Warp has access to reminders in System Settings.

ivishalgandhi commented 1 year ago

@timhradil it works now. Thank you :)