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 525555 - Evolution forgets Google Calendar credentials
Evolution forgets Google Calendar credentials
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Calendar
unspecified
Other All
: Normal normal
: ---
Assigned To: Milan Crha
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2008-04-01 14:38 UTC by Jorge Castro
Modified: 2008-08-20 08:43 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
proposed evo patch (4.04 KB, patch)
2008-07-18 12:14 UTC, Milan Crha
needs-work Details | Review
proposed evo patch ][ (4.20 KB, patch)
2008-08-18 11:37 UTC, Milan Crha
committed Details | Review

Description Jorge Castro 2008-04-01 14:38:46 UTC
Please describe the problem:
Evolution's username field stays blank when using google calendar.

Steps to reproduce:
1. If I make an account for google in Evolution, I can't see any events from the google calendar.
2. With right click and choosing properties there is no username! 
3. If the username is typed it can't be stored and the field of username stays blank.

Actual results:


Expected results:


Does this happen every time?


Other information:
This bug was filed in Ubuntu but I could not find it here, so I created it.

https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/198111
Comment 1 Rodney Dawes 2008-04-01 17:54:32 UTC
evolution webcal != evolution calendar. This product is for the evolution-webcal module in svn which provides a subscription interface for webcal:// uris in the browser.
Comment 2 Jose M. daLuz 2008-04-02 12:40:44 UTC
Running Evolution 2.22.0 I have the same issue. This is on Gentoo, running Gnome 2.22.0.

Note that I had set this calendar up during the 2.21 dev cycle. When I first fired up Evo 2.22 it downloaded my calendar events correctly. I tried making a change, first on the Evo end then on the Google Calendar end but it did not sync. I deleted and re-created the calendar (on Evo), which left me with no Google Calendar events.

Going into the properties for the calendar, I ran into the issue the reporter mentioned, where it would not save my username.

While working on this, I saw the following in /var/log/messages:

Apr  2 08:18:49 joehome gnome-keyring-daemon[7040]: couldn't read 4 bytes from client: 
Apr  2 08:18:53 joehome gnome-keyring-daemon[7040]: couldn't read 4 bytes from client: 
Apr  2 08:18:53 joehome gnome-keyring-daemon[7040]: couldn't read 4 bytes from client: 
Apr  2 08:18:53 joehome gnome-keyring-daemon[7040]: couldn't read 4 bytes from client: 
Apr  2 08:18:59 joehome gnome-keyring-daemon[7040]: couldn't read 4 bytes from client: 

This is repeated a number of times. It coincides with my attempts to sync the calendar.
Comment 3 Jose M. daLuz 2008-04-02 12:42:26 UTC
(In reply to comment #2)
> When I first
> fired up Evo 2.22 it downloaded my calendar events correctly.
Or the events were downloaded sometime prior to 2.22, not necessarily when I started 2.22.
Comment 4 g11024342@trbvm.com 2008-04-03 08:34:08 UTC
I have the same problem. Also, my changes in the calendar are not propagated even if I leave Evolution running for a long time.
Comment 5 Johannes Rohr 2008-04-18 12:13:54 UTC
Same here. Credentials are not saved, changes to the calendar are not saved either. Current Debian Sid.
Comment 6 Jose M. daLuz 2008-04-18 12:43:49 UTC
I have updated to Gnome 2.22.1. When I started up Evo, it prompted for my Google Calendar password, then downloaded *some* of the calendar events, not all.

I deleted and re-created the calendar, and was prompted to allow gnome-keyring to be automatically unlocked. I then had no sync with the calendar again.

After stopping and starting Evo, again it synced partially with Google Calendar. Comparing Evo and Google side-by-side, the missing events are all full-day or multi-day events. Events that have a specific time show up. 

That sounds like a completely separate issue -- when I get home from work tonight I will search if anyone else has filed a bug on that and will file one if no one else has.
Comment 7 Milan Crha 2008-07-18 12:14:20 UTC
Created attachment 114766 [details] [review]
proposed evo patch

for evolution;

This fixes the issue with forgotten user name.

Jose, what is your bug number, please?
Comment 8 Jose M. daLuz 2008-07-18 14:07:06 UTC
I filed bug 528916 which was a dupe of bug 508496.
Comment 9 Srinivasa Ragavan 2008-08-18 03:14:44 UTC
Commit to trunk.
Comment 10 Suman Manjunath 2008-08-18 04:54:58 UTC
Marking patch as needs-work since the 'user_changed' routine in google-source.c has changed quite a bit. I did not attempt to fix the patch as I do not know much of the code there. :-) 
Comment 11 Milan Crha 2008-08-18 11:37:24 UTC
Created attachment 116857 [details] [review]
proposed evo patch ][

for evolution;

just adapted to actual sources. (exactly one month later) :)
Comment 12 Srinivasa Ragavan 2008-08-20 04:34:44 UTC
Go ahead Milan.
Comment 13 Milan Crha 2008-08-20 08:43:48 UTC
Committed to trunk. Committed revision 36026.