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 629106 - Evolution Does not Open the OWA Tree
Evolution Does not Open the OWA Tree
Status: RESOLVED DUPLICATE of bug 581050
Product: Evolution Exchange
Classification: Deprecated
Component: Connector
2.30.x
Other Linux
: Normal blocker
: ---
Assigned To: Connector Maintainer
Ximian Connector QA
: 635737 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-09-08 20:13 UTC by Rocko
Modified: 2010-11-25 01:38 UTC
See Also:
GNOME target: ---
GNOME version: 2.31/2.32


Attachments
OWA Tree Bug (11.28 KB, image/png)
2010-09-08 20:13 UTC, Rocko
  Details
Evolution Install (109.41 KB, image/png)
2010-09-08 22:10 UTC, Rocko
  Details
The patch based on evolution-exchange-2.30.2 version (759 bytes, patch)
2010-10-16 01:59 UTC, yanjing.guo
none Details | Review
if the type has been registered, ensure it can return that type. (478 bytes, patch)
2010-10-25 08:44 UTC, Jeff Cai
none Details | Review
The old patch may cause dead lock. The new patch changes the static library to be dynamic (322 bytes, patch)
2010-10-25 12:12 UTC, Jeff Cai
none Details | Review

Description Rocko 2010-09-08 20:13:08 UTC
Created attachment 169802 [details]
OWA Tree Bug

I am using 10.10 Ubuntu with Evolution 2.30.3, I am connecting to my Exchange server using OWA, the tree for my mails does not want to open.  I have cleaned my profile, created another user etc but nothing works until I invoke evolution from term evolution --disable-eplugin and then I am able to open the tree etc.

It is a critical bug for me, I have to resort to OWA and I would love to use Evolution.
Comment 1 André Klapper 2010-09-08 20:22:16 UTC
> the tree for my mails does not want to open.

What does that exactly mean? Did you click the triangle in front of "Work"? If so, what happens?
Comment 2 Rocko 2010-09-08 20:41:45 UTC
I click the triangle and it does not expand
Comment 3 André Klapper 2010-09-08 20:45:58 UTC
Well... Nothing happens at all? As if you had not clicked it? Or does it try to expand and stops?

Also, can you start evolution from a terminal (enter "evolution" and hit the Enter key), let it start, click that triangle, and afterwards copy all the output from the terminal and paste it here? Thanks in advance!
Comment 4 Rocko 2010-09-08 21:23:05 UTC
EI: MAIL PREFS gets written to console.
Comment 5 André Klapper 2010-09-08 21:40:56 UTC
That is the only line that is ever displayed in the terminal after starting Evolution?
Hmm, I cannot find "MAIL PREFS" in any evolution* codebase...

Can you also answer my first question (what happens with the triangle)?

Do you use evolution-exchange or do you use evolution-mapi to access your Exchange account? (You could check which of them is installed by going to your package / application center of your distribution.)
Comment 6 Rocko 2010-09-08 22:10:04 UTC
Created attachment 169809 [details]
Evolution Install
Comment 7 Rocko 2010-09-08 22:24:30 UTC
It seems that clicking on the traingle would open the triangle but nothing happens.

I am using evolution Exchange
Comment 8 Fabio Durán Verdugo 2010-09-08 22:26:20 UTC
Andre: maybe is only bug in Ubuntu look the link -> 
https://bugs.launchpad.net/ubuntu/+source/evolution-exchange/+bug/631282 The bug too affect me, but in Fedora 13 I can't reproduce.

USING fabio@OptimusPrime:~$ CAMEL_DEBUG=all E2K_DEBUG=1 evolution
when try to expand I get this:

CamelException.set(0x88fa30c, 3, 'Cancelled')
Thread 0 >
Get folder info(0x84f62f0:exchange://USER@DOMAIN/, '<null>') =
< 0 >
Comment 9 Rocko 2010-09-08 22:30:36 UTC
Interesting I was getting this issue on 10.4 and for some reason I thought that it might have been fixed in 10.10 with the latest evolution and gnome release but it seems otherwise.
Comment 10 Matthew Barnes 2010-09-09 03:00:41 UTC
What version of Exchange is your server?  Note that evolution-exchange only works with versions up to and including 2003.  For Exchange 2007 or 2010, evolution-mapi is your only option.
Comment 11 Fabio Durán Verdugo 2010-09-09 14:11:47 UTC
(In reply to comment #10)
> What version of Exchange is your server?  Note that evolution-exchange only
> works with versions up to and including 2003.  
My exchange-server is 2003

> For Exchange 2007 or 2010,
> evolution-mapi is your only option.
Yes, I know this. But is not the case.


You need other info?
Comment 12 Rocko 2010-09-09 16:03:05 UTC
My Exchange server is 2003 as well.
Comment 13 Gordon.W.Ross 2010-09-15 15:15:24 UTC
I see this same problem with Gnome 2.30.2 on OpenSolaris.
(Builds 143 and later).  In summary:

The add account wizard completes, but then you can not
expand the folder tree for the new account.

BTW, if developers need an Exchange server to test with,
please have a look at gmail.com which now has options to
present your account as if it were an Exchange server.
Comment 14 anvarich 2010-09-17 11:53:32 UTC
Additinoal bug in Ubuntu 10.10 https://bugs.launchpad.net/ubuntu/+source/evolution-exchange/+bug/617549, people recomendation starting evolution with --disable-eplugin after exchange account setup.
Comment 15 Fabio Durán Verdugo 2010-09-21 19:27:47 UTC
yes with --disable-eplugin the triangle expand...
Comment 16 Gordon.W.Ross 2010-09-21 21:13:39 UTC
(In reply to comment #15)
> yes with --disable-eplugin the triangle expand...

That work around is useless because when you do that,
evolution crashes immediately upon opening the account
that uses the exchange connector.
Comment 17 Mike D 2010-10-04 15:26:54 UTC
The only work around that I have found is to start evolution in offline mode and connect it once started.  

http://blog.dinel.org.uk/?p=200

evolution --offline

However it doesn't work very well, as it often freezes or gets stuck trying to sync.


I also get this as output to the command line

EI: MAIL PREFS
Comment 18 yanjing.guo 2010-10-16 01:59:25 UTC
Created attachment 172476 [details] [review]
The patch based on evolution-exchange-2.30.2 version
Comment 19 yanjing.guo 2010-10-16 01:59:38 UTC
The root cause is that both libexchange-storage.a and libevolution-exchange-shared.a are built depending on exchange_account_get_type function.

The solution is to change liborg-gnome-exchange-operations.la's built dependence.

Please try the patch attached.
Comment 20 Fabio Durán Verdugo 2010-10-18 02:39:25 UTC
Now this is fixed for me, in the update for maverick to evolution, evolution-data-server, evo-plugins, evo-exchange.
Comment 21 Roshan Mani 2010-10-20 13:22:07 UTC
(In reply to comment #16)
> (In reply to comment #15)
> > yes with --disable-eplugin the triangle expand...
> 
> That work around is useless because when you do that,
> evolution crashes immediately upon opening the account
> that uses the exchange connector.

Under System->Preferences->Main Menu, I modified the Launcher Properties for Evolution Mail to 'evolution %U --disable-eplugin' .. Evolution's now working just fine.. Am able to sync e-mail, calendar and contacts using OWA (I think my company uses Exchange 2007).

Navigating the GAL is not possible in this configuration.
Comment 22 André Klapper 2010-10-20 13:26:06 UTC
Can everybody having this problem please clarify
* whether you use evolution-exchange or evolution-mapi
* whether you use 2.30 or 2.32
? Thanks.
Comment 23 Matthew Barnes 2010-10-20 13:33:04 UTC
From what I understand, this is a GtkStatusIcon bug.  You might be able to work around the bug by simply disabling the "Mail Notification" plugin under Edit -> Plugins.  That's why --disable-eplugin works, but it's overkill.
Comment 24 Matthew Barnes 2010-10-20 13:34:07 UTC

*** This bug has been marked as a duplicate of bug 581050 ***
Comment 25 Roshan Mani 2010-10-20 13:49:15 UTC
(In reply to comment #21)
> (In reply to comment #16)
> > (In reply to comment #15)
> > > yes with --disable-eplugin the triangle expand...
> > 
> > That work around is useless because when you do that,
> > evolution crashes immediately upon opening the account
> > that uses the exchange connector.
> 
> Under System->Preferences->Main Menu, I modified the Launcher Properties for
> Evolution Mail to 'evolution %U --disable-eplugin' .. Evolution's now working
> just fine.. Am able to sync e-mail, calendar and contacts using OWA (I think my
> company uses Exchange 2007).
> 
> Navigating the GAL is not possible in this configuration.

I use Evolution 2.30.3 on Ubuntu 10.10 and evolution-exchange..
Comment 26 Roshan Mani 2010-10-20 14:01:57 UTC
(In reply to comment #21)
> (In reply to comment #16)
> > (In reply to comment #15)
> > > yes with --disable-eplugin the triangle expand...
> > 
> > That work around is useless because when you do that,
> > evolution crashes immediately upon opening the account
> > that uses the exchange connector.
> 
> Under System->Preferences->Main Menu, I modified the Launcher Properties for
> Evolution Mail to 'evolution %U --disable-eplugin' .. Evolution's now working
> just fine.. Am able to sync e-mail, calendar and contacts using OWA (I think my
> company uses Exchange 2007).
> 
> Navigating the GAL is not possible in this configuration.

I use Evolution 2.30.3 on Ubuntu 10.10 and evolution-exchange..
Comment 27 Roshan Mani 2010-10-20 14:06:15 UTC
(In reply to comment #23)
> From what I understand, this is a GtkStatusIcon bug.  You might be able to work
> around the bug by simply disabling the "Mail Notification" plugin under Edit ->
> Plugins.  That's why --disable-eplugin works, but it's overkill.

Tried this, but didn't work for me.. Could it be yet another plugin that's causing the problem?
Comment 28 yanjing.guo 2010-10-21 08:27:02 UTC
Try --disable-eplugin, it works.
Try disabling the "Mail Notification" plugin, it does not work.

I use evolution 2.30.2 on opensolaris b149 and evolution-exchange.
Comment 29 Jeff Cai 2010-10-25 08:44:00 UTC
Created attachment 173156 [details] [review]
if the type has been registered, ensure it can return that type.

Since exchange_account_get_type is defined in a static library which has been included into several other libraries, there are dozens of duplicate symbols in the whole process space. This will cause the failure of invocation g_type_register_static. This patch ensures that once the type is registered, it can be returned correctly.
Comment 30 Jeff Cai 2010-10-25 12:12:02 UTC
Created attachment 173170 [details] [review]
The old patch may cause dead lock. The new patch changes the static library to be dynamic
Comment 31 Fabio Durán Verdugo 2010-11-25 01:38:32 UTC
*** Bug 635737 has been marked as a duplicate of this bug. ***