• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Another Google Calendar Anomaly
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Another Google Calendar Anomaly


  • Subject: Another Google Calendar Anomaly
  • From: Gil Dawson <email@hidden>
  • Date: Sat, 7 Oct 2017 21:15:53 -0700

Hi, AppleScripters--

Using OS X El Capitan 10.11.6 and Calendar V8.0, with Safari V11.0 as my
browser,

I have been using Shane Stanley's CalendarLib formula with great success to
read my SGV Group's calendar via my Google calendar:


use script "CalendarLib" version "1.1.1" -- put this at the top of your scripts
use scripting additions

to getGoogleEvents()
        log "Google Pass 1"
        set theStore to fetch store
        set aCal to fetch calendar "SGV Group" cal type cal subscription event
store theStore

        set d1 to (Today + 24 * hours) --starting tomorrow, not today
        set d2 to d1 + 366 * days

        set theEvents to fetch events starting date d1 ending date d2 searching
cals {aCal} event store theStore
        log "the length of theEvents=" & the length of theEvents


This works well most of the time, and I've made some useful reports with it.

Problem is, "theStore" has got itself out of sync with Google and I'd like to
know if there's a way to kick it to resync.  The outa-sync situation shows up
in Calendar, too.  I've tried, with no effect:

Command-R, Command-Shift-R in Calendar
Selecting the event in Calendar, then Delete
("You can't change items in calendars you subscribe to."  I guess that would've
been too easy.)
Logging out of Google in my Browser
Quitting and relaunching the Calendar app
Deleting the SGV Group calendar
(but saving the subscription URL),
then re-subscribing using the saved URL.
Rebooting my Mac

The outasync situation turned up when I edited an event on my SGV Group
subcalendar on my Google calendar via my browser.  Google blinked, suggesting
that it had deleted the old event and replaced it with the new one containing
my change.  However, back on my Mac, Calendar and theStore now both show TWO
events -- the old one before the edit and also the new one with the edit. The
Google calendar viewed through my browser is fine: just the one event.

This situation has persisted now for TWO DAYS.  To get my work done, I have
been manually deleting the bogus event from my reports.

Now, I have to mention that the SGV Group calendar is nonordinary.  I have five
other subcalendars on my Google calendar which are shared with a bunch of
iPhones and Macs, all of which are capable of editing any of the five ordinary
calendars.  Each of our Macs' Calendar apps, for example, can edit and delete
events on any of these five calendars, and we haven't noticed a hiccup in
months. (Touch wood.)

The SGV Group calendar is itself subscribed to our group's own Google calendar,
to which I do not have total access.  I can edit events on it via my browser,
but I canot edit events on it via Calendar on my Mac.  Usually this is no
problem, because edits made with my browser show up in a few seconds on my
Mac's Calendar app, and thus theStore.  Except this one event (and now a couple
more.)

I wrote almost this same message to Google Help Forums and got an Expert reply:

"I'd recommend you please get in touch with the Apple support team who are the
best people to assist you."

I posted a similar message on the Apple Support Communities Forum under OS X El
Capitan and have not yet received a reply.

I'd appreciate your suggestions as to how I could research this issue further.

--Gil

 
 _______________________________________________
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

  • Prev by Date: Sierra update, another broken script!
  • Next by Date: Applescript code for converting an InDesign CC2017 document from one color space to another
  • Previous by thread: Sierra update, another broken script!
  • Next by thread: Applescript code for converting an InDesign CC2017 document from one color space to another
  • Index(es):
    • Date
    • Thread