Bug 744442

Summary: removing and adding account does not work
Product: [Fedora] Fedora Reporter: Jeff Bastian <jbastian>
Component: evolutionAssignee: Matthew Barnes <mbarnes>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 16CC: bnocera, davidz, dbraunwarth, lucilanga, mbarnes, mcrha, pedrogfrancisco
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-13 16:36:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jeff Bastian 2011-10-08 18:16:52 UTC
Description of problem:
I configured Gnome Online Accounts for my gmail account and started Evolution but my calendar was not configured.  Email and contacts worked, but not the calendar.

I thought that was strange, so I removed my gmail account from Gnome Online Accounts and added it back again.  When I restarted Evolution, all of my Email folders gave me an error:
  Cannot find a corresponding account in the org.gnome.OnlineAccounts
  service from which to obtain an authentication token.

I decided to try once more.  I shut down Evolution, removed my gmail account, added it again, and now I have nothing in Evolution: no email, no contacts, no calendar.

I can configure Evolution within Evolution to use my gmail account, but Gnome Online Accounts is not working.

I tried removing my
  ~/.cache/evolution
  ~/.config/evolution
  ~/.gconf/apps/evolution
  ~/.local/share/evolution
and starting over but that didn't seem to matter.

I also went into my Gmail account settings and removed GNOME from the list of Authorized Applications, then re-added the account to Gnome Online Accounts, but that didn't seem to help either.

Version-Release number of selected component (if applicable):
gnome-online-accounts-3.2.0.1-1.fc16.x86_64
evolution-3.2.0-1.fc16.x86_64

How reproducible:
every time(?)

Steps to Reproduce:
1. add Google account to Gnome Online Accounts
2. remove Gogle account to Gnome Online Accounts
3. add Google account to Gnome Online Accounts
4. repeat until it breaks
  
Actual results:
Evolution is not configured for Google account

Expected results:
Evolution works with Google mail, contacts, and calendar

Additional info:

Comment 1 David Zeuthen 2011-10-10 14:37:32 UTC
This seems like a problem with Evolution so reassigning.

Comment 2 Matthew Barnes 2011-10-10 14:48:05 UTC
Try configuring GNOME Online Accounts while Evolution is running and see if that works any better.

Comment 3 Jeff Bastian 2011-10-10 15:51:04 UTC
That did work better: Evolution is now configured for email, contacts, and calendar.

I also discovered in
  Gnome System Settings -> System Info -> Default Applications
that my default calendar was set to KOrganizer.  I'm not sure how that happened, but I changed it to Evolution before the above test.

Of course, in order to do the above test, I had to enter a fake email address (user@localhost) into Evolution's wizard in order to start Evo before running Gnome Online Accounts.

Comment 4 Jeff Bastian 2011-10-10 15:59:53 UTC
Next, I shut down Evolution and then went back to Gnome Online Accounts and removed my gmail account.

I started Evolution up again and it's still configured for my gmail account, but when I click on an email to read it, it gives the error:
  Cannot find a corresponding account in the org.gnome.OnlineAccounts
  service from which to obtain an authentication token.


I started from scratch and repeated the test while Evolution was running and it correctly handled the removal of the account from Gnome Online Accounts.

Comment 5 Matthew Barnes 2011-10-10 16:07:32 UTC
That's helpful, thanks.  That suggests Evolution's initial scan of online accounts may be buggy, but it's correctly receiving and handling "account-added" and "account-removed" signals from the service.

Comment 6 Milan Crha 2011-10-10 19:24:40 UTC
I would pair this with the upstream bug [1].

[1] https://bugzilla.gnome.org/show_bug.cgi?id=660721

Comment 7 Pedro Francisco 2012-05-14 21:29:54 UTC
I think this is still on F17 though it shouldn't according to the linked bug report ( https://bugzilla.gnome.org/show_bug.cgi?id=660721 )

Comment 8 Milan Crha 2012-05-15 09:20:09 UTC
(In reply to comment #7)
> I think this is still on F17 though it shouldn't according to the linked bug
> report ( https://bugzilla.gnome.org/show_bug.cgi?id=660721 )

What do you mean, please? Is it that you are actually able to reproduce it in F17? What if you run evolution from console, is it printing there any critical warnings?

Comment 9 Pedro Francisco 2012-05-15 09:50:52 UTC
Yes, F17. Apparently you can't rename the account name 'username' to 'Gmail'. Is this a known bug?

Comment 10 Pedro Francisco 2012-05-15 09:53:17 UTC
I'm sorry, I should have read things more carefully:

What happens is: I can trigger the error: «Cannot find a corresponding account in the org.gnome.OnlineAccounts service from which to obtain an authentication token.» by renaming the account.

Everything else is working, so not the same bug. I shall open a new one.

Comment 11 Pedro Francisco 2012-05-15 10:13:26 UTC
Changing _any_ setting of the account (including selecting "Check for new mail in all folders") seems to trigger the error «Cannot find a corresponding account
in the org.gnome.OnlineAccounts service from which to obtain an authentication
token». Filled bug 821667 . Sorry for the noise here.

Comment 12 MrBrownwait 2012-06-09 13:39:53 UTC
I've got the same error  on F17 but actually I'm not able to change any setting in the account editor because the apply-button every time gets greyed out

Comment 13 Fedora End Of Life 2013-01-16 15:13:54 UTC
This message is a reminder that Fedora 16 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 16. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '16'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 16's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 16 is end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" and open it against that version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 14 Fedora End Of Life 2013-02-13 16:36:27 UTC
Fedora 16 changed to end-of-life (EOL) status on 2013-02-12. Fedora 16 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.