On Sun, Aug 09, 2009 at 06:37:05PM +0200, Gorki wrote: > Good afternoon. > > I am trying to sync my Blackberry 9500 Storm for Vodafone Spain with a > PC Intel Pentium Dual running Ubuntu 9.04, following your instructions > at http://netdirect.ca/software/packages/barry/sync.php, but It results > always that:
Just to double check, which version of Barry are you using? > ai...@airis-desktop:~$ msynctool --sync Blackberry > Synchronizing group "Blackberry" > The previous synchronization was unclean. Slow-syncing > Member 2 of type evo2-sync just connected > Bad packet size. Packet: 0. DataSize(): 12. Required size: 8 > 00000000: 07 00 00 00 0c 00 00 00 78 56 34 > 12 ........xV4. > > Member 1 of type barry-sync had an error while connecting: Bad packet > size. Packet: 0. DataSize(): 12. Required size: 8 > Member 2 of type evo2-sync just disconnected > All clients have disconnected Nicolas.... have you ever run into something like this with your Storm? It looks like this new Storm is not including a size in the packet data when it responds to the close command. Gorki, if you are able to build from the latest sources, give this patch a try and let me know if it helps at all. Note this is a test patch only, not meant as a final fix. Thanks, - Chris diff --git a/src/protocol.cc b/src/protocol.cc index bbc55aa..5b0c491 100644 --- a/src/protocol.cc +++ b/src/protocol.cc @@ -36,10 +36,7 @@ void CheckSize(const Data &packet, size_t requiredsize) // when packets are larger than 0xFFFF bytes, packet->size is no // longer reliable, so we go with the Data class size - if( (btohs(p->size) != packet.GetSize() && packet.GetSize() <= 0xFFFF) || - packet.GetSize() < requiredsize ) - - { + if( packet.GetSize() < requiredsize ) { BadSize bs(btohs(p->size), packet.GetSize(), requiredsize); eout(bs.what()); eout(packet); ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Barry-devel mailing list Barry-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/barry-devel