Share

SyncEvolution

Tracker: Bugs

5 SyncEvolution-0.6 fails with "could not encode item as iCal" - ID: 1777453
Last Update: Comment added ( pohly )

I received an scheduled meeting from a groupwise server and imported into
my evolution calendar after that syncevolution fails with the following
message in client.log:

08:28:54 GMT +0200 [ERROR] - could not encode item as iCal:
20070817T091116Z_21030084

After that message sync stops.

This is the scheduled meeting from calendar.ics:

------------------------------
BEGIN:VEVENT
TRANSP:OPAQUE
X-GWSHOW-AS:BUSY
DTSTART;TZID=(GMT) Greenwich Mean Time %3A Dublin%2C Edinburgh%2C
Lisbon%2C London:20070820T140000
X-GWITEM-TYPE:APPOINTMENT
DTSTAMP:20070817T071116Z
ORGANIZER;CN=OKTAVIA OKTAVIA;ROLE=CHAIR:MAILTO:
OKTAVIA.PO1.DOMAIN1@XXXX.XX
ATTENDEE;CN=XXX XXXXXXX;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;
ROLE=REQ-PARTICIPANT:MAILTO:XXXX.XXXXX@XXXX.XX
ATTENDEE;CN=OKTAVIA.PO1.DOMAIN1@XXXXX.XX;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;
ROLE=REQ-PARTICIPANT;CUTYPE=RESOURCE:MAILTO:OKTAVIA.PO1.DOMAIN1@XXXXX.XX
ATTENDEE;CN=XXXXXX XXXXXX;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;
ROLE=REQ-PARTICIPANT:MAILTO:XXXXX.XXXXXX@XXXXX.XX
ATTENDEE;CN=XXXXX.X.XXXXX@XXXXX.XX;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;
ROLE=REQ-PARTICIPANT:MAILTO:XXXXX.X.XXXXX@XXXXX.XX
ATTENDEE;CN=XXXXXX.XXXXX@XXXXX.XX;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;
ROLE=REQ-PARTICIPANT:MAILTO:XXXXXX.XXXXX@XXXXX.XX
ATTENDEE;CN=XXXXXX XXXXX (XX/XXX);PARTSTAT=NEEDS-ACTION;RSVP=TRUE;
ROLE=REQ-PARTICIPANT:MAILTO:XXXXXX.XXXX@XXXXXXX.XX
DTEND;TZID=(GMT) Greenwich Mean Time %3A Dublin%2C Edinburgh%2C Lisbon%2C
London:20070820T170000
UID:20070817T091116Z_21030084
PRIORITY:5
CREATED:20070820T060200
LAST-MODIFIED:20070820T060200
END:VEVENT
END:VCALENDAR
------------------------------

I use:
Ubuntu Edgy
syncevolution-0.6
2.10.1-0ubuntu2
and sync against ScheduleWorld.


Lars Persson Fink ( lars_c_persson ) - 2007-08-20 06:43

5

Closed

Works For Me

Patrick Ohly

Evolution Backend

None

Public


Comments ( 2 )




Date: 2007-12-02 18:59
Sender: pohlyProject Admin


I had a look at this issue again in order to implement the suggested
workaround for SyncEvolution 0.7 and found that in Evolution 2.12 the
Evolution Dataserver already substitutes the missing timezone with the
local timezone => the problem should no longer occur. Therefore I won't do
anything in SyncEvolution.



Date: 2007-08-20 16:43
Sender: pohlyProject Admin


This came up once quite a while ago and now occurred again for you and
another user.
For the history and a solution how to resolve it, see:
https://sourceforge.net/tracker/?func=detail&atid=764733&aid=1685637&group_id=146288

The problem is that the VEVENT references a timezone, but does not contain
the timezone
definition. Apparently Evolution deals with this by assuming local time,
but the function
which SyncEvolution uses to encode as ical fails. I bet you cannot save or
forward this
event in Evolution either.

I don't know what a good solution for this problem is. IMHO Evolution and
SyncEvolution
should refuse to import such an event, but neither of them contains such a
sanity check.

Should SyncEvolution print the error and proceed? Hmm, the C++ client
library would
make it hard to implement that :-/



Log in to comment.

Attached File

No Files Currently Attached

Changes ( 5 )

Field Old Value Date By
status_id Open 2007-12-02 18:59 pohly
resolution_id None 2007-12-02 18:59 pohly
close_date - 2007-12-02 18:59 pohly
category_id None 2007-08-20 16:43 pohly
assigned_to nobody 2007-08-20 16:43 pohly