Experience report: Calendar / CalDav and Framagenda

Hello,
@bertrandda
At first there was only one calendar on Framagenda and it worked well
Then I discovered on the gouv.fr site the possibility of having calendars for public holidays, school holidays for the 3 school zones … Three calendars were added on Framagenda, without problem.
I wanted to import into gladys and here is the error message:

2022-06-01T18:04:25+0200 <info> calendar.syncUserCalendars.js:38 (CalDAVHandler.syncUserCalendars) CalDAV : Found 5 calendars.
2022-06-01T18:04:26+0200 <error> calendar.syncUserCalendars.js:72 (Promise.map.concurrency) Error: Bad status: 415
    at exports.XMLHttpRequest.request.onreadystatechange (/src/server/services/caldav/node_modules/dav-request/dav.js:3424:27)
    at exports.XMLHttpRequest.dispatchEvent (/src/server/services/caldav/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:591:25)
    at setState (/src/server/services/caldav/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:610:14)
    at IncomingMessage.<anonymous> (/src/server/services/caldav/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:447:13)
    at IncomingMessage.emit (events.js:412:35)
    at endReadableNT (internal/streams/readable.js:1333:12)
    at processTicksAndRejections (internal/process/task_queues.js:82:21)

I deselected the 3 added calendars, then synchronization > result Ok
Then I selected the 3 calendars one by one, and each time, synchronization Ok

No idea why it didn’t work the first time.
Kind regards
Phil

For those who might be interested in the calendars:

Hi, how did you add those calendars to your framagenda? Did you subscribe to the .ics files or did you download the file and add them to an existing calendar?

I think this PR should fix your problem

It has been merged, it should arrive on your instance in the next Gladys release.

Hello,
Thank you for this prompt reply!
I downloaded the .ics files then created one calendar per .ics file

As I told you in another conversation, it’s the Deck app of framagenda that’s causing the problem. While waiting for the release, if you don’t use the Deck app, go into that app (in framagenda) and remove the

2 Likes