I am a Ubuntu Karmic barry user using Martin Owens sources 

ii  libbarry0
0.16-2009111858-0git1

My sync script is:
#!/bin/sh
evolution --force-shutdown
msynctool --sync EvoBarry --filter-objtype note --filter-objtype todo

Things have been smooth for a while, so I only backup monthlyish now.

Yesterday I started a slow migration of all my historical contact legacy
DBs (old PSTs, csvs, etc) into my current Evolution/Barry/Curve
framework.

After the first set, with hours of supervised manual merging in
Evolution, I attempted a sync via barry, resulting in what I believe to
be about 600 new or modified contacts.  (see attached sync.txt for
console output)

The sync pauses/timeouts writing to the Blackberry, with the last line
of output (a larger then average contact, but not largest) 

Sent an entry pas-id-4B0D658B0000002D of size 2564 to member 2
(barry-sync). Changetype ADDED

The result is no error on console, but the process just sits there.. an
immediate boost in CPU and continued memory consumption is noted, with
osplugin consuming 100%+ of one CPU core and growing in memory use.  

I have no choice but to CTRL-C 30 minutes later..or a day later

Left with a potential slow-sync (which is no good), I start my usual
recovery process. I purge my contacts DB on my Blackberry by restoring
an old backup with one contact. I then reconfigure barry so it will not
do the slow-sync. Then I execute my sync script, and usually add the
--conflict 1 to ensure that I do not get any duplicate calendar events
(which seems to happen whenever I do this without the conflict option
the first time).  

Unfortunately the same thing happens, and now *everytime* I execute this
procedure, my sync stops on the same contact everytime.

Sent an entry pas-id-4AD74E96000005B7 of size 269 to member 2
(barry-sync). Changetype ADDED

Two steps I need some help with, 

Step 1, I'd like to experiment with removing this contact, and
continuing.. but I am not sure how to find out which contact it is. For
now I am going to go have a look in .evolution with a text editor...

Step 2, whats the preferred method for additional verbose debugging to
support further dialogue and/or a change/patch to deal with this
issue.  

cheers,
Ian

Feature Note: barrybackup should have a purge Addressbook feature, as it
doesn't save the address book on backup if there are no contacts, so
there is no easy way to restore an empty addressboook if you create a
backup after a fresh Blackberry firmware update (which I had). The
method I have to use is to create, and have ready for restore, a backup
with only one entry, and then go and delete it on the Blackberry itself
to get to this empty address book stage. 

I created mine, by restoring an old, full addressbook, and right after
seeing the "Erasing database: Address Book" on my console, hitting
CTRL-C; Eventually Blackberry reset on its own, and I had my nice empty
address book.  I created one entry, and immediately created a backup
that I can now restore easily. 

Because of slow-sync issues, I expect creating an empty addressbook
target may be a need of many users trying to use Barry and have their
authoritative contact store not on the Blackberry.  Other people that
are like me may benefit from knowing that for this reason it is good to
duplicate PINs as Pin:XXXXXXX in contact notes.  The Berrys
automatically highlights these to make them easy to PIN directly from
the notes field and/or copy back to the PIN field after a resync process
similar to the one I perform when I stumble into issues like the one
described above. 

Karmic/Ubuntu Barry Note: I discovered this today when confirming I had
the lastest debs, 

http://ppa.launchpad.net/doctormo/barry-snapshot/ubuntu karmic main 

I have Martin Owens PPA apt source shown above, but even though I can
browse the packages online, the latest ones do not seem to be
auto-updating by update manager, or on command line via apt-get upgrade.
The reason is that at some point the package name was missing a hyphen,
and apt thinks my old version is  newer than the current version as a
result (see apt-cache output below). 

ii  opensync-plugin-barry
0.162009102716-0git1 

If you see the version above (or any other with no hyphen between the
0.16-2009), apt-get upgrade DOES NOT upgrade your packages to the
current version below.

https://launchpad.net/~doctormo/+archive/barry-snapshot/+build/1352037 

To fix this problem, you have to do the following override:

apt-get install barry-util/karmic barry-util-dbg/karmic
barrybackup-gui/karmic barrybackup-gui-dbg/karmic libbarry-dev/karmic
libbarry0/karmic opensync-plugin-barry/karmic

You will be fine from this point forwards for upgrading, 

Before Upgrade you can see that apt is aware of the newer version, but
is choosing not to install it as show below.  Also the results of the
override, showing that apt thinks it is DOWNGRADING.. but really it is
UPGRADING. 

