This forum has been archived. All content is frozen. Please use KDE Discuss instead.

korganize can't import calendar that it has exported

Tags: None
(comma "," separated)
User avatar
avi9526
Registered Member
Posts
15
Karma
0
archlinux
korganizer 5.4.1
(this is also affect kontact software)

create file "calendar.vcs":

Code: Select all
BEGIN:VCALENDAR
PRODID:-//K Desktop Environment//NONSGML KOrganizer 5.4.1//EN
VERSION:1.0
BEGIN:VTODO
DUE:20161129T134500Z
DCREATED:20161129T104116Z
UID:3321738d-e304-4f65-b414-60c4a14d0c4e
SEQUENCE:2
LAST-MODIFIED:20170125T045703Z
SUMMARY;ENCODING=QUOTED-PRINTABLE;CHARSET=utf-8:=D1=8F=D0=BA=D0=BE=D0=B3=D0=BE =D0=BB=D0=B8=D1=81=D0=BE=D0=B3=D0=BE =D1=86==0D=0A=
=D1=8F =D1=84=D1=96=D0=B3=D0=BD=D1=8F =D0=BD=D0=B5 =D0=BF=D1=80=D0=B0=D1=86==0D=0A=
=D1=8E=D1=94
STATUS:NEEDS ACTION
PRIORITY:0
CLASS:PUBLIC
END:VTODO
END:VCALENDAR


korganizer -> File -> Import -> Import from calendar
open this file
korganizer -> View -> Todo list

My todo list is empty

Edit that file with kate, do replace (regex)
Code: Select all
==0D=0A=\n

replace with nothing (leave field empty)
file now look like this
Code: Select all
BEGIN:VCALENDAR
PRODID:-//K Desktop Environment//NONSGML KOrganizer 5.4.1//EN
VERSION:1.0
BEGIN:VTODO
DUE:20161129T134500Z
DCREATED:20161129T104116Z
UID:3321738d-e304-4f65-b414-60c4a14d0c4e
SEQUENCE:2
LAST-MODIFIED:20170125T045703Z
SUMMARY;ENCODING=QUOTED-PRINTABLE;CHARSET=utf-8:=D1=8F=D0=BA=D0=BE=D0=B3=D0=BE =D0=BB=D0=B8=D1=81=D0=BE=D0=B3=D0=BE =D1=86=D1=8F =D1=84=D1=96=D0=B3=D0=BD=D1=8F =D0=BD=D0=B5 =D0=BF=D1=80=D0=B0=D1=86=D1=8E=D1=94
STATUS:NEEDS ACTION
PRIORITY:0
CLASS:PUBLIC
END:VTODO
END:VCALENDAR


save file in kate, then try import again in korganizer
for me its imported fine, single item appear in todo list
file get converted from QUOTED-PRINTABLE utf-8 to human readable utf-8

try export that calendar
korganizer -> File -> Export -> Export as vcalendar

delete calndar

try import that file, for me it empty again, and again has ==0D=0A=\n inside

note, this not only prevent to read single item, but whole file, quite disturbing to find that you can't import your tasks from backup


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Evergrowing, Google [Bot], rblackwell