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 502900 - Google Calendar does not connect, no errors given
Google Calendar does not connect, no errors given
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Calendar
2.22.x (obsolete)
Other All
: Normal major
: ---
Assigned To: ebbywiselyn
Evolution QA team
evolution[google]
: 526786 (view as bug list)
Depends on:
Blocks: 502515
 
 
Reported: 2007-12-10 18:59 UTC by Martin Meyer
Modified: 2009-10-08 09:25 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22



Description Martin Meyer 2007-12-10 18:59:21 UTC
Please describe the problem:
I've just tried to connect to my Google Calendar using the beta version of Evolution in Hardy, and I can't get it to open my calendar. My observations:

1. The URL is apparently incorrect: when I open http://www.google.com/calendar/feeds/<username>@gmail.com/full in a web browser I get the text "Calendar is not in this feed".

2. This URL is not advertised anywhere in Google Calendar that I can see, so I'm not sure where it was generated.

3. Evolution gives me no error whatsoever that an error has occurred.

4. I'm not prompted for a password. The "enable" checkbox is just immediately unselected every time I click it. An error message might be called for here...

Is there maybe some hidden option I have to enable in Google Calendar in order for this to work?

Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Martin Meyer 2007-12-10 19:00:14 UTC
Sorry for the spam, but I forgot to mention that my Evolution version is 2.21.3.
Comment 2 Chris Jones 2008-01-28 18:33:40 UTC
I'm also running this from hardy, and I think it's actually grabbing /private/full, but I don't appear to be able to log in with it anyway. It just keeps asking for my password. I've opened the URL that's represented in the [Passwords-google] section of ~/.gnome2_private/Evolution and it works fine.

For what it's worth, my google mail address is cmsjtenshu@googlemail.com, but I log into the google website with the username cmsj@tenshu.net.
I suspect that the google connector isn't able to understand that the authentication username and the google email address can be different. I don't use gmail, which is why.
Comment 3 Chris Jones 2008-01-28 18:35:53 UTC
Sorry, looking at your bug report more closely I think I am seeing something different.
Comment 4 Srinivasa Ragavan 2008-01-29 05:31:32 UTC
Ebby, can you look at it?
Comment 5 Diego Escalante Urrelo (not reading bugmail) 2008-01-30 07:38:04 UTC
note that you are not asked for your password while in offline mode, see bug #508501.
Comment 6 Matthew Barnes 2008-03-11 00:35:22 UTC
Bumping version to a stable release.
Comment 7 Alex Murray 2008-03-11 12:57:06 UTC
I get the same thing - running version evolution_2.22.0-0ubuntu1 in Hardy.

I get the following error on console:
calendar-gui-Message: Check if default client matches (1178324362.5899.12@navajo 1205240150.25898.1@navajo)

(evolution:26103): libecal-WARNING **: e-cal.c:318: Unexpected response
e-data-server-ui-Message: Key file does not have key 'Google:__http:__www.google.com_calendar_feeds_pragmatine@gmail.com_private_full'
e-data-server-ui-Message: Key file does not have key 'Google:__http:__www.google.com_calendar_feeds_pragmatine@gmail.com_private_full' in group 'Passwords-google'

and I just keep getting asked for my password - perhaps it (the password) is not being stored correctly in the key file??
Comment 8 Alex Murray 2008-03-12 00:32:56 UTC
One more thing I thought I should mention - after installing Ubuntu Hardy, I restored my old evolution settings (using the backup/restore plugin) - then added the new Google calendar entry - perhaps the key file is not being created in this case? I will try and investigate more...
Comment 9 Konrad Paumann 2008-03-27 10:28:39 UTC
I can confirm this behavior on Ubuntu Hardy beta. I didn't restore the old evolution settings by the way.
errors on the console:
---------------------------------------------------------------------------------
(evolution:26772): libecal-WARNING **: e-cal.c:318: Unexpected response
e-data-server-ui-Message: Key file does not have key 'Google:__http:__www.google.com_calendar_feeds_xxxxxxx@gmail.com_private_full'

(evolution:26772): calendar-gui-WARNING **: Unable to load the calendar Authentication failed 

e-data-server-ui-Message: Key file does not have key 'Google:__http:__www.google.com_calendar_feeds_xxxxxxx@gmail.com_private_full' in group 'Passwords-google'
---------------------------------------------------------------------------------

