After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 648065 - FAILED: Directory not empty due to Tasks Migration Cleanup
FAILED: Directory not empty due to Tasks Migration Cleanup
Status: RESOLVED DUPLICATE of bug 635087
Product: evolution
Classification: Applications
Component: Tasks
2.32.x (obsolete)
Other Linux
: Normal minor
: ---
Assigned To: evolution-calendar-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2011-04-18 02:40 UTC by Ian B. MacDonald
Modified: 2011-04-18 02:54 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ian B. MacDonald 2011-04-18 02:40:40 UTC
After migrating from 2.30 to 2.32 the tasks folder in the legacy .evolution data folder was not cleaned up properly.

I observed this migrating from Ubuntu 10.10(2.30.3) to 11.04 (2.32.2) as well as a straightforward upgrade from 2.30 to 2.32 within 10.10. 

In both cases I had no "Tasks" in the initial 2.30 configuration.  During the load of 2.32, the following message appears on the console,

Migrating cached data
Migrating config data
Migrating local user data
  rmdir /home/imac/.evolution/tasks
  FAILED: Directory not empty (contents follows)
          tasks

Inspecting the file structure, there is simply an empty directory:

imac@imac-VirtualBox:~/.evolution/tasks/tasks/views$

It may be worth noting that when I first upgrade, I had a number of data locations in .evolution that did not migrate cleanly.  Each of these eventually disappeared as I refreshed and corrected other configuration issues from the migration.  Here is the original load, executed with 

CAMEL_DEBUG=all evolution >& evo.log

I removed the numerous "mv" lines

Migrating cached data
  rmdir /home/imac/.evolution/cache
  FAILED: Directory not empty (contents follows)
          addressbook
          calendar
Migrating config data
  rmdir /home/imac/.evolution/addressbook/config
  rmdir /home/imac/.evolution/addressbook/views
  rmdir /home/imac/.evolution/calendar/config
  rmdir /home/imac/.evolution/calendar/views
  rmdir /home/imac/.evolution/mail/config
  rmdir /home/imac/.evolution/mail/views
  rmdir /home/imac/.evolution/memos/config
  rmdir /home/imac/.evolution/memos/views
  rmdir /home/imac/.evolution/tasks/config
  rmdir /home/imac/.evolution/tasks/views
Migrating local user data
  rmdir /home/imac/.evolution/mail/local
  rmdir /home/imac/.evolution/mail/rss
  rmdir /home/imac/.evolution/mail/vfolder
  rmdir /home/imac/.evolution/mail/imap
  rmdir /home/imac/.evolution/mail/pop
  rmdir /home/imac/.evolution/signatures
  rmdir /home/imac/.evolution/tasks
  FAILED: Directory not empty (contents follows)
          local
          tasks
  rmdir /home/imac/.evolution/memos
  FAILED: Directory not empty (contents follows)
          local
  rmdir /home/imac/.evolution/cache
  FAILED: Directory not empty (contents follows)
          addressbook
          calendar
  rmdir /home/imac/.evolution/addressbook
  FAILED: Directory not empty (contents follows)
          local
  rmdir /home/imac/.evolution/mail
  rmdir /home/imac/.evolution/calendar
  FAILED: Directory not empty (contents follows)
          local

Migrating cached data
  rmdir /home/imac/.evolution/cache
  FAILED: Directory not empty (contents follows)
          addressbook
          calendar
Migrating config data
Migrating local user data
  rmdir /home/imac/.evolution/tasks
  FAILED: Directory not empty (contents follows)
          local
          tasks
  rmdir /home/imac/.evolution/memos
  FAILED: Directory not empty (contents follows)
          local
  rmdir /home/imac/.evolution/cache
  FAILED: Directory not empty (contents follows)
          addressbook
          calendar
  rmdir /home/imac/.evolution/addressbook
  FAILED: Directory not empty (contents follows)
          local
  rmdir /home/imac/.evolution/calendar
  FAILED: Directory not empty (contents follows)
          local

My steps to get rid of the rest of these FAILED warnings (except the tasks one described here) basically were:
1) kill 2.30 processes still preset after upgrade and restart
2) for each Google calendar, select properties and re-retrieve the calendar list, which synced the calendars
https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/761013
3) correct the address book issues
https://bugzilla.gnome.org/show_bug.cgi?id=648045
Comment 1 Matthew Barnes 2011-04-18 02:54:28 UTC
Thanks for taking the time to report this bug.
This particular bug has already been reported into our bug tracking system, but we are happy to tell you that the problem has already been fixed. It should be solved in the next software version. You may want to check for a software upgrade.

*** This bug has been marked as a duplicate of bug 635087 ***