ali-rantakari / icalBuddy

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

Sort of not running on macOS Sierra #16

Closed johnsec23 closed 7 years ago

johnsec23 commented 7 years ago

1st-Awesome tool. THX for making it free!

Since updating to Sierra when running I get an error and I do get the output as well. I pipe the results to a txt file, so I can email that to my wife, so I can't use the >/dev/null solution. If you are still supporting this and it is an easy fix I appreciate the help, IF NOT, I get it! Thanks a lot for having provided this! Here is the output

MacBook-Pro:mtgs-sms john$ /usr/local/bin/icalBuddy eventsToday 2016-10-14 09:25:32.619 icalBuddy[40228:3985212] Error loading /System/Library/PrivateFrameworks/CalendarFoundation.framework/CalendarFoundation: dlopen(/System/Library/PrivateFrameworks/CalendarFoundation.framework/CalendarFoundation, 265): no suitable image found. Did find: /System/Library/PrivateFrameworks/CalendarFoundation.framework/CalendarFoundation: mach-o, but wrong architecture • Chiro (Home) 9:20 AM - 10:20 AM

trailgirl commented 7 years ago

I have Sierra too. I'm using 2>/dev/null to redirect the errors:

/usr/local/bin/icalBuddy eventsToday >today.txt 2>/dev/null

johnsec23 commented 7 years ago

YES! that worked. Thanks a lot!