Bug 86879 - calendar conduit does not sync from desktop => palm
Summary: calendar conduit does not sync from desktop => palm
Status: RESOLVED FIXED
Alias: None
Product: kpilot
Classification: Applications
Component: Calendar Conduit (show other bugs)
Version: 4.4.4
Platform: Gentoo Packages Linux
: HI grave
Target Milestone: ---
Assignee: groot
URL:
Keywords:
: 63368 87619 87885 89413 90012 90696 113612 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-08-10 02:27 UTC by Trejkaz Xaoza
Modified: 2007-03-20 04:16 UTC (History)
18 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Trejkaz Xaoza 2004-08-10 02:27:46 UTC
Version:           4.4.4 (using KDE KDE 3.2.92)
Installed from:    Gentoo Packages

If I add an entry in my TODO list on the desktop and hit sync, the TODO entry disappears.
If I add a Task on the Palm and hit sync, the Task gets moved into the TODO list on the desktop.

This seems to happen for calendar entries also.

I have the "next sync operation" set to HotSync normally, but Fast Sync and Full Sync exhibited the same behaviour.

Oddly, if I drop .prc files into the file installer and hit sync, those _are_ synced over to the desktop.  And I suspect it isn't happening for the address book either, but I will have to confirm this later tonight, when I get more time (I'll update the report later, either way.)

The unit is a Tungsten T3, connected via the USB cradle.  Full backup and restore via pilot-xfer and KPilot work as expected.
Comment 1 Carlos Woelz 2004-08-10 02:40:50 UTC
Hi Trejkaz Xaoza,

Are you using the viewer application or the conduits to do the sync?

Using the viewers to edit and add the data is currently disabled. Are the "new", "edit"and "delete" buttons in the viewers are disabled or enabled?
Comment 2 Trejkaz Xaoza 2004-08-10 02:59:36 UTC
I'm using the conduits to sync with KOrganizer.
Comment 3 Trejkaz Xaoza 2004-08-11 13:05:39 UTC
Okay, it seems it might be worse than I thought.  I just synced after having added 5-6 entries on the Palm, and only the most recent one appeared in KOrganizer.  Everything else is still on the Palm, but didn't sync over.

But I did manage to confirm that KAddressBook/Contacts are syncing pretty much perfectly, as are KNotes/Memos.

Should probably update the title of the bug to "KAddressBook conduit not syncing reliably at all."
Comment 4 Trejkaz Xaoza 2004-08-11 13:35:44 UTC
The entry disappearing was due to me not saving the calendar before hitting the hotsync button.  Bug 63368 mentions this also.

Unfortunately, the new entry is still not synchronised to the PDA (rats!)
Comment 5 Carlos Woelz 2004-08-14 00:06:22 UTC
This is a calendar conduit bug. I won't say it is a duplicate of 63368 right now: let's see if I can confirm the entry not being synced *after* saving.
Comment 6 Carlos Woelz 2004-08-14 00:09:05 UTC
BTW, just a bug management question: is it OK if I reassign this bug to the owner of the component (reinhold?), or should I refrain from doing this? For this one I will do so. Any objections, please let me know.
Comment 7 Reinhold Kainhofer 2004-08-14 11:55:48 UTC
On Saturday 14 August 2004 00:09, Carlos Woelz wrote:
> BTW, just a bug management question: is it OK if I reassign
> this bug to the owner of the component (reinhold?), or should I refrain
> from doing this? 

I don't really care, I usually don't look at the list of bugs assigned to me, 
but rather at kpilot's (and korganizer's) bug list at a whole.

Reinhold
Comment 8 Jörg Hermsdorf 2004-08-20 18:29:33 UTC
I'm experiencing the same behavior with KDE 3.3 (SuSE 9.1 Packages) and my Tungsten T handheld. The calendar conduit isn't syncing at all between the handheld and Kalendar. It's rather a "handheld overrides desktop" behavior. If I add or delete Kalendar/ToDo entries on the desktop, all changes are gone after a hotsync. But entries entered/deleted directly on the handheld are synced to the desktop as desired.
I also had this problem with KDE 3.1 and 3.2 before.

Jörg.
Comment 9 Ronny Multrus 2004-08-21 13:15:52 UTC
I also experienced this bug and could solve it by just deleting the contents of $KDEHOME/share/apps/kpilot/conduits. Afterwards, the conduits for my palm user were recreated and now it works fine again.
Comment 10 Trejkaz Xaoza 2004-08-21 14:27:13 UTC
I assume you meant $HOME/.kde/share/apps/kpilot/conduits.

Also, is this really safe to do?
Comment 11 Trejkaz Xaoza 2004-08-21 14:33:20 UTC
Okay, forget my comment.  It's safe, but it doesn't fix the problem at all.  The conduits are recreated, but it still doesn't sync from the PC to the Palm, only the other way around.
Comment 12 Ronny Multrus 2004-08-21 14:37:54 UTC
> I assume you meant $HOME/.kde/share/apps/kpilot/conduits.

