|
From: deloptes <del...@ya...> - 2011-01-13 23:05:19
|
Q1: what is this option good for?
<AdvancedOptions>
<AdvancedOption>
<DisplayName>Filter Categories</DisplayName>
<MaxOccurs>4294967295</MaxOccurs>
<Max>4294967295</Max>
<Name>FilterCategory</Name>
<Type>string</Type>
<Value></Value>
</AdvancedOption>
</AdvancedOptions>
Q2: This is not working, but I will try to find time next week to test
building on squeeze with trinity. If I get the same error I'll open a
ticket
osynctool --discover test-file
/opt/software/opensync/libopensync/opensync/capabilities/opensync_capabilities.c:277:E:osync_capabilities_set_format:
Assertion "capsformat" failed
Aborted
regards
|
|
From: Chris F. <cd...@fo...> - 2011-01-14 19:23:21
|
On Fri, Jan 14, 2011 at 12:00:12AM +0100, deloptes wrote: > Q1: what is this option good for? > > <AdvancedOptions> > <AdvancedOption> > <DisplayName>Filter Categories</DisplayName> > <MaxOccurs>4294967295</MaxOccurs> > <Max>4294967295</Max> > <Name>FilterCategory</Name> > <Type>string</Type> > <Value></Value> > </AdvancedOption> > </AdvancedOptions> You can grep the code for "FilterCategory" and follow the trail. Looks like it is used to limit what categories of data are synced. Some handheld devices can sort their contacts and events into subcategories. - Chris |
|
From: deloptes <del...@ya...> - 2011-01-16 18:45:22
|
Chris Frey wrote: > You can grep the code for "FilterCategory" and follow the trail. > Looks like it is used to limit what categories of data are synced. > Some handheld devices can sort their contacts and events into > subcategories. does it have to be filled out? I am looking forward to test it as in the next few days. I had this error when working on the akonadi plugin but I don't remember what it was related to. regards |
|
From: Chris F. <cd...@fo...> - 2011-01-16 19:11:55
|
On Sun, Jan 16, 2011 at 07:44:16PM +0100, deloptes wrote: > Chris Frey wrote: > > > You can grep the code for "FilterCategory" and follow the trail. > > Looks like it is used to limit what categories of data are synced. > > Some handheld devices can sort their contacts and events into > > subcategories. > > does it have to be filled out? When I looked at the code briefly the other day, it seemed to take this configuration and load it into a list, and then it would check the list periodically during the sync. I think there was a function, "hasCategory()" or something in the process. Grep through the code, and I'm sure you'll find it, starting with "FilterCategory" and proceeding backward. I'm assuming "hasCategory()" is where the answer will be (I'm not sure of the spelling/capitalizaion of the function anymore). - Chris |
|
From: deloptes <del...@ya...> - 2011-01-16 22:00:28
|
Chris Frey wrote: > Grep through the code, and I'm sure you'll find it, starting with > "FilterCategory" and proceeding backward. I'm assuming "hasCategory()" > is where the answer will be (I'm not sure of the spelling/capitalizaion > of the function anymore). This is my intention as I don't think I'll switch that fast to kde4. regards |
|
From: deloptes <del...@ya...> - 2011-01-23 22:29:12
|
Chris Frey wrote: > > When I looked at the code briefly the other day, it seemed to take this > configuration and load it into a list, and then it would check the > list periodically during the sync. I think there was a function, > "hasCategory()" or something in the process. > > Grep through the code, and I'm sure you'll find it, starting with > "FilterCategory" and proceeding backward. I'm assuming "hasCategory()" > is where the answer will be (I'm not sure of the spelling/capitalizaion > of the function anymore). > > - Chris > I could compile and install kdepim-sync in trinity. After configuring and compiling everything, I could track this down and found out it checks == 0 if the field is empty, so I used no value. The capabilities issue, I fixed by removing the kdepim-sync-capabilities.xml file and related kdepim-sync-description.xml. I'm wondering why it is getting assertion error when the files are present. Now I could even sync kdepim with the nokia phone. But it does not merge any changes. It just suggests to add/delete, so I removed everything from the kde address book and synced. There were too many duplicates, how could this happen, were those on the phone? The phone reports 887 changes I deleted most of them and synced but it suggested to add/delete 469 entries, so I answered 'N'. A bit strange all of this. Looking into the new created file I could see most of the entries were with ID 1-900 but there were also such with KDE ids. Let me know if you have some confident way to test/sync regards |
|
From: Emanoil K. <del...@ya...> - 2011-01-24 22:58:36
|
--- On Sun, 1/23/11, deloptes <del...@ya...> wrote:
> >
> > When I looked at the code briefly the other day, it
> seemed to take this
> > configuration and load it into a list, and then it
> would check the
> > list periodically during the sync. I think there
> was a function,
> > "hasCategory()" or something in the process.
> >
> > Grep through the code, and I'm sure you'll find it,
> starting with
> > "FilterCategory" and proceeding backward. I'm
> assuming "hasCategory()"
> > is where the answer will be (I'm not sure of the
> spelling/capitalizaion
> > of the function anymore).
> >
> > - Chris
> >
>
> I could compile and install kdepim-sync in trinity. After
> configuring and
> compiling everything, I could track this down and found out
> it checks == 0
> if the field is empty, so I used no value.
>
> The capabilities issue, I fixed by removing the
> kdepim-sync-capabilities.xml
> file and related kdepim-sync-description.xml. I'm wondering
> why it is
> getting assertion error when the files are present.
>
> Now I could even sync kdepim with the nokia phone. But it
> does not merge any
> changes. It just suggests to add/delete, so I removed
> everything from the
> kde address book and synced. There were too many
> duplicates, how could this
> happen, were those on the phone?
> The phone reports 887 changes
> I deleted most of them and synced but it suggested to
> add/delete 469
> entries, so I answered 'N'.
>
> A bit strange all of this.
>
> Looking into the new created file I could see most of the
> entries were with
> ID 1-900 but there were also such with KDE ids.
>
I could sync from the phone with the file-sync plugin, so I got all the contacts into directory.
The kdepim plugin had some issues, but I managed it to sync too. Unfortunately there are still problems with it.
There is also an issue with the syncml plugin and writing to the device.
[1295907649.204312] >>>>>>> ds_server_committed_all
[1295907649.205327] ERROR: Unknown changetype
[1295907649.205430] <--- ERROR --- ds_server_committed_all: Unknown changetype
[1295907649.205478] report_error_on_context: report error on osync_context 0x1d28ff0 (Unknown changetype).
[1295907649.205519] >>>>>>> osync_context_report_osyncerror(0x1d28ff0, 0x1b23ee0:(Unknown changetype))
[1295907649.205557] >>>>>>> _osync_client_committed_all_callback(0x1af52c0, 0x1b23ee0)
[1295907649.205601] Reply id -7305116670360890008
[1295907649.205641] >>>>>>> osync_queue_send_message_with_timeout(0x1930f40, (nil), 0x1cd2600, 0, 0x7fd46dee8a78)
[1295907649.205680] >>>>>>> _osync_queue_remove_pending_reply(0x18b9c90, 0x1cd2600, 0)
[1295907649.205717] Searching for pending message id=-7305116670360890008
[1295907649.205753] Found pending message id=-7305116670360890008: 0x1b20fc0
[1295907649.205790] <<<<<<< _osync_queue_remove_pending_reply
[1295907649.205839] <<<<<<< osync_queue_send_message_with_timeout
[1295907649.205878] <<<<<<< _osync_client_committed_all_callback
[1295907649.205918] <<<<<<< osync_context_report_osyncerror
[1295907649.205956] <<<<<<< osync_objtype_sink_committed_all
If you have any ideas you'r welcome
regards
|
|
From: Quentin D. <que...@gm...> - 2011-01-24 23:02:51
|
I can confirm this bug, it's exactly the one I have been referring to for months. Help and ideas are welcome! On Mon, Jan 24, 2011 at 11:58 PM, Emanoil Kotsev <del...@ya...> wrote: > > > > > --- On Sun, 1/23/11, deloptes <del...@ya...> wrote: > >> > >> > When I looked at the code briefly the other day, it >> seemed to take this >> > configuration and load it into a list, and then it >> would check the >> > list periodically during the sync. I think there >> was a function, >> > "hasCategory()" or something in the process. >> > >> > Grep through the code, and I'm sure you'll find it, >> starting with >> > "FilterCategory" and proceeding backward. I'm >> assuming "hasCategory()" >> > is where the answer will be (I'm not sure of the >> spelling/capitalizaion >> > of the function anymore). >> > >> > - Chris >> > >> >> I could compile and install kdepim-sync in trinity. After >> configuring and >> compiling everything, I could track this down and found out >> it checks == 0 >> if the field is empty, so I used no value. >> >> The capabilities issue, I fixed by removing the >> kdepim-sync-capabilities.xml >> file and related kdepim-sync-description.xml. I'm wondering >> why it is >> getting assertion error when the files are present. >> >> Now I could even sync kdepim with the nokia phone. But it >> does not merge any >> changes. It just suggests to add/delete, so I removed >> everything from the >> kde address book and synced. There were too many >> duplicates, how could this >> happen, were those on the phone? >> The phone reports 887 changes >> I deleted most of them and synced but it suggested to >> add/delete 469 >> entries, so I answered 'N'. >> >> A bit strange all of this. >> >> Looking into the new created file I could see most of the >> entries were with >> ID 1-900 but there were also such with KDE ids. >> > > I could sync from the phone with the file-sync plugin, so I got all the contacts into directory. > The kdepim plugin had some issues, but I managed it to sync too. Unfortunately there are still problems with it. > > There is also an issue with the syncml plugin and writing to the device. > > [1295907649.204312] >>>>>>> ds_server_committed_all > [1295907649.205327] ERROR: Unknown changetype > [1295907649.205430] <--- ERROR --- ds_server_committed_all: Unknown changetype > [1295907649.205478] report_error_on_context: report error on osync_context 0x1d28ff0 (Unknown changetype). > [1295907649.205519] >>>>>>> osync_context_report_osyncerror(0x1d28ff0, 0x1b23ee0:(Unknown changetype)) > [1295907649.205557] >>>>>>> _osync_client_committed_all_callback(0x1af52c0, 0x1b23ee0) > [1295907649.205601] Reply id -7305116670360890008 > [1295907649.205641] >>>>>>> osync_queue_send_message_with_timeout(0x1930f40, (nil), 0x1cd2600, 0, 0x7fd46dee8a78) > [1295907649.205680] >>>>>>> _osync_queue_remove_pending_reply(0x18b9c90, 0x1cd2600, 0) > [1295907649.205717] Searching for pending message id=-7305116670360890008 > [1295907649.205753] Found pending message id=-7305116670360890008: 0x1b20fc0 > [1295907649.205790] <<<<<<< _osync_queue_remove_pending_reply > [1295907649.205839] <<<<<<< osync_queue_send_message_with_timeout > [1295907649.205878] <<<<<<< _osync_client_committed_all_callback > [1295907649.205918] <<<<<<< osync_context_report_osyncerror > [1295907649.205956] <<<<<<< osync_objtype_sink_committed_all > > If you have any ideas you'r welcome > > regards > > > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Opensync-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensync-devel > |
|
From: Emanoil K. <del...@ya...> - 2011-01-24 23:45:16
|
--- On Tue, 1/25/11, Quentin Denis <que...@gm...> wrote:
> I can confirm this bug, it's exactly
> the one I have been referring to
> for months. Help and ideas are welcome!
>
might be better debugging and patience
I finally have an environment where I can work, because previously I was using a dev server with kde4 for akonadi, which turned out to be of no interest to me (probably to the comunity) ATM. I'll wait a bit longer for kde4.
I installed trinity on squeeze and everything I need seem to be finally working. The pitty thing is that kdevelop is not that nice as the one in kde4.
In any case I think I have cached up with you now as I was ready to sync my phone, but I'll probably need some more time to look into all the mess. At least my work involves reading log files and debugging errors, so I'm not afraid of this, but it's not my favorite time killer.
For now it seems to be safe to test with file-sync and syncml
It seems kdepim and syncml have some issues for itself, so I think it's higher priority to debug syncml next.
regards
regards
|