[8.10, Evolution] Summary and folder mismatch, even after a sync

Bug #360667 reported by sebastian-s
This bug report is a duplicate of:  Bug #325157: I could not empty the trash folder. Edit Remove
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
evolution (Ubuntu)
Invalid
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: evolution

As requested in https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/27014/comments/94
I report this as a new bug.

I can't tell when it happened or what was different. From what I know I did a lot of moving and cleaning (del trash) around the time it happened.

On startup I get two error messages
" Error while Fetching Mail. Summary and folder mismatch, even after a sync"
and
" Error while Synchronising "Inbox". Summary and folder mismatch, even after a sync"

I tried "find ~.evolution/ -name "*.ev-summary" -print0 | xargs -0 rm -rf" which did not help.
Switching to the trash on startup fixed the problem for one start only.

What else do I need to provide?

Revision history for this message
sebastian-s (sebastian-s) wrote :
Revision history for this message
Maximiliano (meilan) wrote :

I had the same problem because when cleaning, Evolution needs disc space.
The problem was Evolution index corrupted.
Solved when delete the following files and evolution create new ones. No lost data.

rm ~/.evolution/mail/local/Inbox.ev-summary
rm ~/.evolution/mail/local/Inbox.ev-summary-meta

Sorry but I speak spanish

Revision history for this message
Pedro Villavicencio (pedro) wrote :

thanks for the report sebastian, could you try to delete the folders.db located on the evolution folder and see if that fixes the issue? thanks in advance. that should clean up the summary

Changed in evolution (Ubuntu):
assignee: nobody → Ubuntu Desktop Bugs (desktop-bugs)
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
sebastian-s (sebastian-s) wrote :

Ups, its been a few days since I reported this one.
By now I have to say that all is back to normal.

Here is what I did: Immediately after startup I switched to the trash. Empty the trash and close evolution. Start Evolution again and immediately switch to trash, then to the inbox.

After that it worked again.

Should I still do what you suggested?

Revision history for this message
Tremaine Lea (tremaine) wrote :
Download full text (17.4 KiB)

I have been having this issue for months now in Intrepid Ibex 8.10 x64

Linux quad 2.6.27-11-generic #1 SMP Wed Apr 1 20:53:41 UTC 2009 x86_64 GNU/Linux

 apt-cache policy evolution
evolution:
  Installed: 2.24.3-0ubuntu1
  Candidate: 2.24.3-0ubuntu1
  Version table:
 *** 2.24.3-0ubuntu1 0
        500 http://ca.archive.ubuntu.com intrepid-updates/main Packages
        100 /var/lib/dpkg/status
     2.24.1-0ubuntu2 0
        500 http://ca.archive.ubuntu.com intrepid/main Packages

evolution-exchange:
  Installed: 2.24.3-0ubuntu1
  Candidate: 2.24.3-0ubuntu1
  Version table:
 *** 2.24.3-0ubuntu1 0
        500 http://ca.archive.ubuntu.com intrepid-updates/main Packages
        100 /var/lib/dpkg/status
     2.24.1-0ubuntu1 0
        500 http://ca.archive.ubuntu.com intrepid/main Packages

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 8.10
Release: 8.10
Codename: intrepid

Currently before starting evolution I do the following:

evolution --force-shutdown

I have a quick script in /usr/local/bin/ I named cmetaibex.sh that is simply:

rm *.cmeta;
rm *.ibex.*

I go into the various .evolution/mail/local/ subfolders and run this script.

I then start evolution from the command line. Usually after less than 24 hours I get the 'Summary and folder mismatch, even after a sync' error, at which point I repeat the process. Take evolution into offline mode, close it, run evolution --force-shutdown, run my cmetaibex.sh script as described, and start it from the command line.

Output from evolution on the command line:

@quad:~$ evolution
** (evolution:20975): DEBUG: mailto URL command: evolution %s
** (evolution:20975): DEBUG: mailto URL program: evolution

(evolution:20975): camel-imap-provider-WARNING **: Unable to load summary no such table: DShield

(evolution:20975): composer-WARNING **: autosave load filename = "/home/tlea/.evolution/.evolution-composer.autosave-OB0CTU"

(evolution:20975): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(evolution:20975): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(evolution:20975): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(evolution:20975): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(evolution:20975): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(evolution:20975): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(evolution:20975): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(evolution:20975): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(evolution:20975): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(evolution:20975): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(evolution:20975): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(evolution:20975): Gtk-WARNING **: GtkSpinButton: setti...

