Closed Wiland2474 closed 4 years ago
Hi,
iCloud tends to create empty 'URL' properties which are not supported by the API we are using.
Change Helpers.gs line 284
if (event.hasProperty('url')){
to
if (event.hasProperty('url') && event.getFirstPropertyValue('url').toString() != ''){
Hi,
I am still experiencing these problems even though the code has been updated. Can you suggest a debug that I could run?
@rosco1956 - sorry for the delay. We just put out v5.6 - could you update to that version and try again?
Hi Derekantrican/Gas-Ics-Sync
I tried the new version and I am getting some results that I do not understand
11:09:48 PM Info Timezone Z unsupported! 11:09:48 PM Info Using Timezone Etc/GMT!
On Thu, 13 May 2021 at 22:25, Derek Antrican @.***> wrote:
@rosco1956 https://github.com/rosco1956 - sorry for the delay. We just put out v5.6 - could you update to that version and try again?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/derekantrican/GAS-ICS-Sync/issues/95#issuecomment-840844316, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAS4CCQVGUTG4M4Y7IGURKTTNQ7VLANCNFSM4KL2NTBA .
-- Rosswell Gadsden M.Sc. M.A. P.G.C.E. | Psychotherapist https://psychotherapysouthampton.co.uk/wp/therapy-with-mindfulness-based-psychotherapist/ | Supervisor https://psychotherapysouthampton.co.uk/wp/individual-and-small-group-supervision/ | Counsellor https://psychotherapysouthampton.co.uk/wp/counselling-considering-immediate-problems/ | Accredited UKCP Member No. 00313610 | Enhanced DBS Certificate No. 001680076973 | Data Protection Registration No. ZA062426 | Mobile +44 7498 218609 |Twitter @rosco1956 https://twitter.com/rosco1956 | Website: https://psychotherapysouthampton.co.uk
Hi Derek
Really grateful for the script but the two lines repeated as above. I just cut and pasted the same line that I had included in the previous version. Can you help me understand what this means
These are harmless log lines. Basically the script is converting the "Z" timezone to one that it understands "Etc/GMT". These timezones are equivalent and your events should be placed at the right time. Are you seeing any issues with your iCloud calendar like this issue was originally opened for?
I understand the wording can be a little aggressive and sounds like an error. See my comment about changing this: https://github.com/derekantrican/GAS-ICS-Sync/issues/194#issuecomment-824264946
Hi Derek
I have re-enabled your latest version as I had reverted to the old version. I will observe it.
Not connected with GAC-ICS-sync iCloud events on my iPhone calendar are intermittently being copied to my Google Calendar which I’m trying to investigate. If I delete the calendar then reinstall it registers all the events.
Thank you for your help with this.
On Thu, 13 May 2021 at 23:30, Derek Antrican @.***> wrote:
These are harmless log lines. Basically the script is converting the "Z" timezone to one that it understands "Etc/GMT". These timezones are equivalent and your events should be placed at the right time. Are you seeing any issues with your iCloud calendar like this issue was originally opened for?
I understand the wording can be a little aggressive and sounds like an error. See my comment about changing this: #194 (comment) https://github.com/derekantrican/GAS-ICS-Sync/issues/194#issuecomment-824264946
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/derekantrican/GAS-ICS-Sync/issues/95#issuecomment-840871857, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAS4CCUCSFJJ5XDIQQBMZYLTNRHGTANCNFSM4KL2NTBA .
-- Rosswell Gadsden M.Sc. M.A. P.G.C.E. | Psychotherapist https://psychotherapysouthampton.co.uk/wp/therapy-with-mindfulness-based-psychotherapist/ | Supervisor https://psychotherapysouthampton.co.uk/wp/individual-and-small-group-supervision/ | Counsellor https://psychotherapysouthampton.co.uk/wp/counselling-considering-immediate-problems/ | Accredited UKCP Member No. 00313610 | Enhanced DBS Certificate No. 001680076973 | Data Protection Registration No. ZA062426 | Mobile +44 7498 218609 |Twitter @rosco1956 https://twitter.com/rosco1956 | Website: https://psychotherapysouthampton.co.uk
I am trying to sync my wife's iCloud calendar with my Google Calendar. I tried to subscribe to the URL code generated by the iCloud calendar, but ran into the problem that many have reported where Google Calendar only refreshes this calendar at sporadic intervals. This led me to this script.
A search of this issue led me to this script. I have installed the script successfully and find that it imports most of the calendar entries in my wife's iCloud calendar, but curiously not all. I did add the lines of code described by jonas0b1011001 in issue #85.
https://github.com/derekantrican/GAS-ICS-Sync/issues/85#issuecomment-565732691
This made the script run faster as it ignored past calendar events, but I still have the problem that some events are not syncing.
Here is the Execution transcript around a specific calendar event that was not imported:
[20-01-26 16:54:55:601 PST] Utilities.computeDigest([MD5, BEGIN:VEVENT DTEND;TZID=America/Chicago:20200210T200500 UID:3CCEFD30-CBFF-46A2-BDB8-156C7D9908EA DESCRIPTION:caoch with RA\, try to get a Monday PM flight URL: SEQUENCE:0 SUMMARY:Harmony R...) [0 seconds] [20-01-26 16:54:55:607 PST] Logger.log([Adding new event 3CCEFD30-CBFF-46A2-BDB8-156C7D9908EA, []]) [0.001 seconds] [20-01-26 16:54:55:677 PST] Logger.log([Error, Retrying...GoogleJsonResponseException: API call to calendar.events.insert failed with error: Invalid source url: ., []]) [0 seconds] [20-01-26 16:54:55:851 PST] Logger.log([Error, Retrying...GoogleJsonResponseException: API call to calendar.events.insert failed with error: Invalid source url: ., []]) [0 seconds] [20-01-26 16:54:56:112 PST] Logger.log([Error, Retrying...GoogleJsonResponseException: API call to calendar.events.insert failed with error: Invalid source url: ., []]) [0 seconds] [20-01-26 16:54:56:235 PST] Logger.log([Adjusted RRULE to exclude past instances, []]) [0 seconds]
Any guidance would be appreciated.