Hello, I was trying to install and try out your workflow but I'm running into permission problems.
I downloaded Calendar++ v2.1.1 on Sonoma 14.2.1. I'm using Alfred 5.5.1. I normally run Fish shell but I changed with chsh -s /bin/zsh before installing.
I imported the workflow, clicked install, typed 'cc ' and got a permission popup.
Clicking "Grant Permission" plays a warning noise and causes the pop up to appear again. Clicking "Grant Permission" a second time causes the popup to disappear and nothing else to happen. When I type 'cc ' again I see:
Here is the debugger output:
[00:29:22.192] Calendar++[Script Filter] Queuing argument '(null)'
[00:29:22.359] Calendar++[External] Processing complete
[00:29:22.361] Calendar++[External] Passing output '' to Dialog Conditional
[00:29:28.450] Calendar++[Dialog Conditional] Processing complete
[00:29:28.460] Calendar++[Dialog Conditional] Passing output '' to Junction
[00:29:28.461] Calendar++[Junction] Processing complete
[00:29:28.461] Calendar++[Junction] Passing output '' to Run Script
[00:29:28.462] Calendar++[Junction] Passing output '' to Play Sound
[00:29:29.315] Calendar++[Play Sound] Processing complete
[00:29:29.323] Calendar++[Play Sound] Passing output '' to Delay
[00:29:29.829] Calendar++[Delay] Processing complete
[00:29:29.835] Calendar++[Delay] Passing output '' to Call External Trigger
[00:29:29.837] Calendar++[External] Processing complete
[00:29:29.839] Calendar++[External] Passing output '' to Script Filter
[00:29:29.859] Calendar++[Script Filter] Queuing argument '(null)'
[00:29:30.221] Calendar++[Script Filter] Script with argv '(null)' finished
[00:29:30.229] ERROR: Calendar++[Script Filter] Code 1: 2024-11-16 00:29:30.072 calpp[55564:18554478] The file “November16.png” doesn’t exist. - Calendarpp/IconRenderer.swift:77
[00:29:30.231] Calendar++[Script Filter] {
"items" : [
{
"subtitle" : "Failed to request full access",
"arg" : "Access to Calendar events has not been granted",
"text" : {
"largetype" : "Access to Calendar events has not been granted. Failed to request full access",
"copy" : "Access to Calendar events has not been granted. Failed to request full access"
},
"icon" : {
"path" : "images\/icons\/failure.png"
},
"valid" : true,
"title" : "Access to Calendar events has not been granted"
}
]
}
If I navigate to the folder, I can see that it seems like "allowed" is set to 1 in info.plist (see screenshot).
Running xattr -d com.apple.quarantine ./src/calpp manually gives me: No such xattr: com.apple.quarantine
I'm able to manually run the calendar .scpt's. Doing so prompts me to give Calendar permission to iTerm. I never got any similar request for permission to Calendar for Alfred.
If I look at System Settings > Privacy & Security, Alfred has permission on Contacts, Automation, Files and Folders, Full DIsk Access, and Accessibility but not Calendars. I don't see any option to manually add Alfred to the Calendar permissions and there doesn't seem to be a way to do it from the command line afaict.
Found your answer to what seems to be the same problem in a closed issue here. IIUC, you are saying to open a finder window, open the calendar permissions in system settings and manually drag and drop src/calpp into it. I tried doing that but it doesn't do anything.
Hello, I was trying to install and try out your workflow but I'm running into permission problems.
I downloaded Calendar++ v2.1.1 on Sonoma 14.2.1. I'm using Alfred 5.5.1. I normally run Fish shell but I changed with
chsh -s /bin/zsh
before installing.I imported the workflow, clicked install, typed 'cc ' and got a permission popup.
Clicking "Grant Permission" plays a warning noise and causes the pop up to appear again. Clicking "Grant Permission" a second time causes the popup to disappear and nothing else to happen. When I type 'cc ' again I see:
Here is the debugger output:
If I navigate to the folder, I can see that it seems like "allowed" is set to 1 in info.plist (see screenshot).
Running
xattr -d com.apple.quarantine ./src/calpp
manually gives me:No such xattr: com.apple.quarantine
I'm able to manually run the calendar .scpt's. Doing so prompts me to give Calendar permission to iTerm. I never got any similar request for permission to Calendar for Alfred.
If I look at System Settings > Privacy & Security, Alfred has permission on Contacts, Automation, Files and Folders, Full DIsk Access, and Accessibility but not Calendars. I don't see any option to manually add Alfred to the Calendar permissions and there doesn't seem to be a way to do it from the command line afaict.
Any idea what I'm missing?