For me, the KDE directory isn't $HOME/.kde, I set $KDEHOME to $HOME/.kde3.3 to keep my old KDE configuration of 3.2.

When I encountered the bug I just had copied the former $KDEHOME/share/apps/kpilot directory of KDE 3.2 to my new KDE 3.3 directory. I guess deleting the contents of the conduits directory is safe because kpilot would recreate it anyway if it doesn't find it.

Regards,
Ronino
Comment 13 Ronny Multrus 2004-08-21 14:58:55 UTC
> The conduits are recreated, but it still doesn't sync from the PC
> to the Palm, only the other way around.

Hmm, obviously you are right. But syncing works both ways for me when the conduits directory is recreated. Then all new appointments made in korganizer can be found on the palm. But indeed, adding a new appointment afterwards and syncing again doesn't work. I thought it did...

Ronino
Comment 14 Trejkaz Xaoza 2004-08-21 15:59:39 UTC
Sh*t, you're right.  It does work that very first time.

What's funny is this: if I set KPilot to "Copy PC to Handheld", it _still_ doesn't copy the stuff from the PC to the handheld.  Yet removing the conduit data seems to make that first sync work perfectly.  So there is something very specific in the way that the copy of stuff in KOrganizer is being compared to the data cached in that directory, and KPilot is somehow detecting that it hasn't changed, so doesn't copy it over.

It's comforting that a Tungsten T owner has issues too, since it means this isn't just a T3 issue like a couple of other bugs are. :-)
Comment 15 Ronny Multrus 2004-08-22 13:58:47 UTC
Bug #87619 (http://bugs.kde.org/show_bug.cgi?id=87619) seems to be related to this bug or it even is a duplicate. The bug reporter writes that KOrganizer doesn't create the X-PILOTID and X-PILOTSTAT fields for new entries. I checked this and it is true! No such fields.

The author reports that setting X-PILOTSTAT to 1 and X-PILOTID to a random number makes the entries be synced correctly. I haven't tried this yet.

I guess we're getting closer...

Ronino
Comment 16 kopitz 2004-08-23 10:56:57 UTC
That bug report was from me and yes, it's true, I suppose it's a duplicate. 
I don't know if X-PILOTID has any coded meaning (time or so), but I set it to some number somewhere in the range of other X-PILOTIDs existing in the .ics file and it worked that way (I suppose I was lucky not to create a duplicate X-PILOTID, so I don't know if this method is to be recommended - apart from requiring quite some effort). I guess, X-PILOTSTAT "1" means not copied yet, and "0" means already copied.
I can confirm, that (in KDE 3.3) setting "Copy from PC to PDA" did not make any difference. In fact, it seems it does not matter whichever copying/syncing method you choose, it always does a normal 2-way hotsync.
I downgraded to KDE 3.2 and the syncing works fine again (some other bugs, that came with KDE 3.3 did NOT disappear - argh - but that's another topic).
I'm pretty sure, that those missing X-PILOT... entries are responsible for the failing syncs.

Jan 
Comment 17 Earl Azarov 2004-08-27 12:47:34 UTC
Hi,
I found this thread because of a recent problem with my PalmV in syncing with Kontact 0.8.1 using Kpilot 4.4.1 under FC2 2.6.7-1.494.2.2
What I found: a) this problem was reported recently in Auguts'04 b) this is exact what I start experiencing about 2 weeks ago.
It maybe coincidently happen after I did regular apt-get update; apt-get dist-upgrade. Before that I was experimenting with yum update.

PROBLEM

I can NOT propagate changes on my Palm to Korganizer, calendar.
The rest seems working fine.
I CAN sync changes in my Korganizer to Palm.

Vladimir
Comment 18 jesper 2004-08-27 20:17:52 UTC
I use SuSE 9.1 and upgraded to KDE 3,.3 yesterday. I have the same problem. Entries made in my Palm Vx is copied to korganizer but entries in korganizer doesn't copy to my palm. If I delete the entries in the.kde conduits directory the contents entered in korganizer gets copied but if I enter a new one (after the new fies in conduits are created) it doesn't copy to my Palm Vx.
Comment 19 Earl Azarov 2004-08-28 09:04:19 UTC
Additional comment to #17.
I had a plenty of X-PILOTSTAT:1 X-PILOTSTAT:0 and X-PILOTID entries in my calendar.ics. I didn't help at all.
The only fail and try option that helped to resolve this problem was to remove kpilotrc. Apparently I backed it up before.
Then started kpilot and very carefully gone through settings in conduites and kpilot.
Before start syncing the first time I examined kpilotrc and found there were no calendar file specified and CalendarType=1 where I'm using .ics which is type=0. That was because I just selected Standard Calendar destination.
I went back to kpilot --sync and pointed to my calendar.ics file. Lateron I changed it back to Standard but that had no affect on kpilotrc.

