← Back to team overview

desktop-packages team mailing list archive

[Bug 761037] Re: Evolution failed to properly migrate Local Contacts during 2.32 (Natty) Upgrade

 

After migrating evolution to mbox my addresses "on this computer" are
not accessible from "new mail"

And when I wanted to look at the addresses at " contacts" all addresses where gone.
Only after restart the system the addresses are visible again

-- 
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:
  New
Status in “evolution” package in Ubuntu:
  Triaged

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.12578.0@xxxxxxxxxxxxxxxxxxxxxxxxxxx" name="Autocompleted" uri="file:///home/imac/.evolution/addressbook/local/1247672993.12578.0@xxxxxxxxxxxxxxxxxxxxxxxxxxx" relative_uri="1247672993.12578.0@xxxxxxxxxxxxxxxxxxxxxxxxxxx"><properties><property name="use-in-contacts-calendar" value="0"/></properties></source><source uid="1248182182.8574.0@xxxxxxxxxxxxxxxxxxxxxxxxxxx" 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.30055.1@xxxxxxxxxxxxxxxxxxxxxxxxxxx" name="Palm Contacts" uri="file:///home/imac/.evolution/addressbook/local/1255615812.30055.1@xxxxxxxxxxxxxxxxxxxxxxxxxxx" relative_uri="1255615812.30055.1@xxxxxxxxxxxxxxxxxxxxxxxxxxx"><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.10525.0@xxxxxxxxxxxxxxxxxxxxxxxxxxx" name="CouchDB" base_uri="couchdb://" readonly="no"><source uid="1256843691.10525.1@xxxxxxxxxxxxxxxxxxxxxxxxxxx" 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.12578.0@xxxxxxxxxxxxxxxxxxxxxxxxxxx" uid="1247672993.12578.0@xxxxxxxxxxxxxxxxxxxxxxxxxxx"><properties><property name="use-in-contacts-calendar" value="0" /></properties></source><source name="Personal" relative_uri="system" uid="1248182182.8574.0@xxxxxxxxxxxxxxxxxxxxxxxxxxx"><properties><property name="use-in-contacts-calendar" value="0" /><property name="remember_password" value="false" /></properties></source><source name="Palm Contacts" relative_uri="1255615812.30055.1@xxxxxxxxxxxxxxxxxxxxxxxxxxx" uid="1255615812.30055.1@xxxxxxxxxxxxxxxxxxxxxxxxxxx"><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.10525.0@xxxxxxxxxxxxxxxxxxxxxxxxxxx" name="CouchDB" base_uri="couchdb://" readonly="no"><source uid="1256843691.10525.1@xxxxxxxxxxxxxxxxxxxxxxxxxxx" 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