r...@laptop:~# apt-cache showpkg barry-util
Package: barry-util
Versions: 
0.162009102716-0git1 (/var/lib/dpkg/status)
 Description Language: 
                 File: /var/lib/dpkg/status
                  MD5: 6523d9b7143593df52ae2d805bf69e25

0.16-2009111858-0git1 
(/var/lib/apt/lists/ppa.launchpad.net_doctormo_barry-snapshot_ubuntu_dists_karmic_main_binary-amd64_Packages)
 Description Language: 
                 File: 
/var/lib/apt/lists/ppa.launchpad.net_doctormo_barry-snapshot_ubuntu_dists_karmic_main_binary-amd64_Packages
                  MD5: 6523d9b7143593df52ae2d805bf69e25

0.14-2.1ubuntu1 
(/var/lib/apt/lists/ubuntu.mirror.rafal.ca_ubuntu_dists_karmic_universe_binary-amd64_Packages)
 Description Language: 
                 File: 
/var/lib/apt/lists/ubuntu.mirror.rafal.ca_ubuntu_dists_karmic_universe_binary-amd64_Packages
                  MD5: 6523d9b7143593df52ae2d805bf69e25


Reverse Depends: 
  barry-util-dbg,barry-util 0.162009102716-0git1
  barry-util-dbg,barry-util 0.16-2009111858-0git1
  barry-util-dbg,barry-util 0.14-2.1ubuntu1
Dependencies: 
0.162009102716-0git1 - udev (2 0.056) libbarry0 (0 (null)) 
libboost-serialization1.34.1 (2 1.34.1-8) libc6 (2 2.4) libfuse2 (2 2.6) 
libgcc1 (2 1:4.1.1) libstdc++6 (2 4.2.1) libusb-0.1-4 (2 2:0.1.12) zlib1g (2 
1:1.1.4) ppp (0 (null)) 
0.16-2009111858-0git1 - udev (2 0.056) libbarry0 (0 (null)) 
libboost-serialization1.38.0 (2 1.38.0-1) libc6 (2 2.4) libfuse2 (2 2.6) 
libgcc1 (2 1:4.1.1) libstdc++6 (2 4.4.0) libusb-0.1-4 (2 2:0.1.12) ppp (0 
(null)) 
0.14-2.1ubuntu1 - udev (2 136-1) libbarry0 (0 (null)) 
libboost-serialization1.38.0 (2 1.38.0-1) libc6 (2 2.4) libgcc1 (2 1:4.1.1) 
libstdc++6 (2 4.4.0) libusb-0.1-4 (2 2:0.1.12) ppp (0 (null)) 
Provides: 
0.162009102716-0git1 - 
0.16-2009111858-0git1 - 
0.14-2.1ubuntu1 - 
Reverse Provides: 
r...@laptop:~# 


r...@laptop:~# apt-get install barry-util/karmic barry-util-dbg/karmic 
barrybackup-gui/karmic barrybackup-gui-dbg/karmic libbarry-dev/karmic 
libbarry0/karmic opensync-plugin-barry/karmic
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Selected version 0.16-2009111858-0git1 (Ubuntu:9.10/karmic) for barry-util
Selected version 0.16-2009111858-0git1 (Ubuntu:9.10/karmic) for barry-util-dbg
Selected version 0.16-2009111858-0git1 (Ubuntu:9.10/karmic) for barrybackup-gui
Selected version 0.16-2009111858-0git1 (Ubuntu:9.10/karmic) for 
barrybackup-gui-dbg
Selected version 0.16-2009111858-0git1 (Ubuntu:9.10/karmic) for libbarry-dev
Selected version 0.16-2009111858-0git1 (Ubuntu:9.10/karmic) for libbarry0
Selected version 0.16-2009111858-0git1 (Ubuntu:9.10/karmic) for 
opensync-plugin-barry
The following packages were automatically installed and are no longer required:
  libboost-serialization1.34.1
Use 'apt-get autoremove' to remove them.
The following packages will be DOWNGRADED:
  barry-util barry-util-dbg barrybackup-gui barrybackup-gui-dbg libbarry-dev 
libbarry0 opensync-plugin-barry
0 upgraded, 0 newly installed, 7 downgraded, 0 to remove and 0 not upgraded.
Need to get 3,520kB of archives.
After this operation, 557kB of additional disk space will be used.
Do you want to continue [Y/n]? 



-- 
Ian B. MacDonald <i...@ianbmacdonald.com>

Attachment: sync.txt.tar.gz
Description: application/compressed-tar

------------------------------------------------------------------------------
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

Reply via email to