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 739547 - Frequent errors: "Cannot get message" and "Empy cache file"
Frequent errors: "Cannot get message" and "Empy cache file"
Status: RESOLVED DUPLICATE of bug 737468
Product: evolution
Classification: Applications
Component: general
3.12.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: Evolution Shell Maintainers Team
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2014-11-03 09:18 UTC by gnome
Modified: 2015-03-03 10:46 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description gnome 2014-11-03 09:18:10 UTC
Many times a day I see one of the following an error messages in the main window above the message list:

"Error while Downloading new messages for offline mode. Cannot get message with message ID 123456: No such message available."

"Error while performing operation. Empty cache file: /home/me/.cache/evolution/mail/1234567890.12345.1@hostname/folders/Spam/cur/2c/94838
"

The latter is more frequent. I do have a flaky internet connection at times. It is quite inconvenient as it takes up screen space and doesn't go away by itself.

It would be great if Evolution could handle these problems, e.g. by retrying the download for some times, or removing and refetching the empty cache file.
Comment 1 André Klapper 2014-11-03 19:44:25 UTC
which account type?
Comment 2 gnome 2014-11-03 21:22:10 UTC
account type imapx

On a different network connection (which is slightly less flaky) I do see the error message disappearing by itself.
Comment 3 Milan Crha 2014-11-06 14:27:05 UTC
(In reply to comment #0)
> "Error while Downloading new messages for offline mode. Cannot get message with
> message ID 123456: No such message available."

Thanks for a bug report. Can it be that some of the message filters moved the message away, before the download for offline had a chance to download the message?

> "Error while performing operation. Empty cache file:
> /home/me/.cache/evolution/mail/1234567890.12345.1@hostname/folders/Spam/cur/2c/94838
> "

I do not recall when I saw this the last time. It's not that fresh. Though I also do not have flaky connection.

> It would be great if Evolution could handle these problems, e.g. by retrying
> the download for some times, or removing and refetching the empty cache file.

I made some changes for offline working for 3.12.8+, but I'm afraid that none of these two issues be covered by it.

I do not know, maybe a debugging log from the IMAPx would help a bit, to at least see partially what is going on in the background, The changes for 3.12.8+ should better react on disconnects and reconnects in some way.

The command to get the log looks like this:
   $ CAMEL_DEBUG=imapx evolution &>log.txt
while the log will be huge and will contain all the things being passed between the server and the client (including message content), thus be aware of it. It would be also good to have enabled only one IMAP account (if you have more configured), thus the log is not interleaving multiple unrelated prints.
Comment 4 Milan Crha 2015-03-03 10:46:08 UTC
Thanks for taking the time to report this.
This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

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