Thread

Index > Scribe > Import Palm / Google Calendar trouble
Author/Date Import Palm / Google Calendar trouble
Mark Wolk
18/10/2011 12:16am
I am trying to import my calendar into InScribe. I have the calendar in an old version of the Palm Desktop (v. 4.1.4) and Agendus on my PC, and in sync with Google.

Google allows me to export the data in an .ics file, which I managed to convert to .vcs. I then dragged it into the "Calendar" folder in the main InScribe window.

However only part of the last record shows, truncated at

ICON: 137|1677440
#AN


Having opened the .vcs file with Notepad, I see that the last 2 records are:


(text of events modified here for privacy)

BEGIN:VEVENT
ACTION:DISPLAY
BEGIN:VALARM
CATEGORIES:('Corporate',)
DESCRIPTION:ICON: 137|1677440\N#AN\N
DTEND:20120926T220000Z
DTSTAMP:20111017T111926Z
DTSTART:20120926T213000Z
DURATION_SECONDS:1800
END:VALARM
CLASS:PUBLIC
LAST-MODIFIED:20111016T235924Z
SUMMARY:remind andrew to go to the doctor for a checkup
TRIGGER:20120926T212000Z
UID:284267701898179634
END:VEVENT
BEGIN:VEVENT
ACTION:DISPLAY
BEGIN:VALARM
CATEGORIES:('Corporate',)
DTEND:20121011T213000Z
DTSTAMP:20111017T111926Z
DTSTART:20121011T210000Z
DURATION_SECONDS:1800
END:VALARM
CLASS:PUBLIC
LAST-MODIFIED:20111016T235924Z
SUMMARY:sarah owes annuity remind payment
TRIGGER:20121010T210000Z
UID:235280280429684763
END:VEVENT
END:VCALENDAR


The InScribe calendar displays that event (and only that one) with

- subject:
sarah owes annuity remind payment


- description:
ICON: 137|1677440
#AN


Having seen that it stops at the "ICON" text, I have manually removed all these strings where they occurred (only a dozen places or so), leaving the "Description" field empty everywhere:
.
.
.
CATEGORIES:('Corporate',)
DESCRIPTION:ICON: 137|1677440\N#AN\N
DTEND:20120926T220000Z
.
.
.


But when trying to import that modified .vcs file into InScribe, I get no result at all.

Can you see a fix that I can implement?


Mark Wolk
18/10/2011 12:21am
sorry, typo error; read the last bit of code as follows:
.
.
.
CATEGORIES:('Corporate',)
DESCRIPTION:
DTEND:20120926T220000Z
.
.
.

fret
18/10/2011 11:37am
The InScribe calendar displays that event (and only that one) with
Yeah thats a bug. I've just fixed that for the next release. Basically it wasn't created more calendar objects when it hit the END:VEVENT line.

So now it creates 2 separate events when importing that file. (Also I assume you missed the START:VCALENDER at the start)

As for the "ICON: blah blah blah" in the description, that is correct according to the spec. I don't believe it's parsing that incorrectly, thats the data it's given.
Mark Wolk
18/10/2011 1:29pm
"Basically it wasn't created more calendar objects when it hit the END:VEVENT line."

No; that's not it, I think. Apparently, the import function starts reading the file from the end, goes through the last event and part of the forelast event, where it jams on

ICON: 137|1677440
#AN


So, it goes through two END:VEVENT strings and stops half-way inside the ICON code, which it copies only partly, interpreting the letter "N" as "carriage return" for some reason:

Original file:
 137|1677440N#ANN


becomes the following "Description" in the InScribe calendar: [pre]ICON: 137|1677440
#AN[/p]

Notice the missing letter N which apparently becomes a carriage return.

I am sending you my file by email, assuming it may be helpful.
Reply