Moin Stewart, thanks for the answer. (Am I the only one noticing a 4h delay between sending mails to the mailing list and seeing them there?)
On Nov 04, 04 10:34:19 +1100, Stewart Heitmann wrote: > Hi Stephen, > I wrote that code and yes the UID string should be NULL > at that point because you are adding a new entry to the KDE > addressbook and new entries dont have UIDs yet. I don't know anything about the KDE Addressbook, so debugging is hard for me. I played a little bit with kaddrbook.cpp and added li= addressbookptr->allAddressees(); in line 386, the 'case SYNC_OBJ_ADDED'-branch in modify_list() Although I saw a lot of "kdepim_plugin: KDE ADDRESSBOOK ENTRY ADDED (UID=%s)\n" outputs, the number of nodes in li mentioned above was always 0 before addressbookptr->insertAddressee(addressee); and 1 afterwards. I expected the number to rise while adding new entries. And I think that branch is only reached if really new entries are found, isn't it? If "UID string should be NULL" than I don't understand why "modify_result->returnuid = g_strdup(addressee.uid().latin1());" is present (about line 395 in that file, I added a little bit of output, so it might be earlier), since that value was always '0', but I didn't look too deep into the surrunding code. I thought that after addressbookptr->insertAddressee(addressee); the addressee should have an UID? Please correct me if I'm wrong. > I cant imagine what might be going wrong for you, except > that either you ~/.multisync directory is corrupted, or perhaps > the timestamps on your various devices are out of sync. Well, I removed the plugin, I removed the .multisync-directory and in both cases I had the same experiences :( > > Incidentally, I just ran a quick and dirty test on KDE 3.3 > and found that the kde plugin crashes on its first startup, > which is not good. > > $ multisync > ** (multisync:1552): CRITICAL **: file bonobo-activation-activate.c: line 276 > (bonobo_activation_query): assertion `ac != NULL' failed > KCrash: Application 'multisync[kde_plugin]' crashing... Strange, it survived the first start of the plugin here with my test-cases, but _never_ the second start. I'm not sure if that's a local problem, too, but will try to investigate more. [...] > As is almost always the case when kdepim craches, removing the > ~/.multisync directory fixes the problem, and I could then sync > KDE addressbook with the backup plugin ok. I didn't test any other > plugins. Ok, I didn't test the backup-plugin. Will do so. > > I have to investigate these problems further, but at the moment I > am in the middle of exams so its going to have to wait a while. > I am planning to put some more work into the kde plugin sometime > around Christmas. Ok, good luck to you for the exams. I'll try to dig into the problem here on my side, but since I've really no knowledge about Addressbook it's not so easy. > > In the meantime you might wish to verify that you can sync KDE to > a simple plugin like the backup plugin first. > If you find that is ok, then move up to the Evo plugin. > There can be subtle interplays between EVO and KDE plugins that > confound debugging efforts. Yes, but since it's not working with the irmc-bluetooth-plugin and mobile phone, I can't blame evo2 :) But I will try the backup-plugin. ciao, Stefan > -- > Stewart > > > On Thu, 4 Nov 2004 01:51 am, Stefan Behlert wrote: > > Hi folks, > > > > has anyone tested the kdepim-plugin with KDE 3.3.0 Adressbook 3.3? > > I've the Problem, that only the last entry of my mobile phone's (T610) > > phonebook is written to the KDE addressbook when I try to sync between > > mobile phone and an empty addressbook. Same happens for evolution2 <-> KDE, > > while mobile phone <-> evo2 works as expected. > > I noticed that in kaddrbook.cpp:390 the UID is still (null), which was > > quite unexpected. > > Can someone with an older KDE confirm, that > > kdepim_plugin: KDE ADDRESSBOOK ENTRY ADDED (UID=%s)\n > > should have a valid UID when multisync is started with exported > > MULTISYNC_DEBUG=1 ? > > > > ciao, > > Stefan > -- Stefan Behlert ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Multisync-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/multisync-devel