I ran  thoroughly testing of sync between Palm and Korganizer calendar and found no problem in sync in both directions and with perfect conflict resolution.
Comment 20 Trejkaz Xaoza 2004-08-28 09:29:36 UTC
The "standard" calendar seems to be std.ics.

Incidentally, I can't see CalendarType anywhere in my kpilotrc file at all. :-/
Comment 21 jesper 2004-08-29 18:56:35 UTC
Regarding #19:
Yes, it worked for me also. Once... or twice. Now I'm still unable to get new entries in korganizer to sync to my Palm.
Comment 22 jesper 2004-08-29 19:30:26 UTC
I forgot to mention that the sync worked OK on KDE 3.2/SuSE 9.1, sorry!
Comment 23 Reinhold Kainhofer 2004-09-06 17:02:42 UTC
*** Bug 87885 has been marked as a duplicate of this bug. ***
Comment 24 Bavo De Ridder 2004-09-12 01:30:02 UTC
I can confirm this behavior with KDE 3.3 and KPilot 4.4.4 on SuSE 9.1. This makes kpilot currently completely useless for me.
Comment 25 Nathaniel Morbey 2004-09-12 04:48:30 UTC
Same story...  desktop stuff doesn't sync from KDE 3.3 to Palm m500.  Useless.
Comment 26 Reinhold Kainhofer 2004-09-13 16:27:57 UTC
*** Bug 89413 has been marked as a duplicate of this bug. ***
Comment 27 Martin 2004-09-13 16:49:11 UTC
I post bug 89413 which is a duplicate. I deleted conduits directory and it worked fine for once. I will make further tests later, might not work again. In addition, no CalendarType nor calendar file in my kpilotrc.
Comment 28 Martin 2004-09-13 18:30:01 UTC
worked once then palm erased desktop...really buggy. waiting for new release, kinda useless at the moment.
Comment 29 Marco Laverdière 2004-09-15 01:36:31 UTC
I tried to delete the conduits directory and the sync worked well once (Palm to PC & PC to Palm) but not the second time (only Palm to PC)...
Comment 30 Bastian Larsen 2004-09-15 08:58:05 UTC
I got the Problem since KDE3.3, that Kpilot seems not to sync with KOrganizer AND KAdressbook. KOrganizer doesn save the entrys, it says "Cannot save to KOrganizer Standard Resource".

Furthermore: KPilot has the bug (earlier version) that changes in Notes-Entries are only synced from the Palm to KPilot not vice versa. But the changes made in KPilot are also not kept in KPilot itself after changing the tab for example...

Bastian
Comment 31 Carlos Woelz 2004-09-22 14:43:13 UTC
*** Bug 90012 has been marked as a duplicate of this bug. ***
Comment 32 Matthias Steinbauer 2004-09-23 19:07:37 UTC
I've expirienced the same problems with my Sony Clie TJ37. I'm syncing via WLan Network.

How can one create better feedback information? Where to create LOG-Files or something like that?

Matthias
Comment 33 rlk 2004-09-24 19:32:23 UTC
Same problem with KDE 3.3 and SUSE 9.1.  In addition, if I delete an entry on my desktop, the entry is not deleted on my Clie SJ20, and indeed it usually gets re-created on my desktop.

Same problem with either hot sync or fast sync.  Setting full sync seems to have no effect whatsoever.  Even using "copy PC to handheld" doesn't help.  This is a very grave problem for me, since I usually create calendar entries on my desktop.

This problem appears to be new with KDE 3.3.
Comment 34 Rudolf Kollien 2004-09-24 20:39:03 UTC
I can confirm the problem. KDE 3.3, SuSE 9.1 Sony Clie SJ33, Palm III and Palm V. All worked fine under KDE 3.2.3. Sometimes kpilot completly or partial crashed (erased) the addressbook (using Agendus from Iambic. Don't know if this matters). Sorry, but kpilot in the actual version is unusable.
Comment 35 groot 2004-09-27 00:05:52 UTC
Fixed in CVS; people able to compile from source should try the tarball now up on kpilot.org, which contains the same code. There may be a bug in libkcal as well that cooperates to cause this, please take a look.
Comment 36 rlk 2004-09-27 15:55:13 UTC
I tried the tarball (20040924, I presume, since that was the most recent one on the site after comment #35); it did not fix this problem.
Comment 37 Trejkaz Xaoza 2004-09-28 01:03:17 UTC
What's the easiest way that I can get a diff of just this fix which will apply to the KDE 3.3.0 sources?
Comment 38 Martin Greig 2004-09-28 11:32:51 UTC
Olivier Djian posted to kdepim-users a couple of patches to libkcal, which have sorted it for me; are they alternative to the new CVS tarball, or do we really need both?
Comment 39 groot 2004-09-29 11:28:46 UTC
Fixed in HEAD and in BRANCH; it will be out with KDE 3.3.1 or with the KPilot 4.4.5 tarballs on kpilot.org.
Comment 40 rlk 2004-09-29 16:13:40 UTC
SUSE has built new packages for 9.1 (presumably with these fixes); in any event, it finally appears to work.
Comment 41 Jörg Hermsdorf 2004-09-29 20:05:37 UTC
Could you tell us please where to find the new SuSE packages?
I tried YAST Online-Update and checked ftp://ftp.gwdg.de/pub/linux/suse/ftp.suse.com/suse/i386/supplementary/KDE/update_for_9.1
but I couldn't find new packages...
Comment 42 rlk 2004-09-29 20:13:06 UTC
Try ftp://ftp.suse.com/pub/suse/i386/supplementary/KDE/update_for_9.1/applications/ .  They're kdepim3-*3.3.0-27.i586.rpm.  Yes, I know ftp.suse.com is rather slow...
Comment 43 groot 2004-09-30 01:47:28 UTC
*** Bug 87619 has been marked as a duplicate of this bug. ***
Comment 44 Bavo De Ridder 2004-09-30 07:18:31 UTC
I have installed the SuSE 9.1 rpms (actually, just did an update since I was already on those) and it indeed seems to work now. I added an item to my KOrganizer and it appeared in the palm and vice versa. Not items were erroneously deleted. The TODO list was also updates as expected.
Comment 45 Bavo De Ridder 2004-09-30 07:38:33 UTC
Hmm, I think I have to withdraw my previous statement that it currently works. When I create items on my Palm, they are all synced to korganizer. But when I create items in korganizer, they are not all synced to the palm. It is better in that some items are synced, but it still doesn't work since not all items are synced.

Could someone else test this: create several items in korganizer and see if they all end up in the palm?
Comment 46 Trejkaz Xaoza 2004-09-30 10:36:03 UTC
I just tested the patches which were posted to kdepim-users, and the result is that now, I can't see anything in the calendar or the TODO list on the desktop at all.  I also get "Error while saving Default KOrganizer resource" on exiting, so there's probably some simple error in loading and saving the calendar.

Was there a difference between these patches and the changes which were actually applied to CVS?  Would someone answer my previous question regarding how to obtain a patch which fixes this?
Comment 47 Jörg Hermsdorf 2004-09-30 14:16:55 UTC
I just installed the new SuSE packages, but I don't believe (hope) they already include the fixes.
I experience the same behavior as before. I created several items on the desktop, but none was synced to my Tungsten T. After syncing the newly created items were also gone on the desktop.
The new SuSE packages still use KPilot 4.4.4. As posted by groot@kde.org these fixes come with KPilot 4.4.5. Seems like we have to wait until SuSE provides KDE 3.3.1 packages...
Comment 48 Bavo De Ridder 2004-09-30 14:27:40 UTC
ftp.suse.com containes 4.4.5 packages since a few hours. Make sure you have the 3.3.0-29 rpm for kdepim3-kpilot
Comment 49 Jörg Hermsdorf 2004-09-30 19:36:20 UTC
OK, I installed the SuSE kdepim 3.3.0-29 packages so I'm now running KPilot 4.4.5. I deleted all previous kpilot and korganizer configuration files and set up everything new. But the problem is still not fixed, no items created on the desktop are synced to my Tungsten T.
Comment 50 Jan Drewes 2004-10-01 15:44:58 UTC
I downloaded the kdepim-tarball dated 2004-10-01 (including kpilot 4.4.6 Kiel) and installed everything from there. I can now observe the following behavior:

1. events created in korganizer are transfered to the palm, ok, even without saving first. (that's a significant improvement)
2. events modified in korganizer (category, content, time,...) and synced before saving or are set back to the state they have in the Palm (this is like before, palm always overwrites pc, just that now it also overwrites the category, it didn't do that in 4.4.4).
3. (or 2b.) events modified in korganizer and synced only AFTER SAVING, are also overwritten by the Palm.
4. events deleted in korganizer synced before saving reappear after sync.
5. events deleted in korganizer and synced only AFTER SAVING, are correctly synced (they disappear on the palm, as expected)
6. events modified on the palm always cause a "modified on both PC and Palm" message prompting to select which one should overwrite the other, even when they were modified only on the palm. The selection the user makes (palm or pc) is then carried out correctly.

summary:
i can finally enter events on my pc, but i need to do it right the first time, because modifications can only be done on the pilot.
Comment 51 rlk 2004-10-01 20:04:30 UTC
Is there a separate bug open against "palm always overwrites PC", or should I open one?  That's a serious problem in its own right.
Comment 52 Trejkaz Xaoza 2004-10-03 12:36:51 UTC
rik, "palm always overwrites PC" is what _this_ bug is about. :-)
Comment 53 Reinhold Kainhofer 2004-10-03 19:11:46 UTC
*** Bug 90696 has been marked as a duplicate of this bug. ***
Comment 54 Trejkaz Xaoza 2004-10-27 23:53:14 UTC
Okay, I'm on KDE 3.3.1 now, and have KPilot 4.4.5, but the problem doesn't seem to have gone away.

I create a TODO called "test", hit save, hit sync, and the sync finishes but the task doesn't appear on the Palm.  Now what?
Comment 55 Ronny Multrus 2004-11-05 19:16:01 UTC
I can confirm the behavior of post #54. A TODO created in korganizer isn't synced with the Palm, but it works vice versa.
Comment 56 laurent.asorne 2004-11-10 00:15:56 UTC
Referring to comments #9 and #10, I deleted the content of ~/.kde/share/apps/kpilot/conduits/ . Still, I do have to save the calendar in Kontact before syncing. At least, all entries are synchronised the way it should be. I'm using a Palm Tungsten T.
Comment 57 Trejkaz Xaoza 2004-11-10 14:53:06 UTC
Just deleted ~/.kde/share/apps/kpilot/conduits/ and tried again.  An item created on the PC is definitely still not syncing to the Palm.

This is on a T3.  Perhaps this is something particular to this unit?  Either way, it's definitely not fixed.
Comment 58 Marco Laverdière 2004-11-15 01:27:45 UTC
I'm now using 4.4.5 (Augsburg) version with KDE 3.3.1 on a freshly dist-upgraded Debian unstable.

Everything is now working, i.e. events, contacts and tasks created on PC are synced with the handheld, and vice-versa.  The only remaining problems are that:

1.  In order to have tasks created on PC synced, I have to use complete sync option and quit Kpilot and start it again before syncing.
2.  Modifications to tasks on PC will be overwritten by handheld.
Comment 59 Marco Laverdière 2004-11-17 00:52:59 UTC
Well, it seems that there is another problem that I didn't see before my previous post:

If I checked out (or close) a task in Korganizer or on my handheld, it will remain active after sync, either in Korganizer and on my handheld, wether I use fast, normal, complete or even Handheld to PC sync mode.  

I'm using 4.4.5 (Augsburg) kpilot version with KDE 3.3.1 on Debian unstable.
Comment 60 Rudolf Kollien 2004-11-28 17:47:36 UTC
Referencing to #59 i can confirm. 

Initially syncing all tasks are synced. After this neither changes/adds on the Desktop or the PC are synced (or replaced). They are complettly ignored. The tasks aren't shown in the conduits too. So this seems to be not only a problem with korganizer.

BTW: Had anyone success with syncing notes to knotes? I only can see palm notes it in the conduit view. Not in knotes. 
Comment 61 Trejkaz Xaoza 2004-11-28 21:46:27 UTC
The tasks are part of KOrganizer as well, actually.
Comment 62 rlk 2004-12-06 19:36:46 UTC
As of 4.4.5, I observe the following behavior:

1) If a calendar record exists on both the handheld and the PC, the handheld always overrides, even if the only change was on the PC.

2) If a calendar record is deleted on the handheld, it is deleted on the PC, even if the record was changed on the PC.

3) If there is no record on the handheld, the record on the PC is copied to the handheld.

When this bug is root caused, I would be very interested in understanding what it is.  This would seem likely to be a very straightforward logic bug.  However, this bug is also a regression, so I'd be curious what change led to this happening.

Comment 63 Javier Cardona 2004-12-09 04:36:13 UTC
I reproduced the problem on Mandrake 10.1 CE (KDE 3.2.3, Kpilot 4.4.4).
Calendar syncing from PC => pilot only works the first time.

Comment 64 Greg Martyn 2004-12-09 15:41:05 UTC
Just wanted to make a general comment that people should be testing with the 4.4.6 tarballs from http://www.slac.com/pilone/kpilot_home/index.html. Installation from the tarballs is pretty easy.. if anyone has trouble, ask me & I'll try to help you out.
Comment 65 rlk 2004-12-09 16:51:26 UTC
KDE 3.3.2 claims to be kpilot 4.4.6 -- is this the correct version?
Comment 66 rlk 2004-12-09 17:00:24 UTC
With the 4.4.6 version in KDE 3.3.2, I observed the following behavior:

1) Deleting an item on the PC resulted in it getting deleted on the handheld.

2) Changing a record on the PC does not "take"; after syncing, the change is missing on both the PC and the handheld.

I have not had a chance to run more extensive tests.

This is with the SUSE 9.1 update RPM's.
Comment 67 Aurelien Bompard 2004-12-23 23:36:10 UTC
I don't know if it'll help, but when an event is copied and pasted in korganizer, the X-PILOTID stays the same, and the pasted events are not synced to the palm. Maybe this is one of cause for the problems here. Or should I open another bug ?
Comment 68 Reinhold Kainhofer 2005-01-03 19:20:22 UTC
*** Bug 63368 has been marked as a duplicate of this bug. ***
Comment 69 rene B 2005-01-25 15:38:30 UTC
KDE 3.2.3, KPilot 4.4.5 (equals to Mandrake 10.1 + updates)
Palm: Zire 72
Same problem as described by the others: Palm always overwrites PC; PC-entries do not appear in the Palm but are deleted after sync.
First solution: use Save-menu in Kontact. But that's not enough. Sometimes a task created in Kontact shows up in the palm, sometimes not, despite using the Save-menu of Kontact. I cannot determine when a task will show in the Palm, or not.
Comment 70 Marco Laverdière 2005-01-28 01:18:07 UTC
I'm now using Kpilot 4.4.6 version with KDE 3.3.2 on a freshly dist-upgraded Debian unstable. 

After my upgrade from 4.4.5 to 4.4.6, things first appeared to have worsened on the tasks syncing front: sometimes sync were working, and sometimes not.  Then I decided to perform some extensive tests and I finally got some "reproducible" results:

1. Calendar events sync perfectly, i.e. PC to HH & HH to PC;

2. Tasks sync well HH to PC.  For PC to HH, modifications to already existing tasks synced well.  The only problem I observe with PC to HH is that NEW tasks created in Korganizer won't sync UNLESS:
a) "complete sync" has been selected in Kpilot settings AND it is the first sync after kpilot startup; it won't work if it's the 2nd or 21st sync, even if I try to force a complete sync by selecting it in Kpilot menu; 
OR
b) another existing task has been modified (change of task text, category, etc.); it will work whether it's the 1st or 21st sync and wheteher I select complete, fast or normal sync in Kpilot settings.

That's it for now!
Comment 71 Marco Laverdière 2005-01-29 20:59:44 UTC
Well, I have to correct my previous statement that I'm experiencing perfect calendar event sync with Kpilot 4.4.6, KDE 3.3.2 on Debian unstable.  After some more problems and experiencing, I've found that, if complete sync is set in Kpilot options, calendar events will sync PC to HH only at the second sync after Kpilot startup and only if the event has been entered in Korganizer after the first sync.  Weird...

So here's my revised summary: 
 
 1. Calendar events sync perfectly HH to PC;  They also sync perfectly PC to HH in normal or fast sync mode; however for PC to HH in complete sync mode, it will work only at the second sync after Kpilot startup AND ONLY if the event has been entered in Korganizer after the first sync; in that case, the effect of the first sync seems to be "HH to PC copy".
 
 2. Tasks sync well HH to PC.  For PC to HH, modifications to already existing tasks sync well.  The only problem I observe with PC to HH is that NEW tasks created in Korganizer won't sync UNLESS: 
 a) "complete sync" has been selected in Kpilot settings AND it is the first sync after kpilot startup; it won't work if it's the 2nd or 21st sync, even if I try to force a complete sync by selecting it in Kpilot menu; 
 OR 
 b) another existing task has been modified (change of task text, category, etc.); it will work whether it's the 1st or 21st sync and whether I select complete, fast or normal sync in Kpilot settings. 
 
Comment 72 rlk 2005-02-08 16:58:31 UTC
Does 4.4.7 have any changes that might affect this (i. e. is it worth downloading and trying 4.4.7)?
Comment 73 Marco Laverdière 2005-03-26 14:38:05 UTC
With Kpilot 4.5 (baby) & KDE 3.4 on Debian unstable, I would consider this bug resolved.  Everything appears to sync correctly PC to HH and HH to PC.  

There's a new problem however, for which I think it would be appropriate to fill a new bug report, if it hasn't been done yet:  Each time I modify a task or an event on HH and try to sync, kpilot asks me to confirm which of PC or HH it should keep, like if there was a conflict.  To my understanding, a conflict is when a task or an event have been mopdify  on *both* HH and PC, which was not the case in the tests I've performed.
Comment 74 Marco Laverdière 2005-04-05 01:59:07 UTC
Oops, I've finaly found a PC to HH sync problem, with tasks (and probably events...) conduit.  It works fine for me with normal or fast sync, but not with complete sync.  Complete sync makes HH overwrite PC.

I'm still using Kpilot 4.5 (baby) & KDE 3.4 on Debian unstable.
Comment 75 Moritz Maisel 2005-05-12 00:37:46 UTC
I can confirm this bug with KPilot 4.5.0 & KDE 3.4.0 & Palm m500:

Entries in Korganizer are synced to the Palm, but entries in the Palm don't get into Korganizer. Adressbook and Notes sync without problems.

Comment 76 Moritz Maisel 2005-05-12 01:06:44 UTC
I figured out some interesting behaviour: 
When using ical-files in Kontact, I get the behaviour described in comment #75, but when using vcal-files the transfer of calendar entries from palm to Desktop works but not the other way around. With vcal-files syncing of the todo-list also doesn't work (works with ical). It seems like what's not working with ical, does with vcal and vice versa.

I hope I didn't muddle up the different behaviours and conditions ... it's getting late ...
Comment 77 Jason 'vanRijn' Kasper 2005-05-18 20:37:41 UTC
For clarification...

I'm using iCal with korganizer and I don't see these problems.  Can someone please verify what does and does not work with iCal and what does and does not work with vCal?

Thanks.
Comment 78 Moritz Maisel 2005-05-19 00:17:38 UTC
I did another test: 
To make things more clear I removed my old ical-File an created an new one. After the first sync all appointments from the Palm were correctly synced to KOrganizer. Then in korganizer I deleted one appointment and added one. After syncing the changes were correctly transferred to the palm. So far so good ...
At last I added one appointment in the Palm. After the hotsync there was no entry transferred to korganizer and the new entry in the Palm was missing.

A todo item generated in korganizer is synced to the palm. I changed the item to "completed" and on the next hotsync kpilot annonces a conflict of this todo-item being changed in palm and desktop (on desktop it wasn't changed after the sync) and I get asked which one to use. Todo-entries created on the palm, synced and then changed in korganizer is correctly synced back to the palm containing all changes made on the desktop. Changing this entry again, but on the palm and then sycing, I get kpilots conflict-window about a change on both sides again.

I don't have the time to repeat this with vcal right now, but I'll try to check it the next days.

KPilot 4.5.0 (baby)
pilot-link 0.11.8
KDE 3.4.0
Palm m500
Debian (unstable)
Comment 79 szwoel 2005-06-17 13:21:48 UTC
Hi!

I have experienced the same Problem with Kpilot 4.5.0 and Kontact and that's
mostly the way: 
o add/remove/change an event in Kontact/Korganizer
o start KPilot
o do a sync
=> sync mostly fails. The change isn't recognized

But when I stop Kontact and perform the sync with KPilot eveything works 
fine.

Would that help?
Comment 80 Jason 'vanRijn' Kasper 2005-06-18 05:56:24 UTC
re comment #79....

I'm not sure if you're seeing the same thing here.  Are you pressing save in korganizer/kontact before you sync?  If not, then there's your problem.
Comment 81 BETTLER Emmanuel 2005-06-23 10:30:57 UTC
I've Fedora Core 4 with KPilot 4.5.2, pilot-link-0.12.0-0.pre3.0 and KDE 3.4.1. My palm is a SONY Clie PEG-SJ22/E. Everything was working well with FC3. I've deleted my previous installation and installed a fresh FC4. Previously i'd saved my calendar, adressbook, mail etc... I've imported everything without problems. After some problem to synchronise with kpilot, i've realised that data from PC are not sync to the palm (calendar because address crash kpilot see Bug 107982).
in summary: 
Add a new entry in calendar in the PC -> nothing sync to the palm (even after saving in kontact or korganiser)
Add a new entry in the palm -> sync perfectly to the PC
Delete this entry without saving -> nothing happend to the palm
Delete this entry and saving -> entry is deleted to the palm
but previous data in my calendar are still missing in the palm
Comment 82 Marco Laverdière 2005-07-13 13:10:32 UTC
After one week of various testings, verything work well with Kpilot 4.5.2, KDE 3.4.1 on Debian unstable.  So far, I would consider this bug solved.
Comment 83 Jason 'vanRijn' Kasper 2005-07-13 13:49:22 UTC
re comment  #82....

Marco, are you using ical or vcal for your calendar file format?
Comment 84 Marco Laverdière 2005-07-14 02:35:23 UTC
Well, I don't know exactly...  I have Kpilot syncing with a Korganizer calendar using the default settings, i.e. saving in a file named std.ics in .../.kde/share/apps/korganizer
Comment 85 Jason 'vanRijn' Kasper 2005-07-14 02:42:52 UTC
Ahh, okay.  You're using ical then.  From what I gathered from this bug report, the problem has something screwy to do with when vcal is used.  I also use ical and can't reproduce these problems.  Thanks for the reply.  =:)
Comment 86 Sascha Junghans 2005-10-11 16:37:12 UTC
Hello,
I found a reason for similar behaviour: If I copy a Date in Korganizer, it is not synced to the Palm. Looking in the ics-File shows, that the konduit seams to enter two lines:
X-PILOTID:15431162
X-PILOTSTAT:0
These lines are copied together with the event and I assume, that this leads to the problem: In the ics-File are several events with the same X-PILOTID and one of them was allready synced and not touched again and so needs not to be synced again. When I remove these lines, its well synced.

I don't know, how this should be solved best. Should korganizer remove additional lines? I don't think so, because other X-Lines could be useful to copy. (I don't know any but could imagine) So the conduit would have to check double-X-PILOTIDs and do something with them. Any ideas?
Comment 87 R.F. Pels 2005-10-11 21:34:27 UTC
ISTM that both of them should not be copied.
Comment 88 groot 2005-10-11 21:50:36 UTC
On Tuesday 11 October 2005 16:37, Sascha Junghans wrote:
> I found a reason for similar behaviour: If I copy a Date in Korganizer, it
> is not synced to the Palm. Looking in the ics-File shows, that the konduit
> seams to enter two lines: X-PILOTID:15431162
> X-PILOTSTAT:0
> These lines are copied together with the event and I assume, that this
> leads to the problem.


Yes, that's a pretty fundamental problem. The X-PILOTID means 'this event with 
this UID belongs to this Pilot record UID', so if that field is copied then 
that breaks the whole notion of mapping events from KOrganizer to Pilot 
records. On the other hand, the whole conduit is just totally broken -- this 
information doesn't _belong_ in the event / korganizer data structure, it 
belongs in a database maintained by kpilot on its own.

So, um, .. thank you for spotting the problem, but fixing it trivially in 
KOrganizer is just a stopgap; fixing it properly in KPilot is a big job 
(there's a work branch for that).
Comment 89 Jason 'vanRijn' Kasper 2005-10-12 03:22:52 UTC
Wait a second....  I fixed something very similar to this recently.....   Ahh yes, it's bug #83782.  

Hmmmm.  Ugly.  Same exact problem, but this one was with addresses.  I suggest that the same solution be used to solve this for korganizer, but as Adriaan says, this should be something that kpilot tracks internally without relying on korganizer to do the right thing.
Comment 90 Rudolf Kollien 2005-10-12 10:00:16 UTC
See Bug #113612.

If the "copy bug" is discussed/solved in this ((86879)) thread, then the 113612 can be closed as "duplicate"?
Comment 91 groot 2005-10-12 10:42:53 UTC
*** Bug 113612 has been marked as a duplicate of this bug. ***
Comment 92 nola mike 2006-10-09 01:34:30 UTC
has there been any progress on this bug?
Comment 93 Marco Laverdière 2006-10-09 11:29:42 UTC
When I submitted comment #82 above (more than 1 year ago), this bug could be considered solved from my perspective.  But now, I can't provide you with any confirmation, considering that the following bug makes testing impossible for me:

http://bugs.kde.org/show_bug.cgi?id=129095

https://launchpad.net/distros/ubuntu/+source/kdepim/+bug/27077
Comment 94 nola mike 2006-10-13 17:46:34 UTC
for me at least, ubuntu dapper/palm tx, the issue appears to be what was posted in #16 above--messed up X-PILOTID and X-PILOTSTAT fields in the local ical file.  2 semi-workarounds are to edit the ical file, changing the stat to "1" and setting a random value for the id--though i'm afraid the id will bite me in the ass at some point.  #2 is to simply delete the DatebookDB file under /home/yourname/.kde/share/apps/kpilot/conduits/yourname/ directory. it'll reappear on next sync with everything from your kaddressbook ical file. still not ideal though.
Comment 95 DEnnis Meulensteen 2007-01-30 12:00:54 UTC
I'm on suse 10.2 and none of the above works for me. 
Comment 96 rlk 2007-01-30 13:58:53 UTC
With SUSE 10.2, I found that upgrading to KDE 3.5.6 (from the download.opensuse.org repository) solved my problem.  The exact sequence I followed:

1) Upgrade the RPM's and restart.

2) Save a copy of my .ics file!!!

3) Edit the ICS file, changing all X-PILOTID's to 0 and X-PILOTSTAT to 1.

4) Do a Copy PC to Handheld sync.
Comment 97 kermit69 2007-02-11 14:22:55 UTC
On SuSe 10.2 I had the same problem; upgrading to KDE 3.5.6 and doing a full sync solved it without further measures, i.e. editing the ICS file was not necessary.
Comment 98 Jason 'vanRijn' Kasper 2007-03-20 04:16:22 UTC
re, all.

This bug has been open for 2 and a half years.  I believe that our latest release with KDE 3.5.6 has fixed these issues.  If anyone on this bug still is experiencing problems in syncing between kpilot and korganizer *** and you are running the most current release of KDE/kpilot ***, please open a new bug (or find one that's already existing) with all information you can provide so we can fix the problem.  I'm closing this one for mental health reasons (in addition to believing that we've fixed the original problem, at the very least, and several people confirming that this has been fixed).

Thanks, all!!