Bug 888172

Summary: Evolution stuck on Send message
Product: [Fedora] Fedora Reporter: Mikhail <mikhail.v.gavrilov>
Component: evolutionAssignee: Matthew Barnes <mbarnes>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: aliakc, braden, lucilanga, mbarnes, mcrha, nuno.dias
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-07 10:19:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Evolution screenshot
none
evolution backtrace
none
evolution-calendar-factory backtrace
none
evolution-addressbook-factory backtrace
none
evolution-source-registry backtrace
none
evolution-alarm-notify backtrace
none
screenshot of evolution preferences
none
screenshot of evolution contacts
none
screenshot of evolution contacts (On This Computer/Personal)
none
screenshot of evolution contacts (m.gavrilov@citrus-it.ru/Global Address List)
none
screenshot of evolution account editor (Cache offline address book is enabled) none

Description Mikhail 2012-12-18 07:37:03 UTC
Created attachment 665344 [details]
Evolution screenshot

Description of problem:
Evolution stuck on Send message

Comment 1 Mikhail 2012-12-18 07:37:33 UTC
Created attachment 665345 [details]
evolution backtrace

Comment 2 Mikhail 2012-12-18 07:38:16 UTC
Created attachment 665346 [details]
evolution-calendar-factory backtrace

Comment 3 Mikhail 2012-12-18 07:40:47 UTC
Created attachment 665348 [details]
evolution-addressbook-factory backtrace

Comment 4 Mikhail 2012-12-18 07:41:24 UTC
Created attachment 665349 [details]
evolution-source-registry backtrace

Comment 5 Mikhail 2012-12-18 07:42:20 UTC
Created attachment 665350 [details]
evolution-alarm-notify backtrace

Comment 6 Milan Crha 2013-01-07 10:19:21 UTC
Thanks for a bug report. I see all the background processes idle, only the evolution process is busy in getting a sender's photo from an address book (but, as I said, the address book factory is idle, not working on anything), thus it seems like a response of the request to the addressbook got lost. Also, I do not see the message sending itself in the backtrace, which can be caused by an async operation, which do not show up in backtraces.

I made this [1] change for 3.8.0, which should help a bit, but not on the lost response, only on a piling photo lookup requests.

I moved this upstream, as [2]. Please see [2] for any further updates.

[1] http://git.gnome.org/browse/evolution/commit/?id=63cff95414
[2] https://bugzilla.gnome.org/show_bug.cgi?id=691276

Comment 7 Milan Crha 2013-01-07 10:20:55 UTC
*** Bug 887963 has been marked as a duplicate of this bug. ***

Comment 8 Milan Crha 2013-01-07 10:40:32 UTC
*** Bug 888657 has been marked as a duplicate of this bug. ***

Comment 9 Milan Crha 2013-01-07 10:41:54 UTC
*** Bug 889680 has been marked as a duplicate of this bug. ***

Comment 10 Milan Crha 2013-01-07 11:15:12 UTC
Meanwhile, as a workaround, I would suggest to disable Edit->Preferences->Mail Preferences->tab Headers, and at the top Show sender photo..., which is causing the photo lookups in the backtraces.

Comment 11 Milan Crha 2013-01-07 11:16:13 UTC
*** Bug 888335 has been marked as a duplicate of this bug. ***

Comment 12 Mikhail 2013-01-07 11:19:19 UTC
Created attachment 673924 [details]
screenshot of evolution preferences

Comment 13 Milan Crha 2013-01-07 11:20:16 UTC
*** Bug 888661 has been marked as a duplicate of this bug. ***

Comment 14 Milan Crha 2013-01-07 11:20:31 UTC
*** Bug 888682 has been marked as a duplicate of this bug. ***

Comment 15 Mikhail 2013-01-07 11:21:41 UTC
Disable both checkboxes?

Comment 16 Milan Crha 2013-01-07 12:04:59 UTC
Once you uncheck the first, the second will be disabled, which means its value doesn't influence the behaviour. In other words, unchecking the first option should stop doing the photo lookups (definitely the next start of evolution, in case there is any pending photo lookup already).

I thought you do search in EWS books too, but the screen shot shows that you instruct evolution with local book search only, which is strange to me.

Comment 17 Milan Crha 2013-01-07 12:07:28 UTC
By the way, when you open Contacts view, how many books do you see there under On This Computer? Do have each of them at least one contact filled there?

Comment 18 Milan Crha 2013-01-07 12:16:13 UTC
*** Bug 889708 has been marked as a duplicate of this bug. ***

Comment 19 Milan Crha 2013-01-07 12:18:49 UTC
*** Bug 890055 has been marked as a duplicate of this bug. ***

Comment 20 Milan Crha 2013-01-07 12:19:49 UTC
*** Bug 890873 has been marked as a duplicate of this bug. ***

Comment 21 Mikhail 2013-01-07 15:37:11 UTC
Created attachment 674145 [details]
screenshot of evolution contacts

Comment 22 Milan Crha 2013-01-07 19:03:05 UTC
OK, so you've one On This Computer/Personal address book. The evolution searched in that one only. How many contacts the Personal book contains?

Comment 23 Mikhail 2013-01-07 20:00:49 UTC
Created attachment 674329 [details]
screenshot of evolution contacts (On This Computer/Personal)

Comment 24 Mikhail 2013-01-07 20:03:22 UTC
And also very strange why I still not found any contact in GAL?

Comment 25 Mikhail 2013-01-07 20:04:45 UTC
Created attachment 674330 [details]
screenshot of evolution contacts (m.gavrilov/Global Address List)

Comment 26 Milan Crha 2013-01-08 09:47:32 UTC
Thanks for the update. So your Personal book is empty. I'm writing this to the upstream bug, because it seems to make the difference.

With respect the GAL, the screen shot shows "Search for the Contact" in the view where the contacts are usually known. I see at the top that you have set "Any field contacts" search type. The thing is that the GAL is browsable only if it is cached for offline (check the option in Mail account preferences). Note it is a different option than cache for offline in the Book Properties.

In case you do not have the GAL set for offline, then only the "Email" search works, thus click the magnifier icon in the Show entry and pick the "Email begins with" filter, then write a prefix of the email you want to get, and press Enter, the view should be populated will all matching contacts on the server. You can write your own filter, as an Advanced Search, the only rule is to use the EMail filter type.

Comment 27 Mikhail 2013-01-08 10:24:33 UTC
Created attachment 674660 [details]
screenshot of evolution account editor (Cache offline address book is enabled)

Comment 28 Mikhail 2013-01-08 10:28:11 UTC
(In reply to comment #26)
> With respect the GAL, the screen shot shows "Search for the Contact" in the
> view where the contacts are usually known. I see at the top that you have
> set "Any field contacts" search type. The thing is that the GAL is browsable
> only if it is cached for offline (check the option in Mail account
> preferences). Note it is a different option than cache for offline in the
> Book Properties.
>

I enabled "Cache offline address book" option, but nothing happens (only the "Email" search works)

Comment 29 Milan Crha 2013-01-08 11:37:05 UTC
I'm not sure, but I think there is a some bug in ews, when you enable offline caching, with selected Global Address List (just like you have in the screen shot), then it requires restart of all evolution processes. Or there might be missing some patch backport from master. I do not recall precisely now, I'm sorry.

Comment 30 Mikhail 2013-01-08 12:34:38 UTC
I am restart computer, and I see this:

https://docs.google.com/open?id=0B0nwzlfiB4aQOG8yM0lIWU9rZHc

Search by "Any fields contains" occurs "This query did not complete successfully. GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._e_2dbook_2dbackend_2dsqlitedb_2derror_2dquark.Code0: no such column: x" error

Only works search by "Name contains" and "Email begins".

And without any filter I still not see contacts.

Comment 31 Milan Crha 2013-01-08 16:13:27 UTC
Aha, I see, it's new to me. It'll be good to open a new bug report upstream, against evolution-ews, if it's not filled yet. Thanks in advance.

Comment 32 Milan Crha 2013-01-25 18:10:26 UTC
*** Bug 886239 has been marked as a duplicate of this bug. ***

Comment 33 Milan Crha 2013-01-30 10:32:23 UTC
*** Bug 905560 has been marked as a duplicate of this bug. ***

Comment 34 Milan Crha 2013-02-18 10:57:17 UTC
*** Bug 912016 has been marked as a duplicate of this bug. ***

Comment 35 Milan Crha 2013-02-25 17:44:08 UTC
*** Bug 914954 has been marked as a duplicate of this bug. ***

Comment 36 Milan Crha 2013-03-27 07:31:44 UTC
*** Bug 928085 has been marked as a duplicate of this bug. ***