Mavericks: Long lag making new events in Calendar app
Mavericks: Long lag making new events in Calendar app
- Subject: Mavericks: Long lag making new events in Calendar app
- From: Andrew <email@hidden>
- Date: Tue, 12 Nov 2013 23:09:09 -0500
A co-worker discovered this issue and asked me to look into it. I found that it affects all but one user running Mavericks and I haven't been able to figure out why some have the problem and that one doesn't. The scripts work fine in earlier versions of the OS/Calendar/iCal. If I run the identical scripts from Mountain Lion, for example, there's no problem whatsoever.
The issue is that when AppleScript makes a new event in the Calendar app in any calendar other than a local (on the computer) or iCloud calendar, it takes anywhere from 45 seconds to 2 minutes for the Calendar app to add the event and in that time the Calendar app beachballs. If the script is executed without a timeout then the app that executes it stalls until the Calendar app finishes its thing and sends a result.
This has put a big cramp in our FileMaker workflows.
A simple example of a script that makes a new event and stalls the Calendar app (creating an event in a CalDAV calendar):
tell application "Calendar"
tell calendar "CalDAV"
set theDate to current date
make new event with properties {description:"Event", summary:"Event",¬
location:"Location", start date:theDate, allday event:true}
end tell
end tell
…But this script will NOT stall the Calendar app (creating the event in one of the local calendars):
tell application "Calendar"
tell calendar "Home"
set theDate to current date
make new event with properties {description:"Event", summary:"Event",¬
location:"Location", start date:theDate, allday event:true}
end tell
end tell
* On each afflicted computer it affects all CalDAV calendars and all Exchange calendars.
* All users have exactly the same settings on their calendars in the Calendar app, excepting the unique usernames/passwords and path on the CalDAV server.
* All 5 Macs were upgraded from Mountain Lion to Mavericks.
* Each Mac has the Script Editor, SystemEvents, SystemUIServer and FileMaker Pro added to the list of apps in "Security & Privacy" > Accessibility.
* Nobody was ever prompted to authorize any apps to access their calendars.
* Nobody has any difficulty adding events to their calendars directly in the Calendar app.
* No errors are logged in the Console.
* If the issue afflicts a computer, it will do so for all user accounts on that Mac.
Anybody got a fix? Is there some simple Mavericks-tweak that I'm missing?
TIA!!
-Andrew
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden