Bug 448876 - events do not download at all
Summary: events do not download at all
Status: RESOLVED FIXED
Alias: None
Product: Merkuro
Classification: Applications
Component: general (other bugs)
Version First Reported In: 0.4.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Claudio Cambra
URL:
Keywords:
: 450136 450687 450706 451075 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-01-21 12:54 UTC by voncloft
Modified: 2022-03-03 22:28 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description voncloft 2022-01-21 12:54:50 UTC
SUMMARY
***
when attempting to sync google calendars it will say "fetching events".....and never download them - same happens with korganizer
***


STEPS TO REPRODUCE
1. configure kalendar from menu
2. restart email service 
3. wait for dissapointment

OBSERVED RESULT
events do not download

EXPECTED RESULT
to sync my calendar from google


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 5.15.2
(available in About System)
KDE Plasma Version: 5.23.5
KDE Frameworks Version: 5.90
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 voncloft 2022-01-21 13:00:35 UTC
got error from konsole:

org.kde.kgapi: Bad request, Google replied ' "Contacts API is being deprecated. Migrate to People API to retain programmatic access to Google Contacts
Comment 2 Paul Worrall 2022-02-13 12:46:16 UTC
*** Bug 450136 has been marked as a duplicate of this bug. ***
Comment 3 Jonathan Richards 2022-02-18 09:45:41 UTC
I am unable to link kalendar to a Google Calendar source with a newly installed kalendar 1.0.0
The following is an annotated log, in case that helps.  Commands are left-justified, outputs tab indented.  GUI actions are in single quotes, and irrelevant qt warnings etc have been removed at "..."
===
$ date +'%Y%m%d%H%M'
    202202180903
$ which kalendar
    /usr/bin/kalendar
$ akonadictl status
    Akonadi Control: running
    Akonadi Server: running
    Akonadi Server Search Support: available (Remote Search)
    Available Agent Types: akonadi_akonotes_resource, akonadi_birthdays_resource, akonadi_contacts_resource, akonadi_davgroupware_resource, akonadi_etesync_resource, akonadi_ews_resource, akonadi_ewsmta_resource, akonadi_google_resource, akonadi_ical_resource, akonadi_icaldir_resource, akonadi_imap_resource, akonadi_kalarm_dir_resource, akonadi_kalarm_resource, akonadi_kolab_resource, akonadi_maildir_resource, akonadi_maildispatcher_agent, akonadi_mbox_resource, akonadi_migration_agent, akonadi_mixedmaildir_resource, akonadi_newmailnotifier_agent, akonadi_notes_resource, akonadi_openxchange_resource, akonadi_pop3_resource, akonadi_tomboynotes_resource, akonadi_vcard_resource, akonadi_vcarddir_resource
$ kalendar 2>&1 | tee -a kalendar.log
    QML debugging is enabled. Only use this in a safe environment.
'Settings, Configure Kalendar, Calendar Sources, Add New Calendar Source ...'
'Google Groupware'
    [dialog with Google Account services seems successful; Google recognises permission granted to Akonadi Services]
    org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x{redacted1}) )
    org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x{redacted1}) identified as "AgentBaseChangeRecorder - 94534484760992"
    ...
    org.kde.kgapi: 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." '
    org.kde.pim.google: Got error: KGAPI2::ContactsGroupFetchJob(0x55fa8698cbe0) "Bad request."
    ...
   [no calendar information visible from Google calendar, even following 'refresh']
'File, Quit Kalendar'
    org.kde.pim.akonadiserver: Subscriber "ETMCalendarMonitor - 93991514946560" disconnected
    org.kde.pim.akonadiserver: Subscriber "TagModelMonitor - 93991515625088" disconnected
    org.kde.pim.akonadiserver: Subscriber "TagCacheMonitor - 93991537440320" disconnected
    org.kde.pim.akonadiserver: Subscriber "InternalEmailAddressSelectionWidgetModel - 93991515608080" disconnected
===
System information:
Operating System: KDE neon 5.24
KDE Plasma Version: 5.24.1
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.3
Kernel Version: 5.13.0-28-generic (64-bit)
Graphics Platform: X11
Processors: 6 × AMD Phenom(tm) II X6 1090T Processor
Memory: 15.6 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1080/PCIe/SSE2
Comment 4 Claudio Cambra 2022-02-18 10:43:17 UTC
We're aware of the issues -- Google killed the Contacts API, which has had a knock-on effect to the rest of our Google groupware implementation. There's a patch incoming to fix the issues on the calendar side, though contacts remain to be fixed. I am working on that now
Comment 5 Claudio Cambra 2022-02-22 15:53:48 UTC
*** Bug 450706 has been marked as a duplicate of this bug. ***
Comment 6 Claudio Cambra 2022-02-22 15:54:42 UTC
*** Bug 450687 has been marked as a duplicate of this bug. ***
Comment 7 Claudio Cambra 2022-02-25 22:08:58 UTC
An update: a patch has been added to the Google groupware that disables contacts, allowing other functionality such as calendars to continue working. Still working on a proper fix for contacts, but this should resolve this issue at the very least.

Patch is now live on Tumbleweed and Arch, should be coming to other distributions soon
Comment 8 Claudio Cambra 2022-03-03 10:37:15 UTC
*** Bug 451075 has been marked as a duplicate of this bug. ***
Comment 9 voncloft 2022-03-03 11:56:19 UTC
(In reply to Claudio Cambra from comment #7)
> An update: a patch has been added to the Google groupware that disables
> contacts, allowing other functionality such as calendars to continue
> working. Still working on a proper fix for contacts, but this should resolve
> this issue at the very least.
> 
> Patch is now live on Tumbleweed and Arch, should be coming to other
> distributions soon

Where is this patch located....I looked at the arch AUR for kalendar....and it doesnt show anything

Thanks
Comment 10 Claudio Cambra 2022-03-03 22:28:59 UTC
(In reply to voncloft from comment #9)
> (In reply to Claudio Cambra from comment #7)
> > An update: a patch has been added to the Google groupware that disables
> > contacts, allowing other functionality such as calendars to continue
> > working. Still working on a proper fix for contacts, but this should resolve
> > this issue at the very least.
> > 
> > Patch is now live on Tumbleweed and Arch, should be coming to other
> > distributions soon
> 
> Where is this patch located....I looked at the arch AUR for kalendar....and
> it doesnt show anything
> 
> Thanks

This was patched in kdepim-runtime. Patch can be found here:

https://invent.kde.org/pim/kdepim-runtime/-/commit/624ef213e50ae4712bfe2a254c5f444caaacfa22