Comment 10 Srinivasa Ragavan 2008-03-28 06:21:41 UTC
This must be fixed in asap. Ebby?
Comment 11 brodock 2008-04-01 04:47:41 UTC
I got it accessing http://www.google.com/calendar/feeds/<mylogin>@gmail.com/private/full

But accessing this address using firefox, gave me only access to my first Calendar, not all of then.

So trying to add for example UFSC calendar gave me nothing.
I noticed that there was some other ways to retrive the all other calendars, that is using the private address they gave to you on calendar config page.

Isn't the case to ask the user for this address instead of hoping that google will give all information through "private/full" ?
Comment 12 brodock 2008-04-01 04:48:22 UTC
I forgot to mention that i'm using Ubuntu Hardy Heron with today's update
Comment 13 ebbywiselyn 2008-04-01 05:21:07 UTC
As per comment2 by chris jones

This could be a case of redirections, libgdata doesn't yet handle 
redirects, which iam working on it, POST request seems to fail. Still yet to find the exact cause. And also no data to test and reproduce.


Comment 14 brodock 2008-04-02 16:26:12 UTC
this bug is being tracked here too: https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/210090
Comment 15 Shane Donohoe 2008-04-13 02:42:47 UTC
*** Bug 526786 has been marked as a duplicate of this bug. ***
Comment 16 Srinivasa Ragavan 2008-04-14 04:29:55 UTC
Ebby, What exactly you need to test.. Im sure that users should be ready to share things to get this fixed. 
Comment 17 agostini.sylvain 2008-04-14 05:25:21 UTC
same here with ubuntu hardy beta,

i can only access the main calendar, if you need more info I will be pleased to give to you.

This bug is quite easy to reproduce : 
You need a google calendar with several calendar
Adding the main calendar, the one for which the private url has yourname@gmail.com as username works
adding other calendar for which the username is something like alotofnumbersandletters@40group.calendar.google.com seems to work but it will never connect and keep asking the password.

If I can help...
Comment 18 ebbywiselyn 2008-04-14 15:24:19 UTC
1) Martin Meyer, Alex Murray, Konrad Paumann,

Can i have more information on the type of google accounts where you have your calendar, this would help in this case. 

Is it a google Apps domain account username@somedomain.com 
or your regular account (username@gmail.com), 
or any other that iam unaware of . 

What i may presume if none of the above helps is
The error message
'Google:__http:__www.google.com_calendar_feeds_xxxxxxx@gmail.com_private_full'

could have been an gmail account or still worse a google apps account, which could be created in a incorrect way,eg without the domain name, or any other, to which the plugin had attached the "/private/full", primary projection. 

Are you still able to reproduce this bug with the latest build ? .Can you please ping me, if you can provide me, with any test accounts, where i can reproduce the issue, this would be of a very great help. 


2) Chris Jones is your bug(Google Apps Domain) still reproducible ? 
Isn't this fixed as per bug 504783 


3) As per Brodock, agostini sylvain wanadoo fr, comments

Google calendar as far as now, only supports primary calendar, Iam working on it, and will be back soon with the fixes. 

Comment 19 Martin Meyer 2008-04-14 18:39:27 UTC
I'm a regular gmail user with an @gmail.com account that I use. Right now I've actually got Evolution hung in an infinite loop trying to save my google calendar to a .ics file on my desktop. I didn't expect it to work since it can't even display the calendar, but it's spinning my cpu! Wait - 5 mins later it just popped up a dialog that just says "authentication failed", but it never asked me for a password to begin with.

Anyway, what other info can I provide to help? I have not been asked for a password for this account ever that I can recall. Are there some specific file I can delete in my home directory to try this fresh?

FWIW, that URL that it points to no longer gives me that "Calendar is not in this feed" message, it appears to be an RSS feed now, and Firefox handles it as such.
Comment 20 Martin Meyer 2008-04-14 18:43:48 UTC
Ok, new interesting thing:

After that last UI hang that lasted 5 mins before the "authentication failed" dialog I right-clicked on the account, intending to delete it. It asked me for a password this time instead of opening the context menu (I consider that a bug), now it's sitting there saying "Opening Google://http://www.google.com/calendar/feeds/XXXXXX@gmail.com/private/full (...)". It's did that for about a minute, then silently went away again. But at least it finally asked me for a password!
Comment 21 Konrad Paumann 2008-04-14 21:53:45 UTC
It seems that the problem has gone - at least for me.

btw I have a regular gmail adress (not google apps)

To have support for non primary calendars would be really awesome. To not be able to see the secondary calendars is reducing my user experience because I use secondary calendars in the google calendar webapp extensively.

Comment 22 Chris Jones 2008-04-17 12:44:43 UTC
ebby: yes, my problem seems to have disappeared in more recent Hardy packages :)
Comment 23 Bryan christ 2008-06-11 16:26:39 UTC
I have this same problem on Fedora 9.  Evolution version is 2.22.2.  According to some of the last comments, this problem just "went away".  Should I request Fedora release a later build?
Comment 24 Jan Mynarik 2008-07-09 11:50:20 UTC
In current (2008-07-09) Ubuntu Hardy default calendar works but not others. I am especially interested in ability to work in Evolution with a calendar shared with me by other person ... and that doesn't work.
Comment 25 Mackenzie Morgan 2008-09-11 06:10:25 UTC
The problem of not being able to access specific calendars (even after providing the name of the calendar when prompted) definitely does still exist in Ubuntu Hardy.
Comment 26 Martin Meyer 2008-09-11 13:20:03 UTC
re comment 25:

The ability to select a specific calendar exists now in the beta versions (2.23.x) which are included in Intrepid. It still seems a bit rough around the edges. Specifically, the dialog doesn't seem to cache the list of calendars that got returned. I'm not sure what I really expect to happen there, but it doesn't seem right somehow. Maybe I can elaborate when I get home today and start using that system.

---

Is anyone here still having my original problem, which was the "failure to connect with no error message when it fails" thing? I don't have this problem with the 2.23.x series, so I suggest we close this bug and open new ones for further issues.
Comment 27 Bryan christ 2008-09-11 15:05:23 UTC
I have the problem, but then again I am on version 2.22.3.1 :/
Comment 28 Milan Crha 2008-09-12 12:26:10 UTC
(In reply to comment #26)
> The ability to select a specific calendar exists now in the beta versions
> (2.23.x) which are included in Intrepid. It still seems a bit rough around the
> edges. Specifically, the dialog doesn't seem to cache the list of calendars
> that got returned. I'm not sure what I really expect to happen there, but it
> doesn't seem right somehow. Maybe I can elaborate when I get home today and
> start using that system.

Feel free to suggest anything better. The cache of calendars could be wrong, imagine you added in google's UI some calendar, evo will not know, what will happen? User files a bug. Thus I hope the actual behavior is safer. 

> Is anyone here still having my original problem, which was the "failure to
> connect with no error message when it fails" thing? I don't have this problem
> with the 2.23.x series, so I suggest we close this bug and open new ones for
> further issues.

Or just wait for release of 2.24 and then close it. I believe it's fixed now.
Comment 29 Martin Meyer 2008-09-12 13:02:49 UTC
The problem I saw was the explicit refresh button, combined with the fact that the list isn't remembered after the dialog is closed. When I opened up my calendar proprerties later, the list either showed only one option (the one previously selected) or some generic "pick one" (I really can't remember which and I don't have a newer Evo at the moment to check on).

Possible solution: eliminate that refresh button and make it automatically refresh list, but only if you've already given a password. If this is your first time clicking the select, you should get an option saying something like "Retrieve list from Google" which will then open a password dialog.

Note that the user probably does *not* want a password prompt to appear as soon as they try to see the content of that drop-down field. That is annoying behavior. If you want to do that then at least leave a little string beside it that says "(you will be asked for your password if it is not saved)". It's nice to let people understand why they're suddenly being prompted for a password.

(sorry about that rant, I've seen too many badly implemented UIs like that in the past and I'd like to keep it from happening all over again. I die a little inside every time I'm inexplicably asked to login to something.)
Comment 30 Akhil Laddha 2009-08-21 12:15:34 UTC
Google calendar has been replaced by the CalDAV support in 2.27.x see bug 583374. 
It would be better to try out google calendar with caldav when evolution 2.28.0 comes out and let us know your feed back, thanks.
Comment 31 Akhil Laddha 2009-10-08 07:48:50 UTC
Evolution 2.28.0 has been released. Could anyone please try and report back that problem is fixed or not ?
Comment 32 Alex Murray 2009-10-08 08:34:14 UTC
CalDAV + Google Calendar seems to work well for me with Evo 2.28.
Comment 33 Jan Mynarik 2009-10-08 08:41:07 UTC
Works great for me ... Evolution 2.28.0.
Comment 34 Akhil Laddha 2009-10-08 09:25:15 UTC
Thanks.