Revision history for this message
Tremaine Lea (tremaine) wrote :

Upgraded to Jaunty, issue remains.

What further information can I provide to help move this along?

I'm currently having to run evolution out of a script to automagically wipe the cmeta and ibex files, force an evolution shutdown, then launch it with debugging turned on. I've attached the output from evolution --debug /home/tlea/Desktop/evolution-debugs/evolution.debug.$DATE

<code>
#!/bin/bash

# script for https://bugs.launchpad.net/bugs/360667

# /usr/local/bin/cmetaibex.sh is simply the commands below. The rm *.ev-summary* should be unneccessary
# in current versions of evolution, but may be left over from an upgrade

# rm *.cmeta;
# rm *.ibex.*
# rm *.ev-summary*

DATE=`date +%a%m%d%Y:%T`

evolution --force-shutdown;
cd /home/$USER/.evolution/mail/local/;
/usr/local/bin/cmetaibex.sh;
cd /home/$USER/.evolution/mail/local/Inbox.sbd/ddiction.sbd/ ;
/usr/local/bin/cmetaibex.sh;
cd /home/$USER/.evolution/mail/local/Inbox.sbd/Facebook.sbd/ ;
/usr/local/bin/cmetaibex.sh;
cd /home/$USER/.evolution/mail/local/Inbox.sbd/FD.sbd/ ;
/usr/local/bin/cmetaibex.sh;
cd /home/$USER/.evolution/mail/local/Inbox.sbd/GoogleAlerts.sbd/ ;
/usr/local/bin/cmetaibex.sh;
cd /home/$USER/.evolution/mail/local/Inbox.sbd/Livejournal.sbd/ ;
/usr/local/bin/cmetaibex.sh;
cd /home/$USER/.evolution/mail/local/Inbox.sbd/SierraSystems.sbd/ ;
/usr/local/bin/cmetaibex.sh;
cd /home/$USER/.evolution/mail/local/Inbox.sbd/Zorch.sbd/ ;
/usr/local/bin/cmetaibex.sh;
cd /home/$USER/.evolution/mail/local/Inbox.sbd/zot.sbd/ ;
/usr/local/bin/cmetaibex.sh;

evolution --force-shutdown;
evolution --debug /home/tlea/Desktop/evolution-debugs/evolution.debug.$DATE
</code>

Revision history for this message
Tremaine Lea (tremaine) wrote :

evolution --debug /home/tlea/Desktop/evolution-debugs/evolution.debug.$DATE output attached

Revision history for this message
Sebastien Bacher (seb128) wrote :

could you open the bug on http://bugzilla.gnome.org where the software writter will read it too since you get the issue?

Revision history for this message
Tremaine Lea (tremaine) wrote :

Tried a few times now to just do a simple search for evolution summary folder mismatch and their site seems to just time out after awhile. No idea what the problem is there, but it makes it a bit hard to report a bug - or at least report one without duplicating existing ones.

I've opened new bug, so feel free to add to it if you are also having the summary folder mismatch error - http://bugzilla.gnome.org/show_bug.cgi?id=583553

Revision history for this message
Daniele (dannywiz2002) wrote :

Me too I had this sync problem, and also it was impossible for me to purge the messages from Trash. So I have searched everywhere over the Internet to find a solution. After many unsuccessful tricks, I have tried to delete the search folders, and now it seems to work fine: no more sync messages, and a clear trash.

Probably there is some recursive unresolved check between the search folders and other folders.

I hope this may be helpful

Revision history for this message
Martin Capitanio (capnm) wrote :

I have exactly the same problem since switching to Jaunty.

Removing folders.db as mentioned here
http://bugzilla.gnome.org/show_bug.cgi?id=550414

( ~/.evolution$ find . -name folders.db | xargs rm $1 )

kills all 'undeletable' messages and recovers some of
them that has been vanished. But the corruption returns
from time to time.

This evolution must be running backwards ;)

Revision history for this message
Pedro Villavicencio (pedro) wrote :

upstream report was marked as a duplicate of bug http://bugzilla.gnome.org/show_bug.cgi?id=550414 ; which is tracked on bug 325157 ; marking this as a duplicate, thanks all.

Changed in evolution (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.