I'm new to the list, so first please accept my gratitude to all of you for 
developing barry.   Your 
progress despite the lack of support from RIM astounds me.  Thank you.

So far I've only used two versions from the CVS.  The first was pulled on 07-19 
and the next was 
on 08-09.  I'm using barry, opensync 0.22 and KDE together (kubuntu).  With the 
first version all 
contacts appeared to successfully transfer from the 8330 to kde-pim properly 
and showed up in 
my address book perfectly.  Unfortunately all the entries in my KDE address 
book would get 
transferred to the 8330 causing duplicate entries each time I synced.  But I 
suspect that was a 
problem with opensync.

After trying the latest CVS snapshot of barry, I ran into a strange bug.  It 
seems that after 
transferring the calender events successfully, barry crashes on transferring 
the first contact entry.  
Initially I noticed the broken pipe error about where opensync finished 
calender events:

"Member 2 of type barry-sync had an error while getting changes: Broken Pipe"

Turning on DebugMode in the barry-sync.conf file provided more information 
around the crash point:
(member 1 is barry-sync while member 2 is kde-pim)

(...)
SocketZero::RawReceive: Endpoint 135
Received:
    00000000: 00 00 0c 00 13 06 01 00 26 00 00 00              ........&...

Received an entry calendar-1734966735 with data of size 4 from member 2. 
Changetype ADDED
SocketZero::RawReceive: Endpoint 135
Received:
    00000000: 06 00 46 00 40 01 44 00 1d 00 e5 84 69 67 01 09  [EMAIL PROTECTED]
    00000010: 00 20 41 2e 20 41 6c 70 68 61 00 0a 00 21 41 6c  . A. Alpha...!Al
    00000020: 70 68 61 20 43 6f 2e 00 0f 00 01 61 6c 70 68 61  pha Co.....alpha
    00000030: 40 66 69 72 73 74 2e 63 61 00 09 00 06 35 35 35  @first.ca....555
    00000040: 2d 35 35 35 35 00                                         -5555.

Received an entry calendar-1734966705 with data of size 4 from member 2. 
Changetype ADDED
Received an entry calendar-1734966871 with data of size 4 from member 2. 
Changetype ADDED
Received an entry calendar-1734966821 with data of size 4 from member 2. 
Changetype ADDED
Member 2 of type barry-sync had an error while getting changes: Broken Pipe
Received an entry 01VCvva2Bm with data of size 4 from member 1. Changetype ADDED
Received an entry 0imVIz8Dx1 with data of size 4 from member 1. Changetype ADDED
Received an entry 1AXtSb2UBO with data of size 4 from member 1. Changetype ADDED
(...)

It seems to me like barry-sync thinks it's still receiving calendar entries.  
Is that correct?  The log 
files produced from opensync (OSYNC_TRACE) seem to contradict this:

(...)

[1218396867.402865]                                                     
barry_sync: GetChanges: slow sync request detected, clearing cache and id map
[1218396867.419609]                                                     
barry_sync: found an ADDED change
[1218396867.423285]                                                     >>>>>>> 
 osync_change_new()
[1218396867.423334]                                                     <<<<<<< 
 osync_change_new: 0x8067e00
[1218396867.423421]                                                     >>>>>>> 
 osync_change_set_objformat_string(0x8067e00, vcard30)
[1218396867.423452]                                                     <<<<<<< 
 osync_change_set_objformat_string
[1218396867.423482]                                                     
barry_sync: change record ID: contacts-1734968549
[1218396867.423510]                                                     >>>>>>> 
 barry_sync: VCardConverter::GetRecordData()
[1218396867.436549]                                                             
>>>>>>>  barry_sync: VCardConverter::operator()
[1218396867.436628]                                                             
        >>>>>>>  barry_sync: vCard::ToVCard
[1218396867.436687]                                                             
                barry_sync: ToVCard, initial Barry record: Contact: 0x40092020 
(20)
    FirstName           : A. Alpha
    LastName            :
    Email               : [EMAIL PROTECTED]
    WorkPhone           : 555-5555
    Company             : Alpha Co.

(EOF)

It seems barry_sync here knows it's a VCard, but perhaps opensync is not 
getting the message?

Can you please suggest how I can further debug this problem, or at least point 
me to where to start in the 
source code?  I'm not a programmer but I can muddle my way through C, am 
slightly familiar with 
writing device drivers, and have been using linux for many years now.   I'd 
like to help in any way I can.

Thank you again,

- Paul Moir

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to