Google Calendar with akonadi and korganizer

Dear All,

    I am trying sync a google calendar to korganizer using the new libgcal and akonadi googledata packages.

First of all I should state that I am using the KDE packages from the following repository (KDE 4.3.3):

Index of /repositories/KDE:/KDE4:/Factory:/Desktop/openSUSE_11.2

Furthermore, I am adding the libgcal0 and akonadi-googledata packages from this repository:

Index of /repositories/home:/gryffus/openSUSE_11.2+KDE4_Factory

But I also tried to compile libgcal myself from the git repository. For the rest, it is a normal 11.2 distro.

Now, when I go to the Akonadi configuration and try to add a Google Calendar resource, I fill in my name and password. Then, immediately, the akonadi configuration tools shows it with a “invalid password” message.

I googled around and I found this to be a problem with libgcal. However, it should be fixed in version 0.93, which I am using. And anyway, even if I compile the latest version from git I get the same problem

Is anyone else experiencing the same?

Thanks

Valerio

Upon further research, I realized the problem must be tied to this bug:

https://bugs.kde.org/show_bug.cgi?id=204165

However, I am using the same libraries of the person who solved the problem (0.93 for libgcal and 1.0.1 for akonadi-googledata)

 Valerio

Well, people on other distributions seems to be syncing fine. So I guess this must be a bug with OpenSUSE 11.2 In fact several people are reporting it using OpenSUSE.

Even compiling google-akonadi and libgcal from source is not working

 Valerio

Just as a test I tried to use this in a Kubuntu box, and there it works perfectly. So this is defenitely an OpenSUSE bug. Can someone please point me to the way of submitting it?

    Valerio

You’ll want to go here, create an account and fire away.

I’ve had the same problem with OpenSUSE 11.2. By analyzing the strace-output of google-akonadi I’ve found a problem with the proxy-handling.

It seems, that by default, Opensuse 11.2 uses environment variables for the proxy-settings .

So entering “network settings -> proxy” and changing the default setting to “direct connection with the internet” solved this problem for me and everything works fine :slight_smile:

I found the setting you are mentioning and tweaked it. It works for me also. Thank you very very much!

   Valerio

I’m sorry, but I’m still a bit confused. Which settings am I exactly supposed to alter? I couldn’t find something similar in Yast or NetworkManager.

OK, when looking longer than 2 seconds I found it in the KDE settings. Thanks, solved the problem! It also solved the problem that Firefox could not connect to the outside world (which was worked around by setting the proxysettings in Fx manually)

Changing that proxy stuff fixed it for me too, thanks!

Zypper is no UI app though, so it’s practically invisible to a normal user.

I wouldn’t say that it’s invisible. You will find extensive information in the man pages.

man zypper

will explain concepts and give extensive information on each command. For quick reference,

zypper --help

will give a list of commands, and

zypper help command

will give a list of options for command. If nothing else, it might be prudent to understand what all of these GUI front-ends are using.

One good reason to familiarize yourself with the terminal is that many things that work in openSUSE will work in any other Linux distro as well, including Ubuntu. Most of the commands are standard (although not zypper), and knowing them will help get you started quickly if you should decide to try something new. They also tend to have many more options than their front-end GUIs, which are usually limited to what their developer decides is important.

If you see yourself as a beginner, why not take a little time to learn a few things? You’ll find plenty of assistance in these forums. I see this is your first thread, don’t hesitate to ask questions!

Does Anybody knows how it works when you have more than one calendar in your google account?

I can see that akonadi syncs only with the default calendar from my google account, but it is ignoring the other 4 calendars that I have created in it.

Right now I believe that the sync only works with the default account. If you have separate password and and usernames for each account then you can create a new akonadi-google resource for each.But if all the calenders are in the same account it will only sync the default.

Oh no! :frowning:

Helle everyone

I am facing the problem that the google-sync isnt doing anything. I am connected to the internet, I changed the proxy-settings as mentioned on page one, and then I added the google-contact-thingy in Akonadi.

In KAddressbook I added a Google-Addressbook and provided my crendentials. The resource has been created successfully, but nothing is happening: no sync from google, neither a sync when I create a test-account.
I tried to create the resource directly in Akonadi with the same result,

Am i missing something?

Thanks

Found the problem.

In the first place, I installed the google-, and libgcal-thingy from the repository mentioned in the first post here. I removed everything from this repo and searched the OpenSuse BuildService for other packages.
I installed one of those and now it works…but still needs some improvements :wink:

Is there a consolidated wiki page on getting this to work? I use Google Calendars/Gmail/contacts and am looking at setting up openSUSE (KDE) but am more familiar with Gnome and can set this up in Evolution and Thunderbird easily.

Just some links would be appreciated. Thanks.

THANK YOU - Gracias, perdi toda la tarde buscando y no quería usar GCAL, me parecía inaudito que akonadi no pudiera con eso y efectivamente era solo cuestion de el proxy para poder sincronizar con google calendar y user

Thanks that solved my problem too !! :slight_smile: