ali-rantakari / icalBuddy

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

icalBuddy generates a lot of error messages in console (system.log) #1

Closed chris-erickson closed 10 years ago

chris-erickson commented 10 years ago

Latest version installed via Homebrew, which for running a particular query:

/usr/local/bin/icalBuddy -eed -ea -n -nc -b "" -iep "datetime,title" -po "datetime,title" -ps "| - |" --strEncoding "Unicode (UTF-8)" -ic "redacted@calendar.com" eventsToday

The log outputs the following:

Dec 30 13:19:17 Voyager.local com.apple.time[254]: Interval maximum value is 946100000 seconds (specified value: 9223372036854775807).
Dec 30 13:19:17 Voyager.local secd[306]:  securityd_xpc_dictionary_handler icalBuddy[52736] copy_matching The operation couldn’t be completed. (OSStatus error -34018 - client has neither application-identifier nor keychain-access-groups entitlements)
Dec 30 13:19:17 Voyager.local icalBuddy[52736]:  SecOSStatusWith error:[-34018] The operation couldn’t be completed. (OSStatus error -34018 - Remote error : The operation couldn‚Äôt be completed. (OSStatus error -34018 - client has neither application-identifier nor keychain-access-groups entitlements))
Dec 30 13:19:17 Voyager.local secd[306]:  securityd_xpc_dictionary_handler icalBuddy[52736] copy_matching The operation couldn’t be completed. (OSStatus error -34018 - client has neither application-identifier nor keychain-access-groups entitlements)
Dec 30 13:19:17 Voyager.local icalBuddy[52736]:  SecOSStatusWith error:[-34018] The operation couldn’t be completed. (OSStatus error -34018 - Remote error : The operation couldn‚Äôt be completed. (OSStatus error -34018 - client has neither application-identifier nor keychain-access-groups entitlements))
Dec 30 13:19:17 Voyager.local secd[306]:  securityd_xpc_dictionary_handler icalBuddy[52736] copy_matching The operation couldn’t be completed. (OSStatus error -34018 - client has neither application-identifier nor keychain-access-groups entitlements)
Dec 30 13:19:17 Voyager.local icalBuddy[52736]:  SecOSStatusWith error:[-34018] The operation couldn’t be completed. (OSStatus error -34018 - Remote error : The operation couldn‚Äôt be completed. (OSStatus error -34018 - client has neither application-identifier nor keychain-access-groups entitlements))
Dec 30 13:19:17 Voyager.local secd[306]:  securityd_xpc_dictionary_handler icalBuddy[52736] copy_matching The operation couldn’t be completed. (OSStatus error -34018 - client has neither application-identifier nor keychain-access-groups entitlements)
Dec 30 13:19:17 Voyager.local icalBuddy[52736]:  SecOSStatusWith error:[-34018] The operation couldn’t be completed. (OSStatus error -34018 - Remote error : The operation couldn‚Äôt be completed. (OSStatus error -34018 - client has neither application-identifier nor keychain-access-groups entitlements))
Dec 30 13:19:17 Voyager.local secd[306]:  securityd_xpc_dictionary_handler icalBuddy[52736] copy_matching The operation couldn’t be completed. (OSStatus error -34018 - client has neither application-identifier nor keychain-access-groups entitlements)
Dec 30 13:19:17 Voyager.local icalBuddy[52736]:  SecOSStatusWith error:[-34018] The operation couldn’t be completed. (OSStatus error -34018 - Remote error : The operation couldn‚Äôt be completed. (OSStatus error -34018 - client has neither application-identifier nor keychain-access-groups entitlements))
Dec 30 13:19:17 Voyager.local secd[306]:  securityd_xpc_dictionary_handler icalBuddy[52736] copy_matching The operation couldn’t be completed. (OSStatus error -34018 - client has neither application-identifier nor keychain-access-groups entitlements)
Dec 30 13:19:17 Voyager.local icalBuddy[52736]:  SecOSStatusWith error:[-34018] The operation couldn’t be completed. (OSStatus error -34018 - Remote error : The operation couldn‚Äôt be completed. (OSStatus error -34018 - client has neither application-identifier nor keychain-access-groups entitlements))
Dec 30 13:19:17 Voyager.local secd[306]:  securityd_xpc_dictionary_handler icalBuddy[52736] copy_matching The operation couldn’t be completed. (OSStatus error -34018 - client has neither application-identifier nor keychain-access-groups entitlements)
Dec 30 13:19:17 Voyager.local icalBuddy[52736]:  SecOSStatusWith error:[-34018] The operation couldn’t be completed. (OSStatus error -34018 - Remote error : The operation couldn‚Äôt be completed. (OSStatus error -34018 - client has neither application-identifier nor keychain-access-groups entitlements))
Dec 30 13:19:17 Voyager.local secd[306]:  securityd_xpc_dictionary_handler icalBuddy[52736] copy_matching The operation couldn’t be completed. (OSStatus error -34018 - client has neither application-identifier nor keychain-access-groups entitlements)
Dec 30 13:19:17 Voyager.local icalBuddy[52736]:  SecOSStatusWith error:[-34018] The operation couldn’t be completed. (OSStatus error -34018 - Remote error : The operation couldn‚Äôt be completed. (OSStatus error -34018 - client has neither application-identifier nor keychain-access-groups entitlements))

Seems similar to/related to: https://gist.github.com/hjuutilainen/7544223

ali-rantakari commented 10 years ago

I'm not exactly sure why those messages appear in the system log, but it seems to have something to do with the changes in Mavericks in how the system enforces app privileges (like access to calendars.) It might be that Apple has not considered command-line applications that are not app bundles, or that there is some new API such programs need to use that I'm not aware of.

Or, like the Fantastical developers have apparently said (from that Gist you posted), it's a bug in Mavericks' calendar frameworks.

ali-rantakari commented 10 years ago

Closing as “Won't Fix”

gajahduduk commented 10 years ago

It's really quite excessive. I think apple should at least be made aware of it. it affects it seems anything using the old calendar store framework.