Menu

#18 Error retrieving contact entries

open-postponed
nobody
None
5
2009-09-18
2008-04-19
No

While syncing Blackberry with Evolution using libopensync plugin an error occured saying: "unexpected command of 0x41 instead of expected 0x40"

I'm using Blackberry Pearl 8100, OS v4.2.1.101 (Platform 2.3.8.4.34)

There is not problem to retrieve contacts using `btool`.

Here is an output of `msynctool` command:

msynctool --sync Blackberry-Evolution
Synchronizing group "Blackberry-Evolution"
The previous synchronization was unclean. Slow-syncing
Member 1 of type evo2-sync just connected
Member 2 of type barry-sync just connected
All clients connected or error
Member 1 of type evo2-sync just sent all changes
Received an entry calendar-1021342539 with data of size 4 from member 2 (barry-sync). Changetype ADDED
Received an entry calendar-1021350559 with data of size 4 from member 2 (barry-sync). Changetype ADDED
Received an entry calendar-1277856316 with data of size 4 from member 2 (barry-sync). Changetype ADDED
Received an entry calendar-1021340558 with data of size 4 from member 2 (barry-sync). Changetype ADDED
Received an entry calendar-952232601 with data of size 4 from member 2 (barry-sync). Changetype ADDED
Received an entry calendar-1277856449 with data of size 4 from member 2 (barry-sync). Changetype ADDED
Received an entry calendar-1277856469 with data of size 4 from member 2 (barry-sync). Changetype ADDED
Received an entry calendar-1277856465 with data of size 4 from member 2 (barry-sync). Changetype ADDED
Received an entry calendar-1277856473 with data of size 4 from member 2 (barry-sync). Changetype ADDED
Received an entry calendar-1021334496 with data of size 4 from member 2 (barry-sync). Changetype ADDED
Received an entry calendar-1277856429 with data of size 4 from member 2 (barry-sync). Changetype ADDED
Received an entry calendar-1277856433 with data of size 4 from member 2 (barry-sync). Changetype ADDED
Received an entry calendar-1021346655 with data of size 4 from member 2 (barry-sync). Changetype ADDED
Received an entry calendar-1277856437 with data of size 4 from member 2 (barry-sync). Changetype ADDED
Received an entry calendar-1277856481 with data of size 4 from member 2 (barry-sync). Changetype ADDED
Received an entry calendar-1021329377 with data of size 4 from member 2 (barry-sync). Changetype ADDED
Received an entry calendar-1021330147 with data of size 4 from member 2 (barry-sync). Changetype ADDED
Received an entry calendar-1277856453 with data of size 4 from member 2 (barry-sync). Changetype ADDED
Received an entry calendar-1277856457 with data of size 4 from member 2 (barry-sync). Changetype ADDED
Received an entry calendar-1021329231 with data of size 4 from member 2 (barry-sync). Changetype ADDED
Received an entry calendar-1021350547 with data of size 4 from member 2 (barry-sync). Changetype ADDED
Received an entry calendar-1277856425 with data of size 4 from member 2 (barry-sync). Changetype ADDED
Received an entry calendar-1277856355 with data of size 4 from member 2 (barry-sync). Changetype ADDED
Received an entry calendar-1277856421 with data of size 4 from member 2 (barry-sync). Changetype ADDED
Received an entry calendar-1021346666 with data of size 4 from member 2 (barry-sync). Changetype ADDED
Received an entry calendar-1277856441 with data of size 4 from member 2 (barry-sync). Changetype ADDED
Received an entry calendar-1277856477 with data of size 4 from member 2 (barry-sync). Changetype ADDED
Received an entry calendar-1021342478 with data of size 4 from member 2 (barry-sync). Changetype ADDED
Received an entry calendar-1277856445 with data of size 4 from member 2 (barry-sync). Changetype ADDED
Received an entry calendar-1021346550 with data of size 4 from member 2 (barry-sync). Changetype ADDED
Received an entry calendar-1021329494 with data of size 4 from member 2 (barry-sync). Changetype ADDED
Received an entry calendar-1277856348 with data of size 4 from member 2 (barry-sync). Changetype ADDED
Received an entry calendar-1021340313 with data of size 4 from member 2 (barry-sync). Changetype ADDED
Received an entry calendar-1021334212 with data of size 4 from member 2 (barry-sync). Changetype ADDED
Received an entry calendar-1021350543 with data of size 4 from member 2 (barry-sync). Changetype ADDED
Received an entry calendar-1021330300 with data of size 4 from member 2 (barry-sync). Changetype ADDED
Received an entry calendar-1277856417 with data of size 4 from member 2 (barry-sync). Changetype ADDED
Received an entry calendar-1277856461 with data of size 4 from member 2 (barry-sync). Changetype ADDED
Received an entry calendar-1021341435 with data of size 4 from member 2 (barry-sync). Changetype ADDED
Received an entry calendar-1021334356 with data of size 4 from member 2 (barry-sync). Changetype ADDED
Received an entry calendar-1277855267 with data of size 4 from member 2 (barry-sync). Changetype ADDED
Received an entry contacts-4294966828 with data of size 4 from member 2 (barry-sync). Changetype ADDED
Sent packet:
00000000: 08 00 0b 00 40 01 46 39 00 54 00 ....@.F9.T.

Response packet:
00000000: 08 00 07 00 41 00 02 ....A..

