On Fri, 2011-10-21 at 09:17 +1300, Irihapeti wrote:
> On 21/10/11 00:59, Patrick Ohly wrote:
> > But the concatenated XML config only includes VCALENDAR_OUTGOING_SCRIPT.
> > Can you check from where the command above takes 11calendar.xml?
> >
> > Do:
> > strace -e trace=open syncevolution \
> > --daemon=no \
> > 'your config name' 2>&1 | grep 11calendar
> >
> >
>
> Here's the output of the command:
>
> ja@ja-desktop:~$ strace -e trace=open syncevolution \
> > --daemon=no \
> > e63-viruses 2>&1 | grep 11calendar
> open("/usr/share/syncevolution/xml/datatypes/11calendar-profile.xml",
> O_RDONLY|O_LARGEFILE) = 6
> open("/home/ja/.config/syncevolution-xml/scripting/11calendar.xml",
> O_RDONLY|O_LARGEFILE) = 6
>
> I have been installing/upgrading from the debian stable repository for
> the last several upgrades.
>
> The custom file in ~/.config/syncevolution-xml looks like it might be
> the culprit.
Yes, that's it. Your own copy of the file is used instead of the more
recent (and extended) copy from /usr/share. Therefore the new required
macro is missing.
With hindsight I probably should have put the new macro into a separate
file. It is related to calendar data, but not the import/export mangling
done by the other two in 11calendar-profile.xml. A user might
legitimately replace those without caring about the compare script.
However, splitting into more files does not solve the general problem:
if a user replaces .xml files, he basically runs a patched version of
SyncEvolution and needs to take care to stay up-to-date.
For example, right now in master I found and fixed an issue in
11calendar-profile.xml/VCALENDAR_INCOMING_SCRIPT for vCalendar 1.0. This
may or not be relevant for you.
> It relates to a SyncEvolution mailing list thread "empty description set
> to summary", dated 22 December 2010. I set it up myself according to
> your instructions. It's worked with no side-effects with every prior
> release and I'd still like to have the event descriptions left empty if
> that's possible.
If I read that discussion right, then the change that you have in your
copy in your file is also in the 1.2 version of 11calendar.xml, so you
can remove your private copy and still have the desired behavior.
diff -c /home/ja/.config/syncevolution-xml/scripting/11calendar.xml \
/usr/share/syncevolution/xml/datatypes/11calendar-profile.xml
will tell you what the differences are.
--
Best Regards, Patrick Ohly
The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.
_______________________________________________
SyncEvolution mailing list
[email protected]
http://lists.syncevolution.org/listinfo/syncevolution