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 574248 - [google-account-setup] Google calendar dialog doesn't have username field
[google-account-setup] Google calendar dialog doesn't have username field
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Plugins
2.26.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-plugin-maintainers
Evolution QA team
evolution[google]
: 576059 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-03-05 11:49 UTC by Pedro Villavicencio
Modified: 2013-09-13 00:59 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26


Attachments
Screenshot (26.41 KB, image/png)
2009-03-06 04:40 UTC, Akhil Laddha
  Details
check correct prefix in plugin_google (350 bytes, patch)
2009-04-07 18:04 UTC, beezly
none Details | Review
fixes crash that happens when trying to load google calendar entries (707 bytes, patch)
2009-04-08 10:21 UTC, beezly
rejected Details | Review

Description Pedro Villavicencio 2009-03-05 11:49:31 UTC
this report has been filed here:

https://bugs.edge.launchpad.net/ubuntu/+source/evolution/+bug/334824

"There seems to be a regression in the way google calendar sources are added to the evolution calendar.

With evolution versions 2.24, bringing up a new calendar dialog allows for typing in the username and password for the google account.

With the version that is shipped with Jaunty (2.25.92), the only input area in the dialog is for the name of the calendar itself. There are no fields for adding a username/password."

screenshot of the dialog:

http://launchpadlibrarian.net/23144995/gcal.png
Comment 1 Akhil Laddha 2009-03-06 04:40:49 UTC
Created attachment 130178 [details]
Screenshot

could be wrong in packaging , at least i see user field in 2.25.92, password window will pop up later after completing configuration.
Comment 2 Matthew Barnes 2009-03-06 12:47:56 UTC
Possibly the google-account-setup plugin is not being loaded correctly?
Comment 3 Pedro Villavicencio 2009-03-06 14:07:45 UTC
I've asked for Evolution logs which can be found here: http://launchpadlibrarian.net/23432187/evo.log but it seems that the plugin loads fine or at least doesn't throw any error, any other logs we could provide? Thanks in advance.
Comment 4 Matthew Barnes 2009-03-20 13:19:08 UTC
*** Bug 576059 has been marked as a duplicate of this bug. ***
Comment 5 Ionut Biru 2009-03-30 22:31:05 UTC
i'm curios to ask, it is x86_64 related? 
maybe i'm wrong but i know that on i686 was working and when i switch to x86_64 version the username field doesn't appear.
again if somebody know how to debug this issue i'm willing to give you all you ask.
Comment 6 Nicolò Chieffo 2009-03-30 22:49:58 UTC
I've just installed jaunty beta i386, not x64. The problem persists
Comment 7 beezly 2009-04-07 14:51:21 UTC
I get the same problem with jaunty x64. The package version is 
2.26.0-0ubuntu1
Comment 8 Nicolò Chieffo 2009-04-07 14:53:01 UTC
Also fedora rawhide suffers this problem, not only ubuntu
Comment 9 beezly 2009-04-07 16:57:35 UTC
I've just looked in the Plugin list in Evolution. The Google Source plugin doesn't show up in the list at all. Should it?
Comment 10 beezly 2009-04-07 17:14:06 UTC
Scratch that - I just realised that system plugins don't show up in the plugins list... I thought I was on to something there!
Comment 11 beezly 2009-04-07 18:04:56 UTC
Created attachment 132287 [details] [review]
check correct prefix in plugin_google

Checks for correct "google://" prefix instead of "Google://".
Comment 12 beezly 2009-04-07 19:42:49 UTC
The patch I submitted earlier fixes this problem, but unfortunately just seems to expose another problem which appears to cause EDS calendar components to die (or whatever "The Evolution Calendars have quit unexpectedly means". I'll try and take a look at it tomorrow.

If anyone else can give feedback on my patch, I'd greatly appreciate it.
Comment 13 beezly 2009-04-08 10:21:14 UTC
Created attachment 132320 [details] [review]
fixes crash that happens when trying to load google calendar entries
Comment 14 beezly 2009-04-08 10:22:23 UTC
First patch fixes the username/password problem. Second patch fixes the next problem that you encounter when you've fixed the first problem :)

Someone *please* check them, I've not worked on evolution before.
Comment 15 Itzik 2009-04-08 18:24:16 UTC
Hi All,

I was looking forward for a fix, thank you !! 

Is it possible to get some instruction on how to apply the patch?
I'm on Jaunty Beta, and evolution comes pre-installed from rep.. so i guess i'll have to compile evolution from source with the patch applied...?
any hint will be great.

Thank you!
Comment 16 beezly 2009-04-08 18:51:46 UTC
I'm almost certain the second patch is not correct. I'm still seeing crashes in evolution-data-server when accessing gdata objects.
Comment 17 Milan Crha 2009-04-09 11:07:59 UTC
Fix committed to trunk. Committed revision 37507.

Thanks for the bug report. It's really possible to have missing username field on some installs. The difference is simple, when you update from older system to newer, or take your previous setup with google group created, then you do not see this. If you install the fresh new system, no backup restore, then you suffer this.

All is because this:
http://svn.gnome.org/viewvc/evolution/trunk/plugins/google-account-setup/google-source.c?r1=37165&r2=37164&pathrev=37165
and this:
http://svn.gnome.org/viewvc/evolution/trunk/plugins/google-account-setup/google-contacts-source.c?r1=37165&r2=37164&pathrev=37165
change. Notice the base URI was previously used as "Google://", but after change as "google://". Which beezly correctly identified. Unfortunately his change might break this for the first group, where this worked fine before. So I committed a little better patch. I noticed that other plugins might suffer this too, but as long as user doesn't play with gconf-editor, nothing happens.

In case you cannot wait for a source change, you can workaround this with gconf-editor :) Open key:
/apps/evolution/calendar/sources
search for line containing "Google" near the beginning and change string
base_uri="google://"
to
base_uri="Google://"
(only capital 'G') and it'll start working as you want.

Beezly, please open new bug report for the crasher and provide backtrace of the crash, to be able to track the issue properly. Thanks. (write here new bug number for a reference, please.)
Comment 18 Russell Harrison 2009-04-16 17:35:05 UTC
I can confirm that the workaround of editing the base_uri directly in gconf did resolve the issue for me on Fedora 10.