Monday, June 22, 2009

Error while Expunging folder

Just started experimenting with Evolution and the 'Trash' was not able to empty itself when asked to 'Empty Trash'.And an error similar to following occurred,for the folder 'bad-folder ' that was created by mistake and was added to trash.

Error storing `~/.evolution/mail/local/bad-folder (mbox)':
Summary and folder mismatch, even after a sync

Tried a lot and finally after goggling a lot finally got an idea to try out deleting the entry for the folder 'bad-folder' from the Evolution profile itself.
So first listed all of the entries for it in the profile directory.

[ssharma@l_ssharma ~]$ ll ~/.evolution/mail/local/z-bad*
-rw-rw-r-- 1 ssharma ssharma 20426153 Jun 19 09:29 /home/ssharma/.evolution/mail/local/z-bad-folder
-rw-rw-r-- 1 ssharma ssharma 177 Jun 23 08:59 /home/ssharma/.evolution/mail/local/z-bad-folder.cmeta
-rw------- 1 ssharma ssharma 214595 Jun 19 09:29 /home/ssharma/.evolution/mail/local/z-bad-folder.ev-summary
-rw------- 1 ssharma ssharma 25644 Jun 19 09:29 /home/ssharma/.evolution/mail/local/z-bad-folder.ev-summary-meta

and then the client 'Evolution' was shut down.Once down all the files listed were cleaned up.

[ssharma@l_ssharma ~]$ rm -rf ~/.evolution/mail/local/z-bad*

Restarted Evolution and the folder was gone. :-)


Post a Comment