sawhney17 / logseq-calendars-plugin

MIT License
127 stars 17 forks source link

iCal not working #57

Open rbvk opened 3 months ago

rbvk commented 3 months ago

I've followed the README instructions for setting up Google iCal or Apple iCal integration unsuccessfully. Despite ensuring all steps and configurations were correctly implemented, the calendar fails to sync or connect, with “CALENDAR NOT FOUND” message.

I'm seeking advice to diagnose and resolve this problem to get the Google iCal integration working properly

RossBob2 commented 3 months ago

if you open the settings .json file in a text editor and replace the link under "accountsDetails" with the link from "calendar1URL" so they are both matching fixed it for me.

{
  "template": "{Start} - {End}: {Title}",
  "useJSON": false,
  "IndentCommonBlock": false,
  "templateLine2": "{Description}",
  "timeFormat": "12 hour time",
  "calendar1Name": "Calendar",
  "calendar1URL": "p145-caldav.icloud.com/published/...",
  "calendar2Name": "",
  "calendar2URL": "",
  "calendar3Name": "",
  "calendar3URL": "",
  "calendar4Name": "",
  "calendar4URL": "",
  "calendar5Name": "",
  "calendar5URL": "",
  "disabled": false,
  "accountsDetails": {
    "Calendar": "p145-caldav.icloud.com/published/..."
  }
}
rbvk commented 3 months ago

thanks, that got the script working however it won't sync my appointments. It say something like "no event for the day" even though I have appointments for the day in my calendar.