Public bug reported:

Binary package hint: evolution

On several machines upgrading from Hardy to Lucid I noticed that while
the contacts showed up in the address book, some contact's addresses
were missing.

I then found bug #289686 and did:
$ sudo apt-get install db4.8-util
$ evolution --force-shutdown
$ cd ~/.evolution/addressbook/local/system/
$ file ./addressbook.db
./addressbook.db: Berkeley DB (Hash, version 8, native byte-order) # should be 
'9'
$ db4.8_dump addressbook.db > blah.txt
$ mv addressbook.db addressbook.db.backup
$ cat blah.txt | db4.8_load addressbook.db

This converted it to 9, but the problem still remained, so I exported the whole 
addressbook as a vcard and compared the contents for contacts where the address 
did display, and ones where it didn't and found this in the ones that didn't 
display:
BEGIN:VCARD
VERSION:3.0
...
ADR;TYPE=WORK,PREF:;Street;City;State;;
LABEL;TYPE=WORK,PREF:Street\nCity\, State
...

If I removed ',PREF' from these and imported them, they displayed in
evolution.

To fix a whole addressbook, can do:
1. 'File/Save Address Book as VCard' and save it as $HOME/old.vcf
2. $ sed 's/,PREF:/:/g' $HOME/old.vcf > $HOME/new.vcf
3. remove all contacts from contact list
4. File/Import and import new.vcf into the personal address book

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: evolution 2.28.3-0ubuntu9
ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic x86_64
Architecture: amd64
Date: Mon May 17 12:03:30 2010
EcryptfsInUse: Yes
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: evolution

** Affects: evolution (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug lucid

-- 
after upgrade from hardy, evolution does not display addresses
https://bugs.launchpad.net/bugs/581843
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to evolution in ubuntu.

-- 
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to