Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working in Yosemite #3

Open
morganestes opened this issue Oct 20, 2014 · 8 comments
Open

Not working in Yosemite #3

morganestes opened this issue Oct 20, 2014 · 8 comments

Comments

@morganestes
Copy link

After upgrading to Yosemite, the script runs and says it's adding the URLs, but none of the events get updated in my calendar.

I can't see any obvious errors (none in the log), and the output log shows a mix of "Processed n items in n seconds" and "Skipping, already captured" results, but none of the events reflect the changes.

UPDATE: I've tested the AppleScript by itself on a single event and watched the URL get added to the event, but immediately removed/reverted (not sure which).

@Yeraze
Copy link
Owner

Yeraze commented Oct 21, 2014

hrm.. sounds like something is doing another Upstream Sync and reverting any local changes. I don't have Yosemite on my mac yet (waiting for IT approval, mainly Crashplan issues)... So any data is useful.

@morganestes
Copy link
Author

Here are a couple of things I've noticed so far. This is testing with AppleScript on a recurring event with the uid and url hardcoded:

  • I've been able to get a single event updated by disconnecting the Google Calendar sync within OS X, reconnecting, then running again, but that hasn't been working consistently.
  • thecount always returns 1 no matter how many times the event recurs.
  • I added a line to return the event url after the loop, and it always returns the one that was just set (as expected); it just doesn't stay set.

@mennopruijssers
Copy link

Any updates on this one? Having the same issue. Need any log's or diagnostics?

@nhodges
Copy link
Contributor

nhodges commented Apr 13, 2015

I am experiencing the same issue. Script runs fine but no URLs are added to Calendar. @Yeraze LMK what I can provide to help debug!

@phantasm22
Copy link

Having an issue with Yosemite:

If your browser is on a different machine then exit and re-run this
application with the command-line parameter

--noauth_local_webserver

Authentication successful.
Retrieving events from 2015-05-07T19:56:19.294842Z to 2015-05-21T19:56:19.294859Z
Found 76 events
launching calendar...
-> Project Anyone But Charlie (ABC) Launch Team Kick-Off (Friday, May 08, 2015 10:30:00 AM)
Traceback (most recent call last):
File "./hangoutFix.py", line 174, in
main(sys.argv)
File "./hangoutFix.py", line 149, in main
processed = aScript.run()
File "/Library/Python/2.7/site-packages/applescript/init.py", line 90, in run
return self._unpackresult(*self.script.executeAndReturnError(None))
File "/Library/Python/2.7/site-packages/applescript/init.py", line 65, in _unpackresult
raise ScriptError(errorinfo)
applescript.ScriptError: Calendar got an error: AppleEvent timed out. (-1712) app=u'Calendar' range=256-323

@J7mbo
Copy link

J7mbo commented Aug 27, 2015

Here's my error in Yosemite when trying to install pyobjc:

Command "python setup.py egg_info" failed with error code 1 in /private/tmp/pip-build-gMEM6k/pyobjc-framework-AddressBook

@2rs2ts
Copy link

2rs2ts commented Sep 24, 2015

This is happening to me, but there are no AppleScript errors nor pyobjc install errors. Logs are all successful, it just doesn't update the calendar. Same result with running the script manually as well as with launchctl.

@morganestes
Copy link
Author

Preliminary tests on El Capitan show that it's working again. Not sure what changed, but I'll keep an eye out.

I never did figure out why Yosemite balked at it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants