Community

iCal issue breaking KOrganizer client (and others too)

Hiya,

I have just been playing around with a new Linux machine and the KDE Desktop.
Obviously, I tried the K-Suite as well.
KMail and KContact: No issues.

But with KOrganizer, the same old issue appeared again: No events to be seen, although the connection apparently is succesful.

Hello Google, my old friend…

After some digging, I found an older issue reported on the axigen.eu forum, where someone found issues in the main.ics file. So I though: Let’s curl this file and see if I can find something.

And there it is:
For reasons yet unknown:
Line 1:
BEGIN:VCALENDAR

Line 2174:
END:VCALENDAR

Line 2805:
END:VCALENDAR
=> Repeat 25 times with other line numbers.

So, I am not much of a programmer. But usually, if you BEGIN once, you END once.
In this case, throughout the main.ics file, I found 27 “END:VCALENDAR” entries.

I manually edited the main.ics file, removed all the “END:VCALENDAR” entries, but the last one and manually imported it into KOrganizer.
Tada … all appointments are there.

Common to all appointments with an “END:VCALENDAR” entry:

BEGIN:VEVENT
CLASS:PUBLIC
DESCRIPTION:\n\n
LOCATION:****
STATUS:CONFIRMED
SUMMARY:****
DTEND;TZID=Europe/Berlin:20171113T230000
DTSTART;TZID=Europe/Berlin:20171113T200000
TRANSP:OPAQUE
ORGANIZER:mailto:****
UID:040000008200E00074C5B7101A82E00800000000101D21F2464ED3010000000000000
 000100000000652CC7991D3EB47AE4C106025362C19
