Closed gnrp closed 8 years ago
Please dump two versions that are detected as unequal by vdirsyncer to a pastebin (github gists preferred).
So here is one event which is always retransferred, including the header of the .ics file (this is just the first lines of the .ics file, this is the first event): https://gist.github.com/gnrp/a2ad161af5321da29b0b
The calendar was already online in Horde. On my desktop, I re-imported the calendar from the base .ics files. On the notebook, the calendar was already the one synchronized with the Horde calendar.
The first file was on my desktop, when I initialized the calendar. The third one was on my notebook with the calendar already initialized. The fourth one was on my notebook after I synchronized the calendar. The second one is actually the last one, I'm sorry. This was after the notebook synchronized, I synchronized my desktop again.
Here is in contrast one event that is not being resynced:
BEGIN:VEVENT
DTSTART;TZID=Europe/Berlin:20151123T090000
DTEND;TZID=Europe/Berlin:20151123T100000
DTSTAMP:20160110T001301Z
UID:0F11DA8A-2FC1-4F56-A6D8-F1B342CE661A
CREATED:20160110T000932Z
LAST-MODIFIED:20160110T000932Z
SUMMARY:Example containing an Umlaut
URL:http://www.example.org
CLASS:PUBLIC
STATUS:CONFIRMED
TRANSP:OPAQUE
END:VEVENT
Added X-WR-CALNAME, changed nothing. But as far as I see, IGNORE_PROPS is only used for vevents, not for vcalendar, is it?
No, everything. Basically I conflate vevents, vcards, vcalendars. It's all the same to vdirsyncer. It doesn't care what it recieves from the server, it just ignores those properties before comparing the two file versions.
I don't really know where the issue could be. Are you sure that your changes to the code are actually used? (e.g. pip install .
copies the files, so changes to the git repo don't affect anything).
I use the git version and reinstall it each time with python setup.py install
(and watch out for errors).
Is there a possibility to have debugging output which returns the entries as returned by the caldav server, but in ics format? I didn't find anything related.
Yes, use vdirsyncer -vdebug sync
On Mon, Jan 11, 2016 at 01:25:58PM -0800, gnrp wrote:
I use the git version and reinstall it each time with
python setup.py install
(and watch out for errors). Is there a possibility to have debugging output which returns the entries as returned by the caldav server, but in ics format? I didn't find anything related.
Reply to this email directly or view it on GitHub: https://github.com/untitaker/vdirsyncer/issues/318#issuecomment-170694543
@gnrp Any update on this? What did the debug output tell?
Closing due to inactivity, please ping if further information is available.
I have two machines running Linux with vdirsyncer syncing into singlefile .icl, and the server is a Horde groupware. When I sync from a single machine to Horde, everything works. But when the second machine syncs with the server, it first pulls certain changes and when syncing again, commits again changes for these events. The same holds the other way round. In other words, when one machine syncs, the other one gets out of date, first pulling in changes and then committing something else again.
However, when looking at the .icl file that is being changed, the events in question do not change at all, the only attributes changing are DTSTAMP and LAST-MODIFIED. Adding LAST-MODIFIED to IGNORE_PROPS in vdirsyncer/utils/vobject.py does not help.
I would be happy to provide further feedback or information when requested.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.