Summary: | Bad request, Google replied "Contacts API is being deprecated" | ||
---|---|---|---|
Product: | [Frameworks and Libraries] libkgapi | Reporter: | Gabriel Souza Franco <gabrielfrancosouza> |
Component: | contacts | Assignee: | Claudio Cambra <claudio.cambra> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | 4wy78uwh, adam_tazul, antkoul, axel.braun, benoitg, billksun, budinero, burster, camibohp, cartes34, criguada, dcalvino, derekotto, dtombaugh, dvratil, erasmocaponio, evgom.sid, geoff, gerald.drissner, gjditchfield, gstengel, kdepim-bugs, kishore96, kitts.mailinglists, kjetil, kris, lorebett2002, lukas, mackuzzz, martin.tlustos, mikebooth76, miso, montel, nico.kruber, ostroffjh, p.r.worrall, philippe.roubach, piedro.kulman, postix, radovan, rauchweihe, rfmo0609, ricsan, rnbzilla, sannythebest95, schmakerisko, styvn, thibaud.deborggraef, tobias, voncloft, woebbeking |
Priority: | HI | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=326498 | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Bug Depends on: | |||
Bug Blocks: | 427319 | ||
Attachments: |
2 google connections ?
2 google connections 2 google connections akonadi security check up log when adding a "G Grouware" agent script to start google contacts at login attachment-16007-0.html |
Description
Gabriel Souza Franco
2021-06-29 05:23:55 UTC
I just noticed the same as I found out that 25% of my contacts were missing. I deleted the google addressbook and created a new one (which seems to sync all contacts) and got this warning as well See my bug report, I got problems for one year (2021/10/4) ! https://bugs.kde.org/show_bug.cgi?id=427319 sorry 2020-10-4 not 2021-10-4 It's a critical bug. We need a fix. How can you use kmail with no addressbook? from this https://euroquis.nl/kde/2020/01/13/google.html it is said that kaccounts has no problem. Why kaddressbook does not use kaccounts for accessing to Google resources? Is there a problem for kaddressbook to use kaccounts instead its own authentication technology ? Nowadays I can't get any contact. Please update the API. *** Bug 443464 has been marked as a duplicate of this bug. *** It seems that there is a branch in libkgapi about it. Dan started it. No idea about status. (In reply to Laurent Montel from comment #9) > It seems that there is a branch in libkgapi about it. Dan started it. No > idea about status. Reading this https://euroquis.nl/kde/2020/01/13/google.html I understand the difficulty from Google side but one year of problems for me and no progress. Is it a priority problem ? Is there not enough people to maintain Gapi? Google is a major actor. I tried Nextcloud several years ago by installing a local server at home (a Raspberry Pi one). It was less good because too many data existing in kaddressbook contact do not exist in Nextcloud address book. This leads some data was disappearing when synchronizing. Then I went back to google contacts. Google contacts is no perfect but better. (In reply to Philippe ROUBACH from comment #10) > (In reply to Laurent Montel from comment #9) > > It seems that there is a branch in libkgapi about it. Dan started it. No > > idea about status. > > Reading this > https://euroquis.nl/kde/2020/01/13/google.html > I understand the difficulty from Google side but one year of problems for me > and no progress. > > Is it a priority problem ? Is there not enough people to maintain Gapi? > Google is a major actor. > > I tried Nextcloud several years ago by installing a local server at home (a > Raspberry Pi one). It was less good because too many data existing in > kaddressbook contact do not exist in Nextcloud address book. This leads some > data was disappearing when synchronizing. Then I went back to google > contacts. Google contacts is no perfect but better. I understand the problem, but I don't know google api (and I don't use gmail and co), and I don't have time for working on it. Sorry. (In reply to Laurent Montel from comment #11) > (In reply to Philippe ROUBACH from comment #10) > > (In reply to Laurent Montel from comment #9) > > > It seems that there is a branch in libkgapi about it. Dan started it. No > > > idea about status. > > > > Reading this > > https://euroquis.nl/kde/2020/01/13/google.html > > I understand the difficulty from Google side but one year of problems for me > > and no progress. > > > > Is it a priority problem ? Is there not enough people to maintain Gapi? > > Google is a major actor. > > > > I tried Nextcloud several years ago by installing a local server at home (a > > Raspberry Pi one). It was less good because too many data existing in > > kaddressbook contact do not exist in Nextcloud address book. This leads some > > data was disappearing when synchronizing. Then I went back to google > > contacts. Google contacts is no perfect but better. > > I understand the problem, but I don't know google api (and I don't use gmail > and co), and I don't have time for working on it. Sorry. OK What do you use as alternative for your PC and smartphone? Implementing People API in libkgapi is in progress. I'm rushing to get it in for Gear 21.12, but it's a large API to implement, so it's taking some time.... Happy to read this. "My contacts" in kaddressbook was empty for 10 days ! What I don't understand is there is no problem with Korganiser and "Google Calendar" Happily, I have a big stock of addresses in the history of the addresses and a big stock of old mails. I am tired from this problem and waiting december 9 will be difficult. One more time let's be patient. Thanks, Daniel The problem only affects contacts, since Google has deprecated the Contacts API (so when we query your Google addressbook it returns empty data, or an error, or both) and replaced if with People API (which we now need to implement to get access to your contacts again). Google Calendar integration uses the Calendar API, which is not affected by the deprecation of Contacts API so it continues to work. To be completely clear - the deprecation has been announced well in advance by Google, this is purely my fault as the "Google integration" maintainer for not implementing the new API in time (mostly because I was taking a time off from KDE at that time). *** Bug 444437 has been marked as a duplicate of this bug. *** *** Bug 443581 has been marked as a duplicate of this bug. *** Now very often (about every 2 days) my calendar disappears ! I must restart "G groupware" to get again my calendar. (In reply to Philippe ROUBACH from comment #18) > Now very often (about every 2 days) my calendar disappears ! > > I must restart "G groupware" to get again my calendar. I also have this issue. Would it be possible to disable the Google Contacts integration until the API is implemented in libkgapi? I couldn't find any configuration or compile-time option to do this. (In reply to Daniel Vrátil from comment #13) > Implementing People API in libkgapi is in progress. I'm rushing to get it in > for Gear 21.12, but it's a large API to implement, so it's taking some > time.... Hello, i updated to kde gear 21.12. The problem is still there. Created attachment 144540 [details]
2 google connections ?
Today I discovered I get 2 connections to my Google calendar and contacts !
I never created 2 "Google Groupware" connections.
Created attachment 144541 [details]
2 google connections
Created attachment 144542 [details]
2 google connections
Today I lost my contacts in kaddressbook. I deleted the Google agent then adding again a Google agent but no success. I get no contacts in kaddressbook today no more address book and calendar. i delete the akonadi agent "google groupware" i add again the akonadi agent "google groupware" but this does not add any addressbook and any calendar. Also in akonadi there is no address book and no calendar. lost calendars today in both korganizer and kalendar cant even use the PIM in the digital clock About calendar, it is a new phenomenon. I never had any problem with google calendar. (In reply to Philippe ROUBACH from comment #27) > About calendar, it is a new phenomenon. I never had any problem with google > calendar. i always did it would work for a day....then unsync and remove everything - i had to manually restart in my applications honestly this is just horrible programming I also wonder if there is a problem with 2 steps authentication. Created attachment 145706 [details]
akonadi security check up
You can see that "Akonadi Resources for Google Services" has been validated for "contacts" and "calendar".
So why adding the "calendar" in korganizer and the "contacts" in kaddressbook fails ?
Created attachment 145712 [details]
log when adding a "G Grouware" agent
In akonadiconsole I enabled the debugger.
Then I added a "Google Groupware agent. "See the attached log.
You can see some errors.
Same for me. Didn't use Contacts but recently Calendar got lost. I can see it Google Groupware in Akonadi Console agent list, nothing in Browser. In Korganizer I can see the Google Groupware in Seetings -> Genral -> Calendars but there is no Google Calendar in calendar view :( Here the same: Google Groupware is gradually showing no more calendars on my computers. Same here - google contacts are not loaded *** Bug 449523 has been marked as a duplicate of this bug. *** Same for me. Google calendar not showing anymore in KOrganizer, no contacts showing in KAddressBook. Same issue here, using the new Kalendar. Google calendar is added and listed in "Settings > Calendar Sources". Clicking edit shows a list of calendars and tasks that you can select and enable, however, the calendar view itself shows nothing. (In reply to Daniel Vrátil from comment #13) > Implementing People API in libkgapi is in progress. I'm rushing to get it in > for Gear 21.12, but it's a large API to implement, so it's taking some > time.... Still not fixed with kde gears 22.04 . Kalendar is now showing Google calendar events! Not sure if something changed. akonadiserver 5.19.3 (21.12.3) (In reply to Bill Sun from comment #39) > Kalendar is now showing Google calendar events! > > Not sure if something changed. > > akonadiserver 5.19.3 (21.12.3) I never had any problem with Korganizer and G calendar, just temporarily ones. After upgrading to 22.04 Google Calendar Sync works again. Contacts are still not synced. (In reply to Daniel Vrátil from comment #15) > The problem only affects contacts, since Google has deprecated the Contacts > API (so when we query your Google addressbook it returns empty data, or an > error, or both) and replaced if with People API (which we now need to > implement to get access to your contacts again). > > Google Calendar integration uses the Calendar API, which is not affected by > the deprecation of Contacts API so it continues to work. > > To be completely clear - the deprecation has been announced well in advance > by Google, this is purely my fault as the "Google integration" maintainer > for not implementing the new API in time (mostly because I was taking a time > off from KDE at that time). Any updates, timeline, expected date of arrival? *** Bug 453706 has been marked as a duplicate of this bug. *** Contacts still not working and deprecated. Now can't access mails anymore. In google security of my account, akonadi and kde have the permissions needed. In akonadirestart this is the message I get: org.kde.pim.pop3resource: "Unable to login to the server \"pop.gmail.com\".\nCould not login to pop.gmail.com. The password may be wrong.\n\nCould not send to server.\n" The settings in Kmail are SSL/TLS PORT 995 and CLEARTEXT The calendar seems to work without issues. (In reply to Ricardo Sanchez from comment #44) > Contacts still not working and deprecated. Now can't access mails anymore. > In google security of my account, akonadi and kde have the permissions > needed. In akonadirestart this is the message I get: > org.kde.pim.pop3resource: "Unable to login to the server > \"pop.gmail.com\".\nCould not login to pop.gmail.com. The password may be > wrong.\n\nCould not send to server.\n" > The settings in Kmail are SSL/TLS PORT 995 and CLEARTEXT > The calendar seems to work without issues. The email thing is probably unrelated to this bug. Google has been mandating oauth login since the beginning of this month. You may need to switch your authentication type to 'gmail' (that's what the setting is called for IMAP; not sure if it's the same for POP), and then perform the steps mentioned here: https://bugs.kde.org/show_bug.cgi?id=402973#c2 (In reply to Kishore Gopalakrishnan from comment #45) > (In reply to Ricardo Sanchez from comment #44) > The email thing is probably unrelated to this bug. Google has been mandating > oauth login since the beginning of this month. You may need to switch your > authentication type to 'gmail' (that's what the setting is called for IMAP; > not sure if it's the same for POP), and then perform the steps mentioned > here: https://bugs.kde.org/show_bug.cgi?id=402973#c2 Thank you, just switched to imap and receiving gmail. Pop doesn't have Gmail autentication. Just a quick question: Does Kontact now sync with Google Contacts as per 30th June? Is the problem fixed now? Many thanks for anyone who know. kde plasma 5.25.1 kde framework 5.95.0 qt 5.15.2 KDE Gears 24.04.2 Problem still there My solution to workaround the problem : with Chrome I create a web app, then I use it to manage my contacts. (In reply to Philippe ROUBACH from comment #48) > kde plasma 5.25.1 > kde framework 5.95.0 > qt 5.15.2 > KDE Gears 24.04.2 > > Problem still there > > My solution to workaround the problem : > with Chrome I create a web app, then I use it to manage my contacts. Thanks for the idea with the web app!!! Created attachment 150295 [details]
script to start google contacts at login
HOW to start automatically the Chrome web app ?
I join my script.
Install the app kdocker.
In the script ;
- replace the 2 web app id occurences by your web app id.
- tune the first delay to your need.
In KDE settings < start/stop > automatic start :
- add the script
in kde settings < start/stop > desktop session > do not restore these applications
- add "kdocker" (not the quotes)
Enjoy
Same issue here. Changes I made to contacts in KAddressBook haven't propagated to GMail. I tried to delete the whole address book and add the new one to no avail - Address Books list is empty. When restarting akonadi, I can see an error in the output: "Bad request, Google replied ' "Contacts API is being deprecated. Migrate to People API to retain programmatic access to Google Contacts. See https://developers.google.com/people/contacts-api-migration." '" Found a similar bug report, perhaps related: https://bugs.kde.org/show_bug.cgi?id=427319 Seeing the bug is 1 year old, hopefully it will get fixed soon. Operating System: openSUSE Leap 15.3 KDE Plasma Version: 5.18.6 KDE Frameworks Version: 5.76.0 Qt Version: 5.12.7 *** Bug 458194 has been marked as a duplicate of this bug. *** @dvratil: any updates on this bug? It seems like Daniel took a break from the project, that's why there are no updates. Maybe someone else could take this over? I have several work related google accounts, and contacts not working is a rather big hassle for me... Created attachment 152686 [details] attachment-16007-0.html Do what I did, install Thunderbird. On 10 October 2022 14:07:00 BST, Martin Tlustos <bugzilla_noreply@kde.org> wrote: >https://bugs.kde.org/show_bug.cgi?id=439285 > >--- Comment #54 from Martin Tlustos <martin.tlustos@gmail.com> --- >It seems like Daniel took a break from the project, that's why there are no >updates. Maybe someone else could take this over? I have several work related >google accounts, and contacts not working is a rather big hassle for me... > >-- >You are receiving this mail because: >You are on the CC list for the bug. (In reply to Geoffrey Clements from comment #55) > Created attachment 152686 [details] > attachment-16007-0.html > > Do what I did, install Thunderbird. > > On 10 October 2022 14:07:00 BST, Martin Tlustos <bugzilla_noreply@kde.org> > wrote: > >https://bugs.kde.org/show_bug.cgi?id=439285 > > > >--- Comment #54 from Martin Tlustos <martin.tlustos@gmail.com> --- > >It seems like Daniel took a break from the project, that's why there are no > >updates. Maybe someone else could take this over? I have several work related > >google accounts, and contacts not working is a rather big hassle for me... > > > >-- > >You are receiving this mail because: > >You are on the CC list for the bug. Sorry, I'm married to KDE, in good times and bad times, so no cheating... ;-) But I'd really like to know whether there is anyone who does anything about it. I got problems for two year (2020/10/4) ! (In reply to Philippe ROUBACH from comment #58) > I got problems for two year (2020/10/4) ! Yes, the whole KDE interface with Google need some love, kio-gdrive has not worked for ages as well. Personally I think working well with Google is quite essential but it seems there is a lack of resource within the KDE project. A shame really as there is so much good with KDE and this is an ugly wart. Am Dienstag, 24. Januar 2023, 09:43:44 CET schrieb Geoffrey Clements: > https://bugs.kde.org/show_bug.cgi?id=439285 > Personally I think working well with Google is quite essential but it seems > there is a lack of resource within the KDE project. A shame really as there is > so much good with KDE and this is an ugly wart. Not sure if it is a lack of resources or just a misallocation, considering the gimmicks that roll-in with each new version.... +1for the rest. I got into contact with Daniel Vratil, who was the maintainer, but left a while ago (he's still listed as assigned, but that's not true anymore). He gave me the following answer, which I'm sharing here so everybody at least knows what's going on: >aah, the contacts thing. For the new contacts integration to work, the People API first needs to be implemented in the underlying library (libkgapi). > Claudio has picked up [0] where I left off but the work is not finished yet - best ask him what his progress is. > > Afterwards, the Akonadi resource in kdepim-runtime must be ported to the new libkgapi API, but that should be fairly straightforward work. > > /Daniel I got into contact with the new maintainer. He'd got some things in his way, that's why the delay. So far crude contact fetching works, but editing and delete and stuff doesn't yet. But he expects/hopes it's not too much work any more. So keep your hopes up, everybody! (In reply to Martin Tlustos from comment #63) > > So keep your hopes up, everybody! Good news indeed! Thank-you for your efforts. I started using KDE in 2001, but I think if I were coming afresh to it now I probably wouldn't stick with it for this one bug, such is its impact on my work-flow. Hello folks, We have now merged two MRs that remove the old broken Google Contacts integration and add support for the People API. This means your Google contacts should once again appear and be editable in PIM apps. https://invent.kde.org/pim/libkgapi/-/merge_requests/22 https://invent.kde.org/pim/kdepim-runtime/-/merge_requests/98 These should be included in the next KDE Gear release. For those adventurous enough to try builds of the master branches of PIM apps and frameworks, you can use kdesrc-build to easily build your PIM app of choice, with the latest fixes included (just make sure if you do this you run the kdesrc-build version of Akonadi!) Yes! YES!! Y E S !!! Seems like next month or so seeing that the last KDE gear was just released a couple of days ago. Thanks a lot, I mean A LOT! I'll probably file some bugs just days after the next KDE gear release, but that's the way it goes... ;-) (In reply to Claudio Cambra from comment #65) > Hello folks, > > We have now merged two MRs that remove the old broken Google Contacts > integration and add support for the People API. This means your Google > contacts should once again appear and be editable in PIM apps. > > https://invent.kde.org/pim/libkgapi/-/merge_requests/22 > https://invent.kde.org/pim/kdepim-runtime/-/merge_requests/98 > > These should be included in the next KDE Gear release. For those adventurous > enough to try builds of the master branches of PIM apps and frameworks, you > can use kdesrc-build to easily build your PIM app of choice, with the latest > fixes included (just make sure if you do this you run the kdesrc-build > version of Akonadi!) Next 23.04 ? Thanks I just updated KDE Gear to 23.04 and indeed Google contacts now works. Thanks very much! I confirm this works, but badly several fields are missing. see the report https://bugs.kde.org/show_bug.cgi?id=468986 There are too many problems. The problem is partially resolved. Summary : we can only create , modify, synchronize data of "contac" and "business" tab (In reply to Philippe ROUBACH from comment #70) > There are too many problems. > > The problem is partially resolved. > > Summary : we can only create , modify, synchronize data of "contac" and > "business" tab Incorrect, this specific issue is resolved. Please do not reopen for different bugs/regressions -- those should be handled in separate reports |