CREATED:20180927T205122Z
DTSTAMP:20190711T102036Z
LAST-MODIFIED:20190711T102036Z
SEQUENCE:0
X-ALT-DESC:<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:sch
 emas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:off
 ice:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xml
 ns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Typ
 e" CONTENT="text/html\; charset=us-ascii"><meta name=ProgId content=Word
 .Document><meta name=Generator content="Microsoft Word 15"><meta name=Or
 iginator content="Microsoft Word 15"><link rel=File-List href="cid:filel
 ist.xml@01D34E46.DA5531D0"><!--[if gte mso 9]><xml>\n<o:OfficeDocumentSe
 ttings>\n<o:AllowPNG/>\n</o:OfficeDocumentSettings>\n</xml><![endif]--><
 !--[if gte mso 9]><xml>\n<w:WordDocument>\n<w:TrackMoves/>\n<w:TrackForm
 atting/>\n<w:EnvelopeVis/>\n<w:PunctuationKerning/>\n<w:ValidateAgainstS
 chemas/>\n<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>\n<w:IgnoreMixed
 Content>false</w:IgnoreMixedContent>\n<w:AlwaysShowPlaceholderText>false
 </w:AlwaysShowPlaceholderText>\n<w:DoNotPromoteQF/>\n<w:LidThemeOther>EN
 -GB</w:LidThemeOther>\n<w:LidThemeAsian>X-NONE</w:LidThemeAsian>\n<w:Lid
 ThemeComplexScript>X-NONE</w:LidThemeComplexScript>\n<w:Compatibility>\n
 <w:BreakWrappedTables/>\n<w:SnapToGridInCell/>\n<w:WrapTextWithPunct/>\n
 <w:UseAsianBreakRules/>\n<w:DontGrowAutofit/>\n<w:SplitPgBreakAndParaMar
 k/>\n<w:EnableOpenTypeKerning/>\n<w:DontFlipMirrorIndents/>\n<w:Override
 TableStyleHps/>\n</w:Compatibility>\n<m:mathPr>\n<m:mathFont m:val="Camb
 ria Math"/>\n<m:brkBin m:val="before"/>\n<m:brkBinSub m:val="&#45\;-"/>\
 n<m:smallFrac m:val="off"/>\n<m:dispDef/>\n<m:lMargin m:val="0"/>\n<m:rM
 argin m:val="0"/>\n<m:defJc m:val="centerGroup"/>\n<m:wrapIndent m:val="
 1440"/>\n<m:intLim m:val="subSup"/>\n<m:naryLim m:val="undOvr"/>\n</m:ma
 thPr></w:WordDocument>\n</xml><![endif]--><!--[if gte mso 9]><xml>\n<w:L
 atentStyles DefLockedState="false" DefUnhideWhenUsed="false" DefSemiHidd
 en="false" DefQFormat="false" DefPriority="99" LatentStyleCount="375">\n
 <w:LsdException Locked="false" Priority="0" QFormat="true" Name="Normal"
 />\n<w:LsdException Locked="false" Priority="9" QFormat="true" Name="hea
 ding 1"/>\n<w:LsdException Locked="false" Priority="9" SemiHidden="true"
  UnhideWhenUsed="true" QFormat="true" Name="heading 2"/>\n<w:LsdExceptio
 n Locked="false" Priority="9" SemiHidden="true" UnhideWhenUsed="true" QF
 ormat="true" Name="heading 3"/>\n<w:LsdException Locked="false" Priority
 ="9" SemiHidden="true" UnhideWhenUsed="true" QFormat="true" Name="headin
 g 4"/>\n<w:LsdException Locked="false" Priority="9" SemiHidden="true" Un
 hideWhenUsed="true" QFormat="true" Name="heading 5"/>\n<w:LsdException L
 ocked="false" Priority="9" SemiHidden="true" UnhideWhenUsed="true" QForm
 at="true" Name="heading 6"/>\n<w:LsdException Locked="false" Priority="9
 " SemiHidden="true" UnhideWhenUsed="true" QFormat="true" Name="heading 7
 "/>\n<w:LsdException Locked="false" Priority="9" SemiHidden="true" Unhid
 eWhenUsed="true" QFormat="true" Name="heading 8"/>\n<w:LsdException Lock
 ed="false" Priority="9" SemiHidden="true" UnhideWhenUsed="true" QFormat=
 "true" Name="heading 9"/>\n<w:LsdException Locked="false" SemiHidden="tr
 ue" UnhideWhenUsed="true" Name="index 1"/>\n<w:LsdException Locked="fals
 e" SemiHidden="true" UnhideWhenUsed="true" Name="index 2"/>\n<w:LsdExcep
 tion Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="index 
 3"/>\n<w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="t
 rue" Name="index 4"/>\n<w:LsdException Locked="false" SemiHidden="true" 
 UnhideWhenUsed="true" Name="index 5"/>\n<w:LsdException Locked="false" S
 emiHidden="true" UnhideWhenUsed="true" Name="index 6"/>\n<w:LsdException
  Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="index 7"/>
 \n<w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
  Name="index 8"/>\n<w:LsdException Locked="false" SemiHidden="true" Unhi
 deWhenUsed="true" Name="index 9"/>\n<w:LsdException Locked="false" Prior
 ity="39" SemiHidden="true" UnhideWhenUsed="true" Name="toc 1"/>\n<w:LsdE
 xception Locked="false" Priority="39" SemiHidden="true" UnhideWhenUsed="
 true" Name="toc 2"/>\n<w:LsdException Locked="false" Priority="39" SemiH
 idden="true" UnhideWhenUsed="true" Name="toc 3"/>\n<w:LsdException Locke
 d="false" Priority="39" SemiHidden="true" UnhideWhenUsed="true" Name="to
 c 4"/>\n<w:LsdException Locked="false" Priority="39" SemiHidden="true" U
 nhideWhenUsed="true" Name="toc 5"/>\n<w:LsdException Locked="false" Prio
 rity="39" SemiHidden="true" UnhideWhenUsed="true" Name="toc 6"/>\n<w:Lsd
 Exception Locked="false" Priority="39" SemiHidden="true" UnhideWhenUsed=
 "true" Name="toc 7"/>\n<w:LsdException Locked="false" Priority="39" Semi
 Hidden="true" UnhideWhenUsed="true" Name="toc 8"/>\n<w:LsdException Lock
 ed="false" Priority="39" SemiHidden="true" UnhideWhenUsed="true" Name="t
 oc 9"/>\n<w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed
 ="true" Name="Normal Indent"/>\n<w:LsdException Locked="false" SemiHidde
 n="true" UnhideWhenUsed="true" Name="footnote text"/>\n<w:LsdException L
 ocked="false" SemiHidden="true" UnhideWhenUsed="true" Name="annotation t
 ext"/>\n<w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed=
 "true" Name="header"/>\n<w:LsdException Locked="false" SemiHidden="true"
  UnhideWhenUsed="true" Name="footer"/>\n<w:LsdException Locked="false" S
 emiHidden="true" UnhideWhenUsed="true" Name="index heading"/>\n<w:LsdExc
 eption Locked="false" Priority="35" SemiHidden="true" UnhideWhenUsed="tr
 ue" QFormat="true" Name="caption"/>\n<w:LsdException Locked="false" Semi
 Hidden="true" UnhideWhenUsed="true" Name="table of figures"/>\n<w:LsdExc
 eption Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="enve
 lope address"/>\n<w:LsdException Locked="false" SemiHidden="true" Unhide
 WhenUsed="true" Name="envelope return"/>\n<w:LsdException Locked="false"
  SemiHidden="true" UnhideWhenUsed="true" Name="footnote reference"/>\n<w
 :LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Nam
 e="annotation reference"/>\n<w:LsdException Locked="false" SemiHidden="t
 rue" UnhideWhenUsed="true" Name="line number"/>\n<w:LsdException Locked=
 "false" SemiHidden="true" UnhideWhenUsed="true" Name="page number"/>\n<w
 :LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Nam
 e="endnote reference"/>\n<w:LsdException Locked="false" SemiHidden="true
 " UnhideWhenUsed="true" Name="endnote text"/>\n<w:LsdException Locked="f
 alse" SemiHidden="true" UnhideWhenUsed="true" Name="table of authorities
 "/>\n<w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="tr
 ue" Name="macro"/>\n<w:LsdException Locked="false" SemiHidden="true" Unh
 ideWhenUsed="true" Name="toa heading"/>\n<w:LsdException Locked="false" 
 SemiHidden="true" UnhideWhenUsed="true" Name="List"/>\n<w:LsdException L
 ocked="false" SemiHidden="true" UnhideWhenUsed="true" Name="List Bullet"
 />\n<w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="tru
 e" Name="List Number"/>\n<w:LsdException Locked="false" SemiHidden="true
 " UnhideWhenUsed="true" Name="List 2"/>\n<w:LsdException Locked="false" 
 SemiHidden="true" UnhideWhenUsed="true" Name="List 3"/>\n<w:LsdException
  Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="List 4"/>\
 n<w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" 
 Name="List 5"/>\n<w:LsdException Locked="false" SemiHidden="true" Unhide
 WhenUsed="true" Name="List Bullet 2"/>\n<w:LsdException Locked="false" S
 emiHidden="true" UnhideWhenUsed="true" Name="List Bullet 3"/>\n<w:LsdExc
 eption Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="List
  Bullet 4"/>\n<w:LsdException Locked="false" SemiHidden="true" UnhideWhe
 nUsed="true" Name="List Bullet 5"/>\n<w:LsdException Locked="false" Semi
 Hidden="true" UnhideWhenUsed="true" Name="List Number 2"/>\n<w:LsdExcept
 ion Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="List Nu
 mber 3"/>\n<w:LsdException Locked="false" SemiHidden="true" UnhideWhenUs
 ed="true" Name="List Number 4"/>\n<w:LsdException Locked="false" SemiHid
 den="true" UnhideWhenUsed="true" Name="List Number 5"/>\n<w:LsdException
  Locked="false" Priority="10" QFormat="true" Name="Title"/>\n<w:LsdExcep
 tion Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Closin
 g"/>\n<w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="t
 rue" Name="Signature"/>\n<w:LsdException Locked="false" Priority="1" Sem
 iHidden="true" UnhideWhenUsed="true" Name="Default Paragraph Font"/>\n<w
 :LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Nam
 e="Body Text"/>\n<w:LsdException Locked="false" SemiHidden="true" Unhide
 WhenUsed="true" Name="Body Text Indent"/>\n<w:LsdException Locked="false
 " SemiHidden="true" UnhideWhenUsed="true" Name="List Continue"/>\n<w:Lsd
 Exception Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="L
 ist Continue 2"/>\n<w:LsdException Locked="false" SemiHidden="true" Unhi
 deWhenUsed="true" Name="List Continue 3"/>\n<w:LsdException Locked="fals
 e" SemiHidden="true" UnhideWhenUsed="true" Name="List Continue 4"/>\n<w:
 LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name
 ="List Continue 5"/>\n<w:LsdException Locked="false" SemiHidden="true" U
 nhideWhenUsed="true" Name="Message Header"/>\n<w:LsdException Locked="fa
 lse" Priority="11" QFormat="true" Name="Subtitle"/>\n<w:LsdException Loc
 ked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Salutation"/>\
 n<w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" 
 Name="Date"/>\n<w:LsdException Locked="false" SemiHidden="true" UnhideWh
 enUsed="true" Name="Body Text First Indent"/>\n<w:LsdException Locked="f
 alse" SemiHidden="true" UnhideWhenUsed="true" Name="Body Text First Inde
 nt 2"/>\n<w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed
 ="true" Name="Note Heading"/>\n<w:LsdException Locked="false" SemiHidden
 ="true" UnhideWhenUsed="true" Name="Body Text 2"/>\n<w:LsdException Lock
 ed="false" SemiHidden="true" UnhideWhenUsed="true" Name="Body Text 3"/>\
 n<w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" 
 Name="Body Text Indent 2"/>\n<w:LsdException Locked="false" SemiHidden="
 true" UnhideWhenUsed="true" Name="Body Text Indent 3"/>\n<w:LsdException
  Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Block Text
 "/>\n<w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="tr
 ue" Name="Hyperlink"/>\n<w:LsdException Locked="false" SemiHidden="true"
  UnhideWhenUsed="true" Name="FollowedHyperlink"/>\n<w:LsdException Locke
 d="false" Priority="22" QFormat="true" Name="Strong"/>\n<w:LsdException 
 Locked="false" Priority="20" QFormat="true" Name="Emphasis"/>\n<w:LsdExc
 eption Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Docu
 ment Map"/>\n<w:LsdException Locked="false" SemiHidden="true" UnhideWhen
 Used="true" Name="Plain Text"/>\n<w:LsdException Locked="false" SemiHidd
 en="true" UnhideWhenUsed="true" Name="E-mail Signature"/>\n<w:LsdExcepti
 on Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="HTML Top
  of Form"/>\n<w:LsdException Locked="false" SemiHidden="true" UnhideWhen
 Used="true" Name="HTML Bottom of Form"/>\n<w:LsdException Locked="false"
  SemiHidden="true" UnhideWhenUsed="true" Name="Normal (Web)"/>\n<w:LsdEx
 ception Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="HTM
 L Acronym"/>\n<w:LsdException Locked="false" SemiHidden="true" UnhideWhe
 nUsed="true" Name="HTML Address"/>\n<w:LsdException Locked="false" SemiH
 idden="true" UnhideWhenUsed="true" Name="HTML Cite"/>\n<w:LsdException L
 ocked="false" SemiHidden="true" UnhideWhenUsed="true" Name="HTML Code"/>
 \n<w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
  Name="HTML Definition"/>\n<w:LsdException Locked="false" SemiHidden="tr
 ue" UnhideWhenUsed="true" Name="HTML Keyboard"/>\n<w:LsdException Locked
 ="false" SemiHidden="true" UnhideWhenUsed="true" Name="HTML Preformatted
 "/>\n<w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="tr
 ue" Name="HTML Sample"/>\n<w:LsdException Locked="false" SemiHidden="tru
 e" UnhideWhenUsed="true" Name="HTML Typewriter"/>\n<w:LsdException Locke
 d="false" SemiHidden="true" UnhideWhenUsed="true" Name="HTML Variable"/>
 \n<w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
  Name="Normal Table"/>\n<w:LsdException Locked="false" SemiHidden="true"
  UnhideWhenUsed="true" Name="annotation subject"/>\n<w:LsdException Lock
 ed="false" SemiHidden="true" UnhideWhenUsed="true" Name="No List"/>\n<w:
 LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name
 ="Outline List 1"/>\n<w:LsdException Locked="false" SemiHidden="true" Un
 hideWhenUsed="true" Name="Outline List 2"/>\n<w:LsdException Locked="fal
 se" SemiHidden="true" UnhideWhenUsed="true" Name="Outline List 3"/>\n<w:
 LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name
 ="Table Simple 1"/>\n<w:LsdException Locked="false" SemiHidden="true" Un
 hideWhenUsed="true" Name="Table Simple 2"/>\n<w:LsdException Locked="fal
 se" SemiHidden="true" UnhideWhenUsed="true" Name="Table Simple 3"/>\n<w:
 LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name
 ="Table Classic 1"/>\n<w:LsdException Locked="false" SemiHidden="true" U
 nhideWhenUsed="true" Name="Table Classic 2"/>\n<w:LsdException Locked="f
 alse" SemiHidden="true" UnhideWhenUsed="true" Name="Table Classic 3"/>\n
 <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" N
 ame="Table Classic 4"/>\n<w:LsdException Locked="false" SemiHidden="true
 " UnhideWhenUsed="true" Name="Table Colorful 1"/>\n<w:LsdException Locke
 d="false" SemiHidden="true" UnhideWhenUsed="true" Name="Table Colorful 2
 "/>\n<w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="tr
 ue" Name="Table Colorful 3"/>\n<w:LsdException Locked="false" SemiHidden
 ="true" UnhideWhenUsed="true" Name="Table Columns 1"/>\n<w:LsdException 
 Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Table Colum
 ns 2"/>\n<w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed
 ="true" Name="Table Columns 3"/>\n<w:LsdException Locked="false" SemiHid
 den="true" UnhideWhenUsed="true" Name="Table Columns 4"/>\n<w:LsdExcepti
 on Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Table Co
 lumns 5"/>\n<w:LsdException Locked="false" SemiHidden="true" UnhideWhenU
 sed="true" Name="Table Grid 1"/>\n<w:LsdException Locked="false" SemiHid
 den="true" UnhideWhenUsed="true" Name="Table Grid 2"/>\n<w:LsdException 
 Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Table Grid 
 3"/>\n<w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="t
 rue" Name="Table Grid 4"/>\n<w:LsdException Locked="false" SemiHidden="t
 rue" UnhideWhenUsed="true" Name="Table Grid 5"/>\n<w:LsdException Locked
 ="false" SemiHidden="true" UnhideWhenUsed="true" Name="Table Grid 6"/>\n
 <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" N
 ame="Table Grid 7"/>\n<w:LsdException Locked="false" SemiHidden="true" U
 nhideWhenUsed="true" Name="Table Grid 8"/>\n<w:LsdException Locked="fals
 e" SemiHidden="true" UnhideWhenUsed="true" Name="Table List 1"/>\n<w:Lsd
 Exception Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="T
 able List 2"/>\n<w:LsdException Locked="false" SemiHidden="true" UnhideW
 henUsed="true" Name="Table List 3"/>\n<w:LsdException Locked="false" Sem
 iHidden="true" UnhideWhenUsed="true" Name="Table List 4"/>\n<w:LsdExcept
 ion Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Table L
 ist 5"/>\n<w:LsdException Locked="false" SemiHidden="true" UnhideWhenUse
 d="true" Name="Table List 6"/>\n<w:LsdException Locked="false" SemiHidde
 n="true" UnhideWhenUsed="true" Name="Table List 7"/>\n<w:LsdException Lo
 cked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Table List 8"
 />\n<w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="tru
 e" Name="Table 3D effects 1"/>\n<w:LsdException Locked="false" SemiHidde
 n="true" UnhideWhenUsed="true" Name="Table 3D effects 2"/>\n<w:LsdExcept
 ion Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Table 3
 D effects 3"/>\n<w:LsdException Locked="false" SemiHidden="true" UnhideW
 henUsed="true" Name="Table Contemporary"/>\n<w:LsdException Locked="fals
 e" SemiHidden="true" UnhideWhenUsed="true" Name="Table Elegant"/>\n<w:Ls
 dException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="
 Table Professional"/>\n<w:LsdException Locked="false" SemiHidden="true" 
 UnhideWhenUsed="true" Name="Table Subtle 1"/>\n<w:LsdException Locked="f
 alse" SemiHidden="true" UnhideWhenUsed="true" Name="Table Subtle 2"/>\n<
 w:LsdException Locked="false" SemiHidden="true" Unhi
X-SERVER-UID:5bad42c93749
X-MICROSOFT-CDO-BUSYSTATUS:busy
END:VEVENT
END:VCALENDAR

So, to me this looks like Outlook (O365, local, whatever…) adding this stuff and especially the “END:VCALENDAR” entries.

Is there any way to avoid this / repair the main.ics “inline” ?

JK