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 547798 - search folders with labels produce runtime warnings
search folders with labels produce runtime warnings
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
2.24.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
evolution[disk-summary]
Depends on:
Blocks: 543389
 
 
Reported: 2008-08-14 17:01 UTC by Milan Crha
Modified: 2013-09-13 01:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
~/.evolution/mail/vfolders.xml (1.07 KB, text/plain)
2008-08-14 17:02 UTC, Milan Crha
Details

Description Milan Crha 2008-08-14 17:01:13 UTC
I have a search folder with labels (will attach), and every time I select unread message and that turns to read one, I see on console.

e-data-server-WARNING **: Error in execution: Invalid types in OR
camel-WARNING **: camel_exception_get_id called with NULL parameter.

The bt in time of the first warning is this:

  • #0 IA__g_logv
    at gmessages.c line 395
  • #1 IA__g_log
    at gmessages.c line 517
  • #2 e_sexp_eval
    at e-sexp.c line 1316
  • #3 camel_folder_search_search
  • #4 imap_search_by_uids
  • #5 camel_folder_search_by_uids
  • #6 folder_changed_change
    at camel-vee-folder.c line 1496
  • #7 session_thread_proxy
    at camel-session.c line 592
  • #8 g_thread_pool_thread_proxy
    at gthreadpool.c line 265
  • #9 g_thread_create_proxy
    at gthread.c line 635
  • #10 start_thread
    at pthread_create.c line 297
  • #11 clone
    from /lib64/libc.so.6

other threads doesn't do anything special.
Comment 1 Milan Crha 2008-08-14 17:02:25 UTC
Created attachment 116588 [details]
~/.evolution/mail/vfolders.xml
Comment 2 Srinivasa Ragavan 2008-08-14 18:14:00 UTC
Milan, can you try to print the exp in camel_folder_search_search? 
Comment 3 Milan Crha 2008-08-15 09:57:53 UTC
The full expr is this:
(gdb) printf "%s\n", expr
 (or
  
       (match-all (or (= (user-tag "label")  "important") (user-flag (+ "$Label"  "important")) (user-flag  "important")))
    
  
       (match-all (or (= (user-tag "label")  "work") (user-flag (+ "$Label"  "work")) (user-flag  "work")))
    
  
       (match-all (or (= (user-tag "label")  "personal") (user-flag (+ "$Label"  "personal")) (user-flag  "personal")))
    
  
       (match-all (or (= (user-tag "label")  "todo") (user-flag (+ "$Label"  "todo")) (user-flag  "todo")))
    
  
       (match-all (or (= (user-tag "label")  "later") (user-flag (+ "$Label"  "later")) (user-flag  "later")))
    
  )
Comment 4 Srinivasa Ragavan 2008-08-18 09:39:51 UTC
Hmm, this is the fallback of the old code :(
Comment 5 Srinivasa Ragavan 2008-09-11 06:40:24 UTC
Fixed in trunk