GNOME Bugzilla – Bug 631762
“views” folder in .evolution prevent successful migration to XDG dirs
Last modified: 2011-03-22 12:24:33 UTC
As noted on irc, the migration can't finish on my box because of empty folders still present in the old dir: corsac@hidalgo: evolution (evolution:2394): GLib-CRITICAL **: the GVariant format string `(u)' has a type of `(u)' but the given value has a type of `(s)' (evolution:2394): GLib-CRITICAL **: g_variant_get: assertion `valid_format_string (format_string, TRUE, value)' failed Migrating cached data Migrating config data Migrating local user data rmdir /home/corsac/.evolution/calendar FAILED: Directory not empty (contents follows) views rmdir /home/corsac/.evolution/addressbook FAILED: Directory not empty (contents follows) views rmdir /home/corsac/.evolution/tasks FAILED: Directory not empty (contents follows) views tasks rmdir /home/corsac/.evolution/memos FAILED: Directory not empty (contents follows) views And: corsac@hidalgo: find .evolution -ls 6766597 4 drwx------ 6 corsac corsac 4096 oct. 3 12:07 .evolution 6766598 4 drwxr-xr-x 3 corsac corsac 4096 oct. 3 12:07 .evolution/calendar 7128161 4 drwxr-xr-x 2 corsac corsac 4096 oct. 3 12:03 .evolution/calendar/views 6766954 4 drwxr-xr-x 3 corsac corsac 4096 oct. 3 12:06 .evolution/addressbook 6767116 4 drwxr-xr-x 2 corsac corsac 4096 oct. 3 12:03 .evolution/addressbook/views 6766600 4 drwxr-xr-x 4 corsac corsac 4096 oct. 3 12:07 .evolution/tasks 7225406 4 drwxr-xr-x 2 corsac corsac 4096 avril 5 2008 .evolution/tasks/views 6766869 4 drwxr-xr-x 3 corsac corsac 4096 déc. 15 2008 .evolution/tasks/tasks 6766872 4 drwxr-xr-x 2 corsac corsac 4096 déc. 15 2008 .evolution/tasks/tasks/views 6766602 4 drwxr-xr-x 3 corsac corsac 4096 oct. 3 12:07 .evolution/memos 6785540 4 drwxr-xr-x 2 corsac corsac 4096 nov. 8 2009 .evolution/memos/views
Thanks for a bug report. I tried to reproduce this, by creating empty ~/.evolution/mail/views and it is properly removed: > Migrating cached data > Migrating config data > Migrating local user data > rmdir /home/zyx/.evolution/mail/views > rmdir /home/zyx/.evolution/mail Do you have there any hidden file? Also, can this be related to bug #625761? Though this one is in since 2.31.6
You have the find -ls result: no hidden files/folders.
(In reply to comment #2) > You have the find -ls result: no hidden files/folders. I know, though I use to 'ls -a', somehow. :) Anyway, tested on actualmaster (which is, I believe, same as 2.32.0 in this area, and it removes the empty views folder for me.
Well, I'm not sure what happens then, because 2.32.0 definitely doesn't.
Hrm, OK, I cannot confirm this, maybe someone else can, thus I'm reseting the NeedInfo on this.
Upgraded from Fedora 13 (up-to-date) to Fedora 14 via "PreUpgrade". First start of Evolution: $:andre\> rpm -q evolution evolution-2.32.1-1.fc14.i686 $:andre\> evolution --offline ** (evolution:2540): CRITICAL **: categories_icon_theme_hack: assertion `filename != NULL && *filename != '\0'' failed Migrating cached data mv /home/user/.evolution/cache/http /home/user/.cache/evolution/http mv /home/user/.evolution/cache/tmp /home/user/.cache/evolution/tmp rmdir /home/user/.evolution/cache FAILED: Directory not empty (contents follows) addressbook Migrating config data [...] rmdir /home/user/.evolution/signatures rmdir /home/user/.evolution/addressbook FAILED: Directory not empty (contents follows) views local rmdir /home/user/.evolution/tasks FAILED: Directory not empty (contents follows) views tasks rmdir /home/user/.evolution/memos FAILED: Directory not empty (contents follows) views rmdir /home/user/.evolution/cache FAILED: Directory not empty (contents follows) addressbook rmdir /home/user/.evolution/calendar FAILED: Directory not empty (contents follows) views rmdir /home/user/.evolution/mail I had to remove ~/.evolution manually to get rid of these warnings each time I started Evolution.
*** This bug has been marked as a duplicate of bug 635087 ***
Created attachment 182468 [details] [review] [PATCH] Bug #631762 - cleanup `.evolution/tasks/tasks` after XDG migration Commit 863b9bf6 [1] Bug #635087 - Leftover files after migration of config/data/cache to XDG directories did not fix the following case $ evolution Migrating cached data Migrating config data Migrating local user data rmdir /home/joe/.evolution/tasks FAILED: Das Verzeichnis ist nicht leer (contents follows) tasks which was reported in bug 631762 [2]. [1] http://git.gnome.org/browse/evolution/commit/?id=863b9bf6391eb64bb28106b37df206d24312e54d [2] https://bugzilla.gnome.org/show_bug.cgi?id=631762 --- This patch has not yet been tested.
That looks like a misplaced directory, perhaps from some old bug. You may as well just delete that yourself.
(In reply to comment #9) > That looks like a misplaced directory, perhaps from some old bug. You may as > well just delete that yourself. Thank you. I just want to note that this directory was in the logs from Andre, Yves-Alexis and me.
(In reply to comment #10) > (In reply to comment #9) > > That looks like a misplaced directory, perhaps from some old bug. You may as > > well just delete that yourself. > > Thank you. I just want to note that this directory was in the logs from Andre, > Yves-Alexis and me. And for the record, it is from March, 11 2009.