From merlijn at wizzup.org Mon Jan 13 09:42:23 2025 From: merlijn at wizzup.org (Merlijn Wajer) Date: Mon, 13 Jan 2025 10:42:23 +0100 Subject: Problems when syncing todo/tasks to nextcloud with syncevolution Message-ID: Hi, I am seeing an issue when synchronising my tasks from my Maemo Tablet to my nextcloud instance. I am using syncevolution git HEAD - which is really just 2.0.0 with my build-time fix included. I have set up the synchronisation as follows: > syncevolution --configure \ > --template webdav \ > username=NEXTCLOUD-USER-HERE \ > password=NEXTCLOUD-PASS-HERE \ > syncURL=MAIN-DAV-URL-HERE \ > target-config at nextcloud > > syncevolution --configure \ > --template webdav \ > database=TASKS-URL-HERE \ > backend=caldavtodo \ > target-config at nextcloud nextcloudtodo > > syncevolution --configure \ > sync=two-way \ > backend=maemo-tasks \ > database= \ > nextcloud nextcloudtodo An initial synchronisation went ok, as there were no tasks. When I now run this: > syncevolution --sync two-way nextcloud nextcloudtodo I get HTTP 415 (unsupported media type or format) errors from nextcloud. When looking at my nextcloud log, I find this error (hidden in some larger JSON log with no other relevant info): > Validation error in iCalendar: The value type (DATE or DATE-TIME) must be identical for DUE and DTSTART Searching on the web I found this comment (https://github.com/nextcloud/server/issues/7771#issuecomment-361598094) which seems to indicate this is a problem in the implementation in syncevolution? Are there any additional logs that I could gather to help narrow down where the issue occurs, assuming this is a syncevolution problem? Regards, Merlijn From mcrha at redhat.com Mon Jan 13 11:08:53 2025 From: mcrha at redhat.com (Milan Crha) Date: Mon, 13 Jan 2025 12:08:53 +0100 Subject: Problems when syncing todo/tasks to nextcloud with syncevolution In-Reply-To: References: Message-ID: On Mon, 2025-01-13 at 10:42 +0100, Merlijn Wajer wrote: > Are there any additional logs that I could gather to help narrow down > where the issue occurs, assuming this is a syncevolution problem? Hi, where did you create the task, please? I mean in which application. What version the application and the evolution-data-server is, please? I think of the: https://gitlab.gnome.org/GNOME/evolution/-/issues/1715 but that had been addressed long ago (3.43.1+ and 3.42.2+). Bye, Milan From merlijn at wizzup.org Mon Jan 13 11:19:11 2025 From: merlijn at wizzup.org (Merlijn Wajer) Date: Mon, 13 Jan 2025 12:19:11 +0100 Subject: Problems when syncing todo/tasks to nextcloud with syncevolution In-Reply-To: References: Message-ID: <08c2cc44-b598-4ce2-b27f-ff1b9980fd2e@wizzup.org> Hi Milan, On 13/01/2025 12:08, Milan Crha wrote: > On Mon, 2025-01-13 at 10:42 +0100, Merlijn Wajer wrote: >> Are there any additional logs that I could gather to help narrow down >> where the issue occurs, assuming this is a syncevolution problem? > > Hi, > where did you create the task, please? I mean in which application. > What version the application and the evolution-data-server is, please? > > I think of the: > https://gitlab.gnome.org/GNOME/evolution/-/issues/1715 > > but that had been addressed long ago (3.43.1+ and 3.42.2+). I think I created the task one or two days ago, but I only just started using the tasks sync. The EDS version is on my device is 3.38.3, so I suspect moving to a newer package will solve the problem (I'll be moving from Debian oldstable to Debian stable soon, which has a newer version). Thank you very much for pointing me in this direction. Regards, Merlijn From mcrha at redhat.com Mon Jan 13 13:18:34 2025 From: mcrha at redhat.com (Milan Crha) Date: Mon, 13 Jan 2025 14:18:34 +0100 Subject: Problems when syncing todo/tasks to nextcloud with syncevolution In-Reply-To: <08c2cc44-b598-4ce2-b27f-ff1b9980fd2e@wizzup.org> References: <08c2cc44-b598-4ce2-b27f-ff1b9980fd2e@wizzup.org> Message-ID: <1740d5fcf5a2de074c5283aee202c4dc9433e1c9.camel@redhat.com> On Mon, 2025-01-13 at 12:19 +0100, Merlijn Wajer wrote: > The EDS version is on my device is 3.38.3, so I suspect moving to a > newer package will solve the problem Hi, right, 3.38.3 is very very very old version, it's even ancient, considering what changes are needed here and there to support the latest servers. If you are wondering, the 3.38.3 had been released on 2021-01-08, thus a bit more than 4 years ago. There was a 3.38.4 release too, approximately 5 weeks after the 3.38.3. Bye, Milan From merlijn at wizzup.org Mon Jan 13 14:51:39 2025 From: merlijn at wizzup.org (Merlijn Wajer) Date: Mon, 13 Jan 2025 15:51:39 +0100 Subject: Problems when syncing todo/tasks to nextcloud with syncevolution In-Reply-To: <1740d5fcf5a2de074c5283aee202c4dc9433e1c9.camel@redhat.com> References: <08c2cc44-b598-4ce2-b27f-ff1b9980fd2e@wizzup.org> <1740d5fcf5a2de074c5283aee202c4dc9433e1c9.camel@redhat.com> Message-ID: Hi Milan, On 13/01/2025 14:18, Milan Crha wrote: > On Mon, 2025-01-13 at 12:19 +0100, Merlijn Wajer wrote: >> The EDS version is on my device is 3.38.3, so I suspect moving to a >> newer package will solve the problem > > Hi, > right, 3.38.3 is very very very old version, it's even ancient, > considering what changes are needed here and there to support the > latest servers. > > If you are wondering, the 3.38.3 had been released on 2021-01-08, thus > a bit more than 4 years ago. There was a 3.38.4 release too, > approximately 5 weeks after the 3.38.3. Thanks again for the info. I understand & realise it's not a good situation to be on old software. (In this particular case, the mobile OS I am using is being rebased now to Debian stable, but it's a rather significant amount of work, but maybe in a few weeks it'll be done) Regards, Merlijn From mcrha at redhat.com Wed Jan 22 07:59:55 2025 From: mcrha at redhat.com (Milan Crha) Date: Wed, 22 Jan 2025 08:59:55 +0100 Subject: Does not build with gcc C23 standard Message-ID: Hi, attached is a patch, which will make the SynEvolution build also with the C23 standard. The thing is that standard has the 'bool' as a keyword. I would propose the change in the https://gitlab.freedesktop.org/SyncEvolution/syncevolution/-/merge_requests but I see there is a stale merge request, thus I decided to send it here instead. I can turn this into a merge request, if needed. Bye, Milan -------------- next part -------------- A non-text attachment was scrubbed... Name: 005-gcc-c23-changes.patch Type: text/x-patch Size: 846 bytes Desc: not available URL: