Thank you for taking the time to report this bug and helping to make
Ubuntu better. However, I am closing it because the bug has been fixed
in the latest development version of Ubuntu - Oneiric Ocelot.

This is a significant bug in Ubuntu. If you need a fix for the bug in
previous versions of Ubuntu, please do steps 1 and 2 of the SRU
Procedure [1] to bring the need to a developer's attention.

[1]: https://wiki.ubuntu.com/StableReleaseUpdates#Procedure

** Changed in: evolution (Ubuntu)
       Status: Triaged => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to evolution in Ubuntu.
https://bugs.launchpad.net/bugs/761037

Title:
  Evolution failed to properly migrate Local Contacts during 2.32
  (Natty) Upgrade

Status in The Evolution Mail & Calendaring Tool:
  Fix Released
Status in “evolution” package in Ubuntu:
  Fix Released

Bug description:
  Binary package hint: evolution

  After upgrading to Natty following the Beta 1 release, my local
  contacts were not correctly migrated.

  After the upgrade I could not access two of my three addressbooks.
  The "Personal" addressbook was accessible, however my older "Palm
  Contacts" (legacy data)  and "Autocompleted" (used by the plugin) did
  not migrate.  They had entries in Evolution, but resulted in URI error
  below.

  This address book cannot be opened. This either means that an incorrect URI 
was entered, or the server is unreachable.
  Detailed error message: Invalid source

  Initially thought was related to bug 752468, but I know now is a
  result of this incorrect migration.  Looking at the URI/sources I had
  the following entries with the broken addressbooks/contact lists.

  imac@repo:~$ gconftool-2 --get /apps/evolution/addressbook/sources 
  [<?xml version="1.0"?>
  <group uid="1227068757.7280.2@repo" name="Google" base_uri="google://" 
readonly="no"/>
  ,<?xml version="1.0"?>
  <group uid="1227068757.7280.3@repo" name="WebDAV" base_uri="webdav://" 
readonly="no"/>
  ,<?xml version="1.0"?>
  <group uid="1227068758.7280.4@repo" name="On This Computer" base_uri="local:" 
readonly="no"><source uid="1247672993.1257...@n8-laptop.ianbmacdonald.com" 
name="Autocompleted" 
uri="file:///home/imac/.evolution/addressbook/local/1247672993.1257...@n8-laptop.ianbmacdonald.com"
 
relative_uri="1247672993.1257...@n8-laptop.ianbmacdonald.com"><properties><property
 name="use-in-contacts-calendar" value="0"/></properties></source><source 
uid="1248182182.857...@n8-laptop.ianbmacdonald.com" name="Personal" 
relative_uri="system"><properties><property name="use-in-contacts-calendar" 
value="0"/><property name="remember_password" 
value="false"/></properties></source><source 
uid="1255615812.3005...@n8-laptop.ianbmacdonald.com" name="Palm Contacts" 
uri="file:///home/imac/.evolution/addressbook/local/1255615812.3005...@n8-laptop.ianbmacdonald.com"
 
relative_uri="1255615812.3005...@n8-laptop.ianbmacdonald.com"><properties><property
 name="use-in-contacts-calendar" value="0"/><property name="pilot-sync" 
value="true"/></properties></source></group>
  ,<?xml version="1.0"?>
  <group uid="1227068758.7280.6@repo" name="On LDAP Servers" base_uri="ldap://"; 
readonly="no"/>
  ,<?xml version="1.0"?>
  <group uid="1256843691.1052...@n8-laptop.ianbmacdonald.com" name="CouchDB" 
base_uri="couchdb://" readonly="no"><source 
uid="1256843691.1052...@n8-laptop.ianbmacdonald.com" name="Ubuntu One" 
relative_uri="127.0.0.1"><properties><property name="couchdb_instance" 
value="user"/><property name="remember_password" 
value="false"/></properties></source></group>
  ]
   
  I know from reviewing this related bug comment that the above sources (uri=) 
were not correctly modified, except for the "Personal" where uri="system".

  https://bugzilla.gnome.org/show_bug.cgi?id=632962#c7

  based on this comment I executed a python script designed to fix this 
problem, found here:
  http://www.gentoo.org/proj/en/desktop/gnome/howtos/gnome-2.32-upgrade.xml 

  The fix-addressbook.py script worked after I changed the permissions
  for execution, and by modifying the first line to match the local
  python2.7 interpreter path.

  The same output now looks like below, and my contacts are totally
  accessible.

  imac@repo:~$ ./fix-addressbook.py 
  Removing deprecated attribute from source 2 [Autocompleted]
  Removing deprecated attribute from source 2 [Palm Contacts]
  imac@repo:~$ gconftool-2 --get /apps/evolution/addressbook/sources 
  [<?xml version="1.0"?>
  <group uid="1227068757.7280.2@repo" name="Google" base_uri="google://" 
readonly="no"/>
  ,<?xml version="1.0"?>
  <group uid="1227068757.7280.3@repo" name="WebDAV" base_uri="webdav://" 
readonly="no"/>
  ,<?xml version="1.0"?>
  <group base_uri="local:" name="On This Computer" readonly="no" 
uid="1227068758.7280.4@repo"><source name="Autocompleted" 
relative_uri="1247672993.1257...@n8-laptop.ianbmacdonald.com" 
uid="1247672993.1257...@n8-laptop.ianbmacdonald.com"><properties><property 
name="use-in-contacts-calendar" value="0" /></properties></source><source 
name="Personal" relative_uri="system" 
uid="1248182182.857...@n8-laptop.ianbmacdonald.com"><properties><property 
name="use-in-contacts-calendar" value="0" /><property name="remember_password" 
value="false" /></properties></source><source name="Palm Contacts" 
relative_uri="1255615812.3005...@n8-laptop.ianbmacdonald.com" 
uid="1255615812.3005...@n8-laptop.ianbmacdonald.com"><properties><property 
name="use-in-contacts-calendar" value="0" /><property name="pilot-sync" 
value="true" /></properties></source></group>
  ,<?xml version="1.0"?>
  <group uid="1227068758.7280.6@repo" name="On LDAP Servers" base_uri="ldap://"; 
readonly="no"/>
  ,<?xml version="1.0"?>
  <group uid="1256843691.1052...@n8-laptop.ianbmacdonald.com" name="CouchDB" 
base_uri="couchdb://" readonly="no"><source 
uid="1256843691.1052...@n8-laptop.ianbmacdonald.com" name="Ubuntu One" 
relative_uri="127.0.0.1"><properties><property name="couchdb_instance" 
value="user"/><property name="remember_password" 
value="false"/></properties></source></group>

  FYI, I backed everything up before even starting my upgrade;  YMMV on
  this workaround.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: evolution 2.32.2-0ubuntu6
  ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
  Uname: Linux 2.6.38-8-generic x86_64
  NonfreeKernelModules: fglrx
  Architecture: amd64
  Date: Thu Apr 14 14:53:09 2011
  ProcEnviron:
   LANGUAGE=en_US:en
   LANG=en_US.utf8
   SHELL=/bin/bash
  SourcePackage: evolution
  UpgradeStatus: Upgraded to natty on 2011-04-06 (8 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/evolution/+bug/761037/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to