Re: adding a Google calendar to Kontact

2018-01-17 Thread Gary Dale

On 2018-01-08 06:30 AM, Andy G Wood wrote:

On Monday, 8 January 2018 00:24:58 GMT Gary Dale wrote:
[...]

I've just noticed the problem is worse than I thought. I have events on
my main Google calendar that aren't showing up on Kontact and others
that are showing up wrong. This makes me believe that my main calendar
hasn't been synched with Google for a couple of months (the date I last
added an event that shows up on both Google and Kontact). I can't get it
too resync manually either.

I too have seen this problem over past months with Google calendar.  Syncing
seemed to stop if a Gcalendar was updated outside of kdepim, whilst kdepim was
running (just an observation, not tested).  I have been living with this
(hoping that 17.08 will fix the problem) by periodically deleting and
recreating my Gcalendar in kdepim.  This fix eventually broke last week when I
could not recreate in kdepim because of the Google Services problem reported
in this thread.

Waiting for 17.08 to appear in testing ... and falling back to gcalcli.

Andy.

Updated to 17.08 and things seem to be working. I got my normal calendar 
back and was able to add a second calendar as well.




Re: adding a Google calendar to Kontact

2018-01-08 Thread Andy G Wood
On Monday, 8 January 2018 00:24:58 GMT Gary Dale wrote:
[...]
> I've just noticed the problem is worse than I thought. I have events on
> my main Google calendar that aren't showing up on Kontact and others
> that are showing up wrong. This makes me believe that my main calendar
> hasn't been synched with Google for a couple of months (the date I last
> added an event that shows up on both Google and Kontact). I can't get it
> too resync manually either.

I too have seen this problem over past months with Google calendar.  Syncing 
seemed to stop if a Gcalendar was updated outside of kdepim, whilst kdepim was 
running (just an observation, not tested).  I have been living with this 
(hoping that 17.08 will fix the problem) by periodically deleting and 
recreating my Gcalendar in kdepim.  This fix eventually broke last week when I 
could not recreate in kdepim because of the Google Services problem reported 
in this thread.

Waiting for 17.08 to appear in testing ... and falling back to gcalcli.

Andy.



Re: adding a Google calendar to Kontact

2018-01-07 Thread Gary Dale

On 2018-01-06 11:21 PM, Facundo Aguilera wrote:



El 5 ene. 2018 23:20, "Gary Dale" > escribió:


On 2017-09-13 01:01 AM, Gary Dale wrote:

I'm running Debian/Buster on an amd64 system.

