GNOME Bugzilla – Bug 554531
search folder don't work anymore
Last modified: 2009-01-29 16:49:07 UTC
This is on Mandriva Cooker with evolution 2.24 on GNOME 2.24. Search folders worked fine in evo 2.22 but don't work anymore. I've tried to recreate the folder, but no effect. This is what I've tried: 1. create a folder from a search named "Unread" 2. set the criteria to "Status" "is not" "read" 3. select the folder mbox:Inbox A folder is created, in the summary, 20509 messages are displayed, althoug the folder Inbox contains only 9044 messages and none of them is unread.
Do you have items in spam folder ? I think "is not" "read" includes "replied" and "spam"
I don't know. I've selected mbox:Inbox as folder to search, that should exclude the spam folder.
Deleting all 5 mails from the spam folder made no difference.
Gotz, spam may still come up, but not visible. Is it your count is broken? or you see read mails on the unread vfolder ?
I have recreated the folder, now the count is right again, but there are still read and even deleted mails in the unread vfolder.
*** Bug 556124 has been marked as a duplicate of this bug. ***
Gotz, can you paste me your start upload, when you start up evo with 'export CAMEL_DEBUG=all' ? It might be huge, just redirect to a file and attach here or email me.
Gotz, do you have vfolder of vfolders? It might be due to that.
Created attachment 120769 [details] evolution start log No, both vfolders are of the local inbox.
Gotz, are you on irc? I might have to debug a bit more closer. Also can you give me you vfolders.xml file ?
Created attachment 120770 [details] vfolder file Yes, I can meet you on irc.
I would like to try on stable branch code. I want to see how it behaves. lots of fixes tehre. its odd, what ever you are facing. just try stable and lemme know.
I have updated e-d-s to r9687 and evo to r36639. My vfolder "unread" still contains read and deleted messages.
Gotz, can you remove vfolder/folders.db and then export CAMEL_DEBUG=search evolution > /tmp/log 2>&1 and attach me the /tmp/log file?
Created attachment 120874 [details] evolution log
Gotz, thanks a lot. Can you export CAMEL_DEBUG=vfolderexp and start evolution. Collect the console logs and paste me. Gotz, sorry for so many iterations, Its tough debugging remotely, when issues aren't reproduced local. thanks. Gotz, can we chat again for 15mins, I hope we can fix it by that time. thanks
CAMEL_DEBUG=vfolderexp evolution (evolution:11114): e-utils-WARNING **: can't load plugin '/usr/lib/evolution/2.24/plugins/liborg-gnome-exchange-operations.so': /usr/lib/evolution/2.24/libecontactlisteditor.so.0: undefined symbol: eab_merging_book_add_contact (evolution:11114): e-utils-WARNING **: can't load plugin '/usr/lib/evolution/2.24/plugins/liborg-gnome-exchange-operations.so': /usr/lib/evolution/2.24/libecontactlisteditor.so.0: undefined symbol: eab_merging_book_add_contact ** (evolution:11114): DEBUG: mailto URL command: evolution %s ** (evolution:11114): DEBUG: mailto URL program: evolution libnm_glib_nm_state_cb: dbus returned an error. (org.freedesktop.DBus.Error.ServiceUnknown) The name org.freedesktop.NetworkManager was not provided by any .service files
I'm sorry, you might have to del the vfolders/folders.db before doing this. I assume you have the latest stable branch code [last week or so]
That doesn't change the output, same as in c#17.
Gotz, I think I found the soln for your problem. <rule enabled="true" grouping="all" source="incoming"> You have enabled, "Include thread" as "All related", which picks the related mails. I guess this is the same behaviour in 2.22.x also.
Created attachment 120992 [details] [review] Test patc This helps to get the behaviour of not removing unread messages on reading. Lemme know how it goes.
My search folders are configured not to include threads. They still contain deleted messages.
Sorry, I misunderstood with "threading=all". Do you have 2.24.1 ? Does it still fail for you? I have some users, for whom unread vfolder is working. So Im just figuring out whatz broken on Evo in your case :(.
It is still broken in 2.24.1 and also in 2.25.1.
Gotz, another try, do export CAMEL_DEBUG=vfolderexp start evolution, go to the unread vfolder and mark a mail as read and seee the console and paste me. Sorry for the iterations, Im unable to catch your case.
# CAMEL_DEBUG=vfolderexp evolution (evolution:27045): e-utils-WARNING **: can't load plugin '/usr/lib/evolution/2.26/plugins/liborg-gnome-exchange-operations.so': /usr/lib/evolution/2.26/libecontactlisteditor.so.0: undefined symbol: eab_merging_book_add_contact (evolution:27045): e-utils-WARNING **: can't load plugin '/usr/lib/evolution/2.26/plugins/liborg-gnome-exchange-operations.so': /usr/lib/evolution/2.26/libecontactlisteditor.so.0: undefined symbol: eab_merging_book_add_contact ** (evolution:27045): DEBUG: mailto URL command: evolution %s ** (evolution:27045): DEBUG: mailto URL program: evolution Expression for vfolder 'Ungelesen' is ' (and\n \n (match-all (not (system-flag \"Seen\")))\n \n )\n' This is with evo 2.25.1.
Gotz, the experssion is exactly the same as what I have fixed. Its talking longer than this bug deserves. Gotz, can we meet up on irc, and I need 15 mins of your to exactly find your setup.. Sorry for the inconvenience.
This patch is commited to stable/trunk
To #27: not possible, please communicate over bugzilla.
Ok. Just another try. export CAMEL_DEBUG=vfolderexp evolution Get the console log of Expression for vfolder 'Ungelesen' is ' (and\n \n (match-all (not (system-flag \"Seen\")))\n \n )\n' Now, copy what ever expression is with in the single quotes for your folder 'Ungelesen', exact-including spaces and export CAMEL_VFOLDER_UNREAD_EXP='that value' evolution. Now see how your unread vfolder behaves? This is a part of the hack I added, incase, some one has a different unread vfolder query, they can set it through this value. But this must make the unread vfolder work well. But I still don't see, how you see read mails in that folder. This is a unique problem :(
Created attachment 123862 [details] screenshot As you can see, this still happens. I have then deleted and recreated the vfolder and the new folder works for now.
Gotz, the counts are wrong. But any other issue in the screenshot?
The other issues are visible on my other machine.
Gotz: Did you try 2.24.3? I had fixed many issues in that. It would be nice if you could give a try and update your problems. Thanks.
I cannot reproduce it at the moment.
Please re-open if you get it again. Thanks.