Hi,
Here is the report.
It's an extract from my test log, built after terminal captures, with
added comments (# lines).
I made tests on btool, barrybackup and msynctool.
Points of particular interrest are marked with #====>
Later on (this afternoon), I'll make an accurate review of the resulting
contents in Evolution (at first sight, some conversion problems), I have
no time just by now.
Cheerfully,
Pierre
======================================
Le mardi 02 février 2010 à 22:10 -0500, Chris Frey a écrit :
> On Sun, Jan 31, 2010 at 06:03:06PM +0100, Nicolas wrote:
> > Hi,trrr
> >
> > Chris, can you describe this issue ? and how can I re-produce it ?
> >
> > I haven't noticed it ; where as I run a sync evrydays...
>
> Re: the USB protocol changing depending on the device's data
>
> Hi Nicolas,
>
> This doesn't happen all the time. As far as I can tell, it depends on
> the data, and I believe, it depends on whether you have certain
> international characters in it.
>
> You may have noticed some extra code added to the barrybackup GUI program,
> in gui/src/BackupWindow.cc, BackupWindow::treeview_update(), that checks
> that the number of records retrieved equals the number of records
> that the device reported.
>
> If you can get this piece of code to trigger (and people have done it)
> then you've reproduced the issue.
>
> Someone in the NetDirect office here actually reproduced it once,
> but I was just too busy to look at the data in detail. I'll have to
> see if I can dig it up again, and share with the group.
>
> - Chris
>
>
> ------------------------------------------------------------------------------
> The Planet: dedicated and managed hosting, cloud storage, colocation
> Stay online with enterprise data centers and the best network in the business
> Choose flexible plans and management services without long-term contracts
> Personal 24x7 support from experience hosting pros just a phone call away.
> http://p.sf.net/sfu/theplanet-com
> _______________________________________________
> Barry-devel mailing list
> Barry-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/barry-devel
#
# SOME TRIALS
# ===========
#
# Simple btool call
# -----------------
pie...@lutwidge:~/barry$ btool
Blackberry devices found:
Device ID: 0x14a50f0. PIN: 25748ae3, Description: RIM 8100 Series Colour GPRS
Handheld, Name: BlackBerry_du_pauvre
Using device (PIN): 25748ae3
#
#
#
# barrybackup
# -----------
pie...@lutwidge:~/barry$ barrybackup
#
# Remark : when the barribackup GUI appears, the progression bar is set to 100%,
# though no backup has been made. This could be confusing.
#
# PROBLEM : launching a backup,the following message is displayed at end of the
operation :
#-
# Warning
#
# Not all records were processed on device:25748ae3 (BlackBerry_du_pauvre)
#
# Only 2471 of 2487 records were backed up.
#
# It is suspected that due to international characters in these records,
the BlackBerry uses a different low-level protocol,
which Barry Backup does not yet support. Please contact the developers
at http://netdirect.ca/barry if you want to assist
in debugging this issue.
#-
# The same operation, some days ago, with stable version, had not issued any
such message.
# The size of the backup file seems normal, even more than the former one
(maybe due to more messages in mailbox).
# The number of objects in the contacts archive (537) seems normal.
# A glance at the contents of one of the contacts shows accentuated characters
"normally" encoded in Windows-1252/Winlatin 1
# or in ISO 8859-1 (one of those where accentuated letters are coded in one
single byte).
#
# btool to convert address book
# -----------------------------
#
pie...@lutwidge:~/barry$ btool -c dn > /home/pierre/Bureau/test1.txt
#===>
# No message issued. At first sight, the output looks fine
# (but I don't look fluently base64 texts)
#
# International characteers (ç, é, è) look correct.
# (in fact, not many international characters appear,
# as many fields are transladed into base64).
#
#
# msynctool
# ---------
#
pie...@lutwidge:~/barry$ msynctool --addgroup BBduPauvre
pie...@lutwidge:~/barry$ msynctool --listgroups
Available groups:
BBduPauvre
BBduPauvre
#===>
# Bad surprises.
# 1 - there already was one group, despite I had made a "complete"
# unistall of barry.
# 2 - There misses one (at least) control in --addgroup. The group is
duplicate.
#
# I clear the situation by deleting group2 directory in
/home/pierre/.opensync-0.22
# (I'm not in mind to test what happens if two groups with the same name exist.)
#
pie...@lutwidge:~/barry$ msynctool --listgroups
Available groups:
BBduPauvre
# Fine, now
#
pie...@lutwidge:~/barry$ evolution --force-shutdown
Fermeture de evolution (Shell d'Evolution)
Fermeture de evolution-exchange-storage (Moteur principal Exchange du
calendrier Evolution / Moteur Exchange du carnet d'adresses Evolution)
Fermeture de evolution-data-server-2.26 (Fichier et moteur webcal pour le
calendrier d'Evolution / Fichier du moteur du carnet d'adresse d'Evolution)
Fermeture de evolution-alarm-notify (Service de notification d'alarme du
calendrier d'Evolution)
pie...@lutwidge:~/barry$ msynctool --sync BBduPauvre
#......................
# here comes an abundant output, which my terminal
# is not able to capture entirely.
#......................
Received an entry pas-id-4B5F0CC3000001F8 with data of size 0 from member 1
(evo2-sync). Changetype DELETED
Received an entry pas-id-4B5F0CC300000201 with data of size 0 from member 1
(evo2-sync). Changetype DELETED
Received an entry pas-id-4B5F0CC300000209 with data of size 0 from member 1
(evo2-sync). Changetype DELETED
Received an entry pas-id-4B5F0CC30000020A with data of size 0 from member 1
(evo2-sync). Changetype DELETED
Member 1 of type evo2-sync just sent all changes
Received an entry calendar-234195870 with data of size 8 from member 2
(barry-sync). Changetype ADDED
Received an entry calendar-234195867 with data of size 8 from member 2
(barry-sync). Changetype ADDED
Received an entry calendar-234195529 with data of size 8 from member 2
(barry-sync). Changetype MODIFIED
Received an entry calendar-234195526 with data of size 8 from member 2
(barry-sync). Changetype MODIFIED
Received an entry calendar-234194910 with data of size 0 from member 2
(barry-sync). Changetype DELETED
Received an entry contacts-0 with data of size 8 from member 2 (barry-sync).
Changetype ADDED
Received an entry contacts-4294966372 with data of size 8 from member 2
(barry-sync). Changetype MODIFIED
Received an entry contacts-4294966136 with data of size 8 from member 2
(barry-sync). Changetype MODIFIED
Received an entry contacts-4294966371 with data of size 0 from member 2
(barry-sync). Changetype DELETED
Member 2 of type barry-sync just sent all changes
All clients sent changes or error
Conflict for Mapping 0x1af97d0:
Entry 1:
UID: contacts-4294966372
<?xml version="1.0"?>
<contact>
<UnknownNode>
<NodeName>PRODID</NodeName>
<Content>-//OpenSync//NONSGML Barry Contact Record//EN</Content>
</UnknownNode>
<FormattedName>
<Content>Bruno Perrard</Content>
</FormattedName>
<Name>
<LastName>Perrard</LastName>
<FirstName>Bruno</FirstName>
<Prefix>M.</Prefix>
</Name>
<AddressLabel>
<Content>7, rue Casimir Pinel
Neully sur seine France
92200</Content>
<Type>home</Type>
</AddressLabel>
<Address>
<Street>7, rue Casimir Pinel</Street>
<City>Neully sur seine</City>
<PostalCode>92200</PostalCode>
<Country>France</Country>
<Type>home</Type>
</Address>
<Telephone>
<Content>0951169765</Content>
<Type>voice</Type>
<Type>home</Type>
</Telephone>
<Telephone>
<Content>#0674114543#06 25 17 46 13</Content>
<Type>msg</Type>
<Type>cell</Type>
</Telephone>
<EMail>
<Content>bruno.perr...@wanadoo.fr</Content>
<Type>internet</Type>
<Type>pref</Type>
</EMail>
<Note>
<Content>Carla</Content>
</Note>
<Categories>
<Category>J</Category>
<Category>Personnel</Category>
</Categories>
</contact>
Entry 2:
UID: pas-id-4B5F0CC200000049
(null)
Which entry do you want to use? [1-9] To select a side, [D]uplicate: ^C
#
#===>
# Here I abort the boring process of chosing manually between conflincting
entries.
# Is it possible to give a general choice [D] once for all ?????
# **************************************************************
#
# Back to evolution, no contact has been added
# (at origin, the contacts database is almost empty)
#
# Later, more sync test
#
pie...@lutwidge:~$ evolution --force-shutdown
Fermeture de evolution (Shell d'Evolution)
Fermeture de evolution-exchange-storage (Moteur principal Exchange du
calendrier Evolution / Moteur Exchange du carnet d'adresses Evolution)
Fermeture de evolution-data-server-2.26 (Fichier et moteur webcal pour le
calendrier d'Evolution / Fichier du moteur du carnet d'adresse d'Evolution)
Fermeture de evolution-alarm-notify (Service de notification d'alarme du
calendrier d'Evolution)
pie...@lutwidge:~/barry$ msynctool --sync BBduPauvre
#......................
# here comes an abundant output, which my terminal
# is not able to capture entirely.
#......................
Sent an entry pas-id-4B69514700000209 of size 269 to member 1 (evo2-sync).
Changetype ADDED
Sent an entry pas-id-4B6951470000020A of size 403 to member 1 (evo2-sync).
Changetype ADDED
Sent an entry pas-id-4B6951470000020B of size 276 to member 1 (evo2-sync).
Changetype ADDED
Sent an entry pas-id-4B6951470000020C of size 464 to member 1 (evo2-sync).
Changetype ADDED
Sent an entry pas-id-4B6951470000020D of size 437 to member 1 (evo2-sync).
Changetype ADDED
Sent an entry pas-id-4B6951470000020E of size 288 to member 1 (evo2-sync).
Changetype ADDED
Sent an entry pas-id-4B6951470000020F of size 366 to member 1 (evo2-sync).
Changetype ADDED
Sent an entry pas-id-4B69514700000210 of size 524 to member 1 (evo2-sync).
Changetype ADDED
Sent an entry pas-id-4B69514700000211 of size 499 to member 1 (evo2-sync).
Changetype ADDED
Sent an entry pas-id-4B69514700000212 of size 359 to member 1 (evo2-sync).
Changetype ADDED
Sent an entry pas-id-4B69514700000213 of size 255 to member 1 (evo2-sync).
Changetype ADDED
Sent an entry pas-id-4B69514700000214 of size 368 to member 1 (evo2-sync).
Changetype ADDED
Sent an entry pas-id-4B69514700000215 of size 344 to member 1 (evo2-sync).
Changetype ADDED
Sent an entry pas-id-4B69514700000216 of size 309 to member 1 (evo2-sync).
Changetype ADDED
Sent an entry pas-id-4B69514700000217 of size 308 to member 1 (evo2-sync).
Changetype ADDED
Sent an entry 20100203t103447z-12431-1000-1...@lutwidge of size 255 to member 1
(evo2-sync). Changetype ADDED
Sent an entry 20100203t103447z-12431-1000-1...@lutwidge of size 251 to member 1
(evo2-sync). Changetype ADDED
Sent an entry pas-id-4B69514700000218 of size 184 to member 1 (evo2-sync).
Changetype ADDED
Member 1 of type evo2-sync committed all changes.
Sent an entry calendar-234194910 of size 347 to member 2 (barry-sync).
Changetype ADDED
Sent an entry pas-id-4B674FA900000073 of size 135 to member 2 (barry-sync).
Changetype ADDED
Sent an entry pas-id-4B674FA900000074 of size 153 to member 2 (barry-sync).
Changetype ADDED
Member 2 of type barry-sync committed all changes.
All clients have written
Member 1 of type evo2-sync just disconnected
Member 2 of type barry-sync just disconnected
All clients have disconnected
The sync was successful
pie...@lutwidge:~/barry$
#
#===>
# Considerable progress on the complete mess of my first trial with "stable"
version.
#
# There remain some errors on internationanl characters.
#
# More precise report to be made this afternoon.
#
#
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel