does not list any messages anymore

Bug #444630 reported by Oliver Grawert
78
This bug affects 15 people
Affects Status Importance Assigned to Milestone
evolution-indicator (Ubuntu)
Confirmed
Medium
Neil J. Patel
Karmic
Confirmed
Medium
Neil J. Patel

Bug Description

Binary package hint: evolution-indicator

with one of the recent changes to evolution-indicator it stopped to show me any messages. i belive that has to do with the fix for bug 427504 or bug 427501

apparently it tries to associate my Inbox with an account name ...
the account i use for SMTP is only used for sending mail through a company server.
all incoming mail is routed through a gmail account where i recive mails via secure pop3 (even the ones that are addressed to the account used for SMTP) the name used for this account never shows up in the To: filed in any of my mails.

the indicator applet shows exactly only the name used to recieve (<email address hidden>) and always shows zero messages for it no matter how full my inbox is.

Revision history for this message
Oliver Grawert (ogra) wrote :
Download full text (4.3 KiB)

alongside the missing notification, my ~/.xsession-errors gets massively spammed now, here is an excerpt:

** (evolution:21636): WARNING **: Unable to find account that matches mbox:/home/ogra/.evolution/mail/local#Inbox/ubuntu-users
** (evolution:21636): DEBUG: EI:mail_new_notify

(evolution:21636): GLib-CRITICAL **: g_strstr_len: assertion `needle != NULL' failed

(evolution:21636): GLib-CRITICAL **: g_strstr_len: assertion `needle != NULL' failed

(evolution:21636): GLib-CRITICAL **: g_strstr_len: assertion `needle != NULL' failed

(evolution:21636): GLib-CRITICAL **: g_strstr_len: assertion `needle != NULL' failed

** (evolution:21636): WARNING **: Unable to find account that matches mbox:/home/ogra/.evolution/mail/local#Inbox/Bugs
** (evolution:21636): DEBUG: EI: mail_read_notify
** (evolution:21636): DEBUG: Setting <email address hidden> to 0 unread messages
** (evolution:21636): DEBUG: Setting <email address hidden> to 0 unread messages
** (evolution:21636): DEBUG: Setting <email address hidden> to 0 unread messages
** (evolution:21636): DEBUG: Setting <email address hidden> to 0 unread messages
** (evolution:21636): DEBUG: Setting <email address hidden> to 0 unread messages
** (evolution:21636): DEBUG: Setting <email address hidden> to 0 unread messages
** (evolution:21636): DEBUG: EI: mail_read_notify
** (evolution:21636): DEBUG: Setting <email address hidden> to 0 unread messages
** (evolution:21636): DEBUG: Setting <email address hidden> to 0 unread messages
** (evolution:21636): DEBUG: Setting <email address hidden> to 0 unread messages
** (evolution:21636): DEBUG: Setting <email address hidden> to 0 unread messages
** (evolution:21636): DEBUG: Setting <email address hidden> to 0 unread messages
** (evolution:21636): DEBUG: Setting <email address hidden> to 0 unread messages
** (evolution:21636): DEBUG: EI: mail_read_notify
** (evolution:21636): DEBUG: Setting <email address hidden> to 0 unread messages
** (evolution:21636): DEBUG: Setting <email address hidden> to 0 unread messages
** (evolution:21636): DEBUG: Setting <email address hidden> to 0 unread messages
** (evolution:21636): DEBUG: Setting <email address hidden> to 0 unread messages
** (evolution:21636): DEBUG: Setting <email address hidden> to 0 unread messages
** (evolution:21636): DEBUG: Setting <email address hidden> to 0 unread messages
** (evolution:21636): DEBUG: EI:mail_new_notify

(evolution:21636): GLib-CRITICAL **: g_strstr_len: assertion `needle != NULL' failed

(evolution:21636): GLib-CRITICAL **: g_strstr_len: assertion `needle != NULL' failed

(evolution:21636): GLib-CRITICAL **: g_strstr_len: assertion `needle != NULL' failed

(evolution:21636): GLib-CRITICAL **: g_strstr_len: assertion `needle != NULL' failed

** (evolution:21636): WARNING **: Unable to find account that matches mbox:/home/ogra/.evolution/mail/local#Inbox
** (evolution:21636): DEBUG: EI: mail_read_notify
** (evolution:21636): DEBUG: Setting <email address hidden> to 0 unread messages
** (evolution:21636): DEBUG: Setting <email address hidden> to 0 unread messages
** (evolution:21636): DEBUG: Setting <email address hidden> to 0 unread messages
** (evolution:21636): DEBUG: Setting <email address hidden> to 0 unread messages
** (evolution:21636): DEBUG: Set...

Read more...

Changed in evolution-indicator (Ubuntu):
assignee: nobody → Neil J. Patel (njpatel)
importance: Undecided → Medium
Revision history for this message
philinux (philcb) wrote :

I have 3 pop mail accounts and they always show zero even when new mail arrives.

Changed in evolution-indicator (Ubuntu):
status: New → Confirmed
Revision history for this message
philinux (philcb) wrote : apport-collect data

Architecture: amd64
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release Candidate amd64 (20091020.3)
NonfreeKernelModules: nvidia
Package: evolution-indicator 0.2.4-0ubuntu2
PackageArchitecture: amd64
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_GB.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
Uname: Linux 2.6.31-14-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
philinux (philcb) wrote : Dependencies.txt
Revision history for this message
philinux (philcb) wrote : XsessionErrors.txt
tags: added: apport-collected
Revision history for this message
Peter Kerekfy (kerekfyp) wrote :

Hi!

I am also affected by this bug. I have an SMTP only account for sending mail and an Exchange MAPI acoount for receiving mail. All mail received through the MAPI account is copied to the local inbox by a filter rule. If I disable the "copy all" rule then indicator-applet works fine and shows the number of new messages in the MAPI account. But with the rule activated the new mail counter always shows zero and I have the following message in .xsession-errors:

** (evolution:11278): WARNING **: Unable to find account that matches mbox:/home/kerekfyp/.evolution/mail/local#Inbox

It seems that I have found a workaround for this: set up a fake POP3 account for a non-exsistent server (eg. localhost). After this tweak the indicator-applet shows the actual count of new messages for the POP3 account. Hope it helps....

Revision history for this message
stevemo (steve-morison) wrote :

I have just developed a similar problem:

I upgraded to Karmic (from Hardy) two days ago without any problems, and restored Evolution from a backup file. It worked perfectly for two days. Today, as I was reorganising recent mail into sub-folders, my main inbox started displaying "there are no messages in this folder". I can't find a way of accessing any of this mail. The mail that was in my subfolders is unchanged. I can receive new mail into my main Inbox, but I have lost all messages received before today.

I'm using Evolution to download mail from a POP (gmail) account.

I am quite new to Ubuntu, so I don't have any great ideas for a fix.
Let me know if I can help with any more information.

Thanks.

Revision history for this message
darolu (darolu) wrote :

Just adding that IMAP mail is not displayed in the indicator-applet either.
Package mail-notification and mail-notification-evolution does not work either.

Revision history for this message
Neal McBurnett (nealmcb) wrote :

darolu, your problem sounds different, and might be related to confusion over what the indicator is currently designed to show (which is not "unread" mail, but more or less mail you haven't noticed yet by looking at your inbox). See bug 441942 and the hints for debugging there.

Revision history for this message
philinux (philcb) wrote :

Now it does not show any indications of how many unread mail items there are, now only the pop up notification.

Envelope icon also used to change green, not any more.

Revision history for this message
Jean-Yves Lefort (jylefort) wrote :

This functionality stopped working for me right after upgrading to Natty. I have a POP3 account. The attached patch fixes the problem for POP3 mailboxes and (unrelatedly) also works around the lack of XDG sound support in notify-osd (if you use this patch and install the sound-theme-freedesktop package, you will get a sound on new mail).

Note that the patch is not meant to be correct or general. Also note that it is just sad (to say the least) to find that two major desktop functionalities (having a sound on new mail and having the new mail indicator work for POP3 mailboxes) are broken after upgrading a major operating system (Ubuntu) to a major release (Natty).

As a sort of relief, having a sound on new mail was already broken in previous Ubuntu release(s?), since notify-osd simply lacks the relevant implementation.

tags: added: patch
Revision history for this message
Christopher Semmler (bazong) wrote :

Ok, could you please explain how to add this patch to Evolution?
When I tried to apply it via

patch -p0 < evolution-indicator-0.2.14-fix-notify-and-sound.diff

I received the following two errors:

patching file src/evolution-indicator.c
Hunk #1 FAILED at 254.
Hunk #2 FAILED at 319.
2 out of 2 hunks FAILED -- saving rejects to file src/evolution-indicator.c.rej

Revision history for this message
Jean-Yves Lefort (jylefort) wrote :

The patch is meant to be applied to the Ubuntu source package:

  apt-get source evolution-indicator
  cd evolution-indicator-0.2.14
  patch -p0 < /path/to/evolution-indicator-0.2.14-fix-notify-and-sound.diff

Then build the package:

  sudo apt-get build-dep evolution-indicator
  dpkg-buildpackage -rfakeroot

And install it:

  sudo dpkg -i ../evolution-indicator_0.2.14-0ubuntu4_amd64.deb

Revision history for this message
Christopher Semmler (bazong) wrote :

Thanks a lot for your kind explanation. Now the notification works properly. Great job, Sir!

Revision history for this message
Christopher Semmler (bazong) wrote :

Sadly this patch only works for the main inbox folder. Subfolders are not affected by it and still do not display a blue envelope or how many mails are received in subfolders.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in evolution-indicator (Ubuntu Karmic):
status: New → Confirmed
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.