I am trying to add another google calendar to my
Korganizer/Kontact calendar. I already have one google
calendar for personal affairs and have created another
calendar for a group I belong to. Since it uses a different
(not gmail) e-mail address, I went into the calendar view in
Kontact and right-clicked on the calendar list panel then
selected Add Calendar (also available as "settings | configure
Korganizer").

I chose "Google Calendars and Tasks" from the list of calendar
types, which brought up another dialogue with the title bar
reading "Google Calendars and Tasks (not configured) of type
Google Calendars and Tasks" It shows my personal gmail address
as the only entry in the pulldown.

When I click the Add button in the accounts panel, it brings
up a second dialogue asking me to:

Sign in
Continue to Akonadi Resources for Google Services

and prompting me for my e-mail or phone. When I fill in the
e-mail address for the new calendar I want to add, it takes me
to another dialogue to enter my password, then finally to a
dialogue telling me

Akonadi Resources for Google Services wants to
    Manage your contactsMore info
    Manage your calendarsMore info
    Manage your tasks

When I click on Allow, it takes me to yet another dialogue
telling me to sign in, with a message "Please copy this code,
switch to your application and paste it there", followed by a
very long code.

At this point I am stumped. I'm already in my application and
the dialogue is blocking me from doing anything else in it. If
I copy the code and close the dialogue, there is nothing to
indicate where to paste the code.

Googling the problem hasn't located anything helpful. The
presence of the code dialogue isn't mentioned anywhere.

I did find a mention of KWallet which seems to be what is
creating the problem. When I look through KWallet, I find that
it contains an entry in Folders | Akonadi Google (1) | Maps
for my personal gmail address, with 3 name-value pairs
(accessToken, refreshToken and scopes). While the code I
copied (above) looks like a refreshToken (correct length), and
the scopes seems to be generic, I don't have an accessToken
(which is very long).

Creating a new Maps entry for my group's calendar account, I
manually created the various names and p[asted the
refreshToken's value. I also copied the scopes value from my
personal account's map. That isn't sufficient to give me
access to the Google calendar however. Copying the
accessToken's value from my personal account to the group one
just gives me a second access to my personal calendar, which
Korganizer sort of handles. This suggests that what I need is
an accessToken for the group's calendar.

Removing the (faulty) group calendar and reloading my personal
calendar and things are back to where I started.

Any ideas on how to get the second Google calendar added?

After 4 months without a reply, I'm hoping someone can come up
with an answer now, since I've been seeing messages since November
saying that kdepim works. Unfortunately I note that kdepim on
Buster seems to be back at 16.04.3.

Obviously at some point adding Google calendars worked since I
have one and have no recollection of it being in any way
difficult. However I still can't add a second Google calendar.
Even the arcane procedure I listed above continues to produce the
same results.

Can anyone offer any assistance?


Hi, you can share the calendar from your group account to your 
personal account, then use your group calendar directly from your 
personal account in korganizer.


Facu


I've just noticed the problem is worse than I thought. I have events on 
my main Google calendar that aren't showing up on Kontact and others 
that are showing up wrong. This makes me believe that my main calendar 
hasn't been synched with Google for a couple of months (the date I last 
added an event that shows up on both Google and Kontact). I can't get it 
too resync manually either.


This means that sometime after I first reported the problem, my main 
Google calendar has stopped synching and now Kontact is really pretty 
useless. I have to use either my phone or a web browser to check my 
calendar


Can anyone offer some advice on how to make this work?


Re: adding a Google calendar to Kontact

2018-01-06 Thread Facundo Aguilera
El 5 ene. 2018 23:20, "Gary Dale"  escribió:

On 2017-09-13 01:01 AM, Gary Dale wrote:

> I'm running Debian/Buster on an amd64 system.
>
> I am trying to add another google calendar to my Korganizer/Kontact
> calendar. I already have one google calendar for personal affairs and have
> created another calendar for a group I belong to. Since it uses a different
> (not gmail) e-mail address, I went into the calendar view in Kontact and
> right-clicked on the calendar list panel then selected Add Calendar (also
> available as "settings | configure Korganizer").
>
> I chose "Google Calendars and Tasks" from the list of calendar types,
> which brought up another dialogue with the title bar reading "Google
> Calendars and Tasks (not configured) of type Google Calendars and Tasks" It
> shows my personal gmail address as the only entry in the pulldown.
>
> When I click the Add button in the accounts panel, it brings up a second
> dialogue asking me to:
>
> Sign in
> Continue to Akonadi Resources for Google Services
>
> and prompting me for my e-mail or phone. When I fill in the e-mail address
> for the new calendar I want to add, it takes me to another dialogue to
> enter my password, then finally to a dialogue telling me
>
> Akonadi Resources for Google Services wants to
> Manage your contactsMore info
> Manage your calendarsMore info
> Manage your tasks
>
> When I click on Allow, it takes me to yet another dialogue telling me to
> sign in, with a message "Please copy this code, switch to your application
> and paste it there", followed by a very long code.
>
> At this point I am stumped. I'm already in my application and the dialogue
> is blocking me from doing anything else in it. If I copy the code and close
> the dialogue, there is nothing to indicate where to paste the code.
>
> Googling the problem hasn't located anything helpful. The presence of the
> code dialogue isn't mentioned anywhere.
>
> I did find a mention of KWallet which seems to be what is creating the
> problem. When I look through KWallet, I find that it contains an entry in
> Folders | Akonadi Google (1) | Maps for my personal gmail address, with 3
> name-value pairs (accessToken, refreshToken and scopes). While the code I
> copied (above) looks like a refreshToken (correct length), and the scopes
> seems to be generic, I don't have an accessToken (which is very long).
>
> Creating a new Maps entry for my group's calendar account, I manually
> created the various names and p[asted the refreshToken's value. I also
> copied the scopes value from my personal account's map. That isn't
> sufficient to give me access to the Google calendar however. Copying the
> accessToken's value from my personal account to the group one just gives me
> a second access to my personal calendar, which Korganizer sort of handles.
> This suggests that what I need is an accessToken for the group's calendar.
>
> Removing the (faulty) group calendar and reloading my personal calendar
> and things are back to where I started.
>
> Any ideas on how to get the second Google calendar added?
>
> After 4 months without a reply, I'm hoping someone can come up with an
answer now, since I've been seeing messages since November saying that
kdepim works. Unfortunately I note that kdepim on Buster seems to be back
at 16.04.3.

Obviously at some point adding Google calendars worked since I have one and
have no recollection of it being in any way difficult. However I still
can't add a second Google calendar. Even the arcane procedure I listed
above continues to produce the same results.

Can anyone offer any assistance?


Hi, you can share the calendar from your group account to your personal
account, then use your group calendar directly from your personal account
in korganizer.

Facu


Re: adding a Google calendar to Kontact

2018-01-05 Thread Gary Dale

On 2017-09-13 01:01 AM, Gary Dale wrote:

I'm running Debian/Buster on an amd64 system.

I am trying to add another google calendar to my Korganizer/Kontact 
calendar. I already have one google calendar for personal affairs and 
have created another calendar for a group I belong to. Since it uses a 
different (not gmail) e-mail address, I went into the calendar view in 
Kontact and right-clicked on the calendar list panel then selected Add 
Calendar (also available as "settings | configure Korganizer").


I chose "Google Calendars and Tasks" from the list of calendar types, 
which brought up another dialogue with the title bar reading "Google 
Calendars and Tasks (not configured) of type Google Calendars and 
Tasks" It shows my personal gmail address as the only entry in the 
pulldown.


When I click the Add button in the accounts panel, it brings up a 
second dialogue asking me to:


Sign in
Continue to Akonadi Resources for Google Services

and prompting me for my e-mail or phone. When I fill in the e-mail 
address for the new calendar I want to add, it takes me to another 
dialogue to enter my password, then finally to a dialogue telling me


Akonadi Resources for Google Services wants to
    Manage your contactsMore info
    Manage your calendarsMore info
    Manage your tasks

When I click on Allow, it takes me to yet another dialogue telling me 
to sign in, with a message "Please copy this code, switch to your 
application and paste it there", followed by a very long code.


At this point I am stumped. I'm already in my application and the 
dialogue is blocking me from doing anything else in it. If I copy the 
code and close the dialogue, there is nothing to indicate where to 
paste the code.


Googling the problem hasn't located anything helpful. The presence of 
the code dialogue isn't mentioned anywhere.


I did find a mention of KWallet which seems to be what is creating the 
problem. When I look through KWallet, I find that it contains an entry 
in Folders | Akonadi Google (1) | Maps for my personal gmail address, 
with 3 name-value pairs (accessToken, refreshToken and scopes). While 
the code I copied (above) looks like a refreshToken (correct length), 
and the scopes seems to be generic, I don't have an accessToken (which 
is very long).


Creating a new Maps entry for my group's calendar account, I manually 
created the various names and p[asted the refreshToken's value. I also 
copied the scopes value from my personal account's map. That isn't 
sufficient to give me access to the Google calendar however. Copying 
the accessToken's value from my personal account to the group one just 
gives me a second access to my personal calendar, which Korganizer 
sort of handles. This suggests that what I need is an accessToken for 
the group's calendar.


Removing the (faulty) group calendar and reloading my personal 
calendar and things are back to where I started.


Any ideas on how to get the second Google calendar added?

After 4 months without a reply, I'm hoping someone can come up with an 
answer now, since I've been seeing messages since November saying that 
kdepim works. Unfortunately I note that kdepim on Buster seems to be 
back at 16.04.3.


Obviously at some point adding Google calendars worked since I have one 
and have no recollection of it being in any way difficult. However I 
still can't add a second Google calendar. Even the arcane procedure I 
listed above continues to produce the same results.


Can anyone offer any assistance?