Bug 182307 - Unable to work with local file in vCalendar format
Summary: Unable to work with local file in vCalendar format
Status: RESOLVED FIXED
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-29 15:29 UTC by Andrey Cherepanov
Modified: 2009-02-17 15:25 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Test file from old KOrganizer (845 bytes, text/calendar)
2009-01-29 16:56 UTC, Andrey Cherepanov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Cherepanov 2009-01-29 15:29:54 UTC
Version:           4.2 rc1 (using 4.1.96 (KDE 4.1.96 (KDE 4.2 RC1)), ALT Linux i586)
Compiler:          gcc
OS:                Linux (i686) release 2.6.27-std-def-alt7

After migration to KDE 4.2rc from KDE 3.5.10 I completely lose all my tasks and events. Korganizer unable nor create nor import vCalendar local file. Import was passed, but open imported calendar was failed.

If I save created event Korganizer was crashed.
Comment 1 Sergio Martins 2009-01-29 15:39:00 UTC
Here's what you could do to help:

1. Attach the backtrace of the crash. (http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports)

2. Attach the vCalendar file. You don't need to attach the whole file, you could try deleting half of the events, see if it imports well, if not, delete some more, if yes, add some that you deleted, repeat this until you have a very small test case so it's easier to find out why it doesn't import.
Comment 2 Andrey Cherepanov 2009-01-29 16:56:58 UTC
Created attachment 30717 [details]
Test file from old KOrganizer
Comment 3 Andrey Cherepanov 2009-01-29 16:58:12 UTC
1. Sorry, I have KDE without debug. But I think this is some useful for you:
icalerror.c:99: BADARG: Bad argument to function
korganizer: icalerror.c:100: icalerror_set_errno: Assertion `0' failed.
KCrash: Application 'korganizer' crashing...
sock_file=/home/cas/.kde4/socket-c249.office.altlinux.ru/kdeinit4__0

2. Attached file is created in KOrganizer from KDE 3.5.10 (local file in vCalendar)
Comment 4 Sergio Martins 2009-01-29 17:13:47 UTC
I tested with KDE-4.2 and it worked fine, I can see the event at 29-Jan-2009, and it saves nicely.

What version of libical do you have?
Comment 5 Andrey Cherepanov 2009-01-30 11:01:33 UTC
(In reply to comment #4)
> What version of libical do you have?
0.26

My friend test run KOrganizer without old data and it works. We use same codebase.
Comment 6 Sergio Martins 2009-01-30 17:56:15 UTC
KOrganizer from KDE-4.2 needs libical >= 0.33, can you upgrade and try again?
Comment 7 Andrey Cherepanov 2009-02-17 15:25:07 UTC
libical-0.43-alt1

All calendars work as expected. Thanks for your attention.