Controller: unexpected command of 0x41 instead of expected 0x40
Member 2 of type barry-sync had an error while getting changes: Controller: unexpected command of 0x41 instead of expected 0x40
Member 2 of type barry-sync just disconnected
Member 1 of type evo2-sync just disconnected
All clients have disconnected
The sync failed: Unable to read from one of the members
Error while synchronizing: Unable to read from one of the members

Discussion

  • Net Direct Inc.

    Net Direct Inc. - 2008-05-10

    Logged In: YES
    user_id=1388245
    Originator: NO

    Hi,

    I'm still trying to get my hands on a 8100 or 8120 to give it some thorough testing. There seems to be a number of glitches that people are reporting with these devices.

    Can you use btool to download calendar data successfully? Try:

    btool -d "Calendar"

    If that fails, replug the device, and then run:

    btool -vd "Calendar"

    And send me the output. You can email it privately to cdfrey@foursquare.net if you prefer. Just add a note here that you did, to make sure I don't miss it.

    Thanks,
    - Chris

     
  • Net Direct Inc.

    Net Direct Inc. - 2008-08-07
    • status: open --> closed
     
  • Net Direct Inc.

    Net Direct Inc. - 2008-08-07

    Logged In: YES
    user_id=1388245
    Originator: NO

    I've tried syncing with an 8120 using the latest CVS, and it works. I did make some changes to handle records that were missing FN fields, but this doesn't appear to be your problem.

    There has been no response to this bug, and it works for me on the 8120, so I'll close it for now. If you have new output to post from the btool commands I suggested before, please feel free to reopen the bug.

    Thanks,
    - Chris

     
  • Jaroslaw Lewandowski

    I still experience problems while syncing using libopensync plugin. This time I have the same error while retrieving address book records:

    ===============================
    Synchronizing group "BB-Evolution"
    Member 1 of type evo2-sync just connected
    Member 2 of type barry-sync just connected
    All clients connected or error
    Received an entry 20081227T215750Z-11415-1000-1-34@jotel-laptop with data of size 4 from member 1 (evo2-sync). Changetype ADDED
    Received an entry 20081227T215507Z-11415-1000-1-16@jotel-laptop with data of size 4 from member 1 (evo2-sync). Changetype ADDED
    Member 1 of type evo2-sync just sent all changes
    Received an entry calendar-1999004732 with data of size 4 from member 2 (barry-sync). Changetype ADDED
    Received an entry calendar-20081227 with data of size 4 from member 2 (barry-sync). Changetype ADDED
    Received an entry contacts-4294966745 with data of size 4 from member 2 (barry-sync). Changetype ADDED
    Received an entry contacts-4294966737 with data of size 4 from member 2 (barry-sync). Changetype ADDED
    Received an entry contacts-674868515 with data of size 4 from member 2 (barry-sync). Changetype ADDED
    Sent packet:
    00000000: 04 00 0b 00 40 01 46 14 00 08 00 ....@.F....

    Response packet:
    00000000: 04 00 07 00 41 00 02 ....A..

    Desktop: unexpected command of 0x41 instead of expected 0x40
    Member 2 of type barry-sync had an error while getting changes: Desktop: unexpected command of 0x41 instead of expected 0x40
    Member 1 of type evo2-sync just disconnected
    Member 2 of type barry-sync just disconnected
    All clients have disconnected
    The sync failed: Unable to read from one of the members
    Error while synchronizing: Unable to read from one of the members
    ===============================

    So I tried to run command:

    btool -d 'Address Book'

    Everything worked fine. So next test wos running btool with -r pointing to the last record seen in syncing log and this time the same error occured:

    ==========================
    Blackberry devices found:
    Device ID: 0x84561d8. PIN: XXXXXXXX, Description: RIM 8100 Series Colour GPRS Handheld
    Using device (PIN): XXXXXXXX
    Sent packet:
    00000000: 04 00 0b 00 40 01 46 14 00 04 00 ....@.F....

    Response packet:
    00000000: 04 00 07 00 41 00 02 ....A..

    Desktop: unexpected command of 0x41 instead of expected 0x40
    Store counted 0 records.
    Barry::Error caught: Desktop: unexpected command of 0x41 instead of expected 0x40
    ==================

    I'll send you privatelly an output from this command:

    btool -d "Address Book" -r 4

     
  • Jaroslaw Lewandowski

    • status: closed --> open
     
  • Net Direct Inc.

    Net Direct Inc. - 2009-09-03

    Sorry for the delay in follow up. I haven't seen this bug in my own testing.

    Are you able to try with the latest 0.15 version of Barry? Nicolas did some work with the Storm, and perhaps these changes will help with your device as well.

    Thanks,
    - Chris

     
  • Net Direct Inc.

    Net Direct Inc. - 2009-09-03
    • status: open --> pending
     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending --> closed
     
  • Net Direct Inc.

    Net Direct Inc. - 2009-09-18
    • status: closed --> open-postponed
     
  • Net Direct Inc.

    Net Direct Inc. - 2009-09-18

    Re-opening this for now... still researching how to get around this. I think it will involve significant protocol changes in the library.

    - Chris

     
  • Net Direct Inc.

    Net Direct Inc. - 2009-09-18

    See also tracker #2116213

    - Chris

     

Log in to post a comment.

MongoDB Logo MongoDB