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 451779 - Evolution fails to download some mails from gmail and is unable to re-download them later
Evolution fails to download some mails from gmail and is unable to re-downloa...
Status: RESOLVED DUPLICATE of bug 538716
Product: evolution
Classification: Applications
Component: Mailer
2.26.x (obsolete)
Other All
: Normal critical
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
evolution[google] evolution[pop]
Depends on:
Blocks:
 
 
Reported: 2007-06-27 23:05 UTC by Carlos Fenollosa
Modified: 2011-01-27 05:42 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26



Description Carlos Fenollosa 2007-06-27 23:05:26 UTC
Please describe the problem:
The thing is that sometimes (not reproducible) evolution fails to download some of the emails from gmail. The account is properly configured and there is no pattern for the "failed" emails, like sender, subject or anything. The messages still appear on gmail, but Evolution won't download them anymore.

I've been some days wondering why Evolution wouldn't download some of the emails, and today I just gazed the message "failed to download message 2 of 8" in the download status window. Evolution had downloaded the first of all unread emails and then stopped, being unable to "catch up" or something and redownload them later.

Then gmail thinks that the client has downloaded all messages properly and marks them as "downloaded"

I have tested this with other mails clients, like Thunderbird, and does not happen. 

Steps to reproduce:
It cannot be reproduced

Actual results:


Expected results:


Does this happen every time?


Other information:
I reported it against Ubuntu Launchpad (https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/121090) and was told to send it here.

Please note that I've marked it as critical because the user loses data. Well it doesn't actually lose data because the original mails are still on gmail, but it looks like as if data were lost.
Comment 1 André Klapper 2007-06-28 12:24:19 UTC
pop, imap?
are pop3 extensions enabled?
Comment 2 Carlos Fenollosa 2007-06-29 09:59:45 UTC
It's a POP account.

I'm not sure about the extensions, but if I go to Accounts -> Receiving options, the checkbox "Disable support for POP3 extensions" is unchecked.

By the way, that checkbox is a double negative, it would be better to rephrase it into a positive form
Comment 3 Carlos Fenollosa 2007-07-04 21:57:14 UTC
There are some news.

Last week I disabled beryl because my laptop is quite hot in summer, and surprisingly enough, Evolution has fetched perfectly all emails since then. Usually this bug appeared once a day or every couple of days, and now it's been a week without the bug

Can that be possible or it's a mere coincidence? 
Comment 4 Arvid Ericsson 2007-11-27 18:28:12 UTC
I am also suffering from this bug. It strikes every now and then, a few times per week perhaps.
Comment 5 seb 2009-06-25 21:44:37 UTC
I'm confirming on Evolution 2.26.1

Hi since I've switched from Ubuntu Intrepid to Jaunty I was/am suffering from this bug.

As described in the launchpad bug report https://bugs.launchpad.net/evolution/+bug/121090 I checked the Junk folder and found many if not all of the mails I was missing.

Strange thing is, that I did a export in Evolution 2.24 of my data and then imported in to 2.26.1. For me there is no sense in suddenly marking most of the INmail as junk.

Reproduce: don't know how to
Comment 6 Florian Dorn 2009-07-06 07:33:20 UTC
Same problem here (3 machines: Ubuntu 9.04, Evolution 2.26.1).

Evolution "did not download" any new gmail. After reading through the above mentioned launchpad bug, I discovered all (even more!) messages were in the Junk (Unerwünscht) Folder. I moved them back and disabled the bogofilter and spamassasin plugins.

Sending myself an email proved that this was the solution. May be evolution has probelms with large folders (Inbox has > 1300 messages), while in Junk were >1400. Size of gmail-mailbox on disk is ~35MB.
Comment 7 Akhil Laddha 2010-12-24 06:40:11 UTC
bug 538716 might have fixed the problem.
Comment 8 Kuba 2011-01-17 23:29:06 UTC
Hello,

I can say, i confirm this bug.
Whats more, it happened third time to me.

Like 2 years ago, i had problem with downloading mails, it just have stopped to download them (one out of 5 of my mailboxes).
Same error happened abut 10 months or so, also one mail account.
And now:
It happened to all 6 mail accounts at the same time.
The messages stays on the servers.

I looked carefully at this, and evolution says (for a very short moment):
(gmail account) "Failed at message 1 of 1802"
It quickly dissapear (btw, it would be nice to be able to display (detailed) status window, after send&receive process is done).

Im not sure why it happened, It might be one of two reasons (or non of them):
1. I did system update, but Im not sure if evolution was included (can i check this?)
2. I had some problems to my internet connection.
Evolution has forgotten my passwords (it sometimes ask for password (WHY??) when it cannot connect to the servers)
Maybe it also mess up with mail database when internet is lost during download process.
(I think, everytime I sufferd this bug, I had some internet connection problems)

I have lunched evolution with CAMEL_DEBUG=all flag, but I don't see (or I don't no what to look at) anything interesting.
http://projects.gnome.org/evolution/bugs.shtml

My evolution is 2.28.3
System Ubuntu 10.04

I can provide more debug test, just give a hint, what to look for.

In my oppinion, i would say this bug is critical, 
It happened already 3 times to me.

Greetings
Comment 9 Kuba 2011-01-17 23:33:38 UTC
I have disabled Bogofilter Junk Filter, as mentioned somewhere in the net, but it did not work.
Messages are still on the server
Comment 10 Akhil Laddha 2011-01-18 04:26:51 UTC
Fix for bug 538716 has been committed for Evolution 2.32.1 and upcoming Evolution 3.0. If possible please try with one of the above versions and let us know if you still face the problem.
Comment 11 Kuba 2011-01-18 23:02:14 UTC
I have tried this evening, but i guess i need to do dist-upgrade

I've got this dependency msg.
I have tried to play with PKG_CONFIG_PATH, but i've failed.
Is there a nice quick solution to go around with dependency issue?
Like suggested GNOME_PLATFORM_LIBS and GNOME_PLATFORM_CFLAGS? I have no idea how to adjust them.
And I suppose I will have no time to do dist upgrade on my main system in the next few days...

Well, no matter what, I'm gonna check this bug, so i will find a way to do it :)

Thanks for a quick reply and bug solution.

...............................................


checking for GNOME_PLATFORM... configure: error: Package requirements (gio-2.0 >= 2.25.12
	 gtk+-2.0 >= 2.20.0
	 gail >= 1.9.0
	 gconf-2.0 >= 2.0.0
	 libxml-2.0 >= 2.7.3
	 pangoft2 >= 1.0.1
	 shared-mime-info >= 0.22
	 gnome-desktop-2.0 >= 2.26.0
	 unique-1.0 >= 1.1.2) were not met:

No package 'gio-2.0' found
No package 'gtk+-2.0' found
No package 'gail' found
No package 'gconf-2.0' found
No package 'libxml-2.0' found
No package 'pangoft2' found
No package 'gnome-desktop-2.0' found
No package 'unique-1.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GNOME_PLATFORM_CFLAGS
and GNOME_PLATFORM_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Comment 12 Kuba 2011-01-25 22:29:40 UTC
Hello,

About missing packages - try to install dev packages

It dod not fully worked in my case
Finnaly i managed to add natty repo, and install evolution from it.

I DO confirm - bug fixed in 2.32.1

Thanks for suggestion
Its working now
Comment 13 Kuba 2011-01-25 22:39:10 UTC
Btw, 

I had some problems with pgp keys updating sources.list

Im not sure, but i think installing 
Automagicaly setup for all Ubuntu Releases (not supported by the Medibuntu team)
from bottom of this page
https://help.ubuntu.com/community/Medibuntu


(and/or playing with sources.list and keys)
part of my sources.list:
deb http://archive.ubuntu.com/ubuntu/ natty main 
deb-src http://archive.ubuntu.com/ubuntu/ natty main

then:
apt-get update
apt-cache show evolution (check if version is ok)
apt-get install --reinstall evolution evolution-common evolution-dev evolution-plugins libevolution

but it also might have been a combination of other steps


you can also check packages in
http://archive.ubuntu.com/ubuntu/pool/main/e/evolution/
Comment 14 Akhil Laddha 2011-01-27 05:42:28 UTC

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