Bug 313395 - Contacts resource requests fail when user quota is exceeded
Summary: Contacts resource requests fail when user quota is exceeded
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Google Resource (show other bugs)
Version: 4.9
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Daniel Vrátil
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-17 09:17 UTC by Manuel Amador (Rudd-O)
Modified: 2013-03-14 19:55 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 4,11


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Amador (Rudd-O) 2013-01-17 09:17:15 UTC
despite the contacts being listed in akonadiconsole, kaddressbook displays zero contacts

Reproducible: Always

Steps to Reproduce:
add googje contacts akonadi resource
watch it sync
open kaddressbook
Actual Results:  
no contacts displayed

Expected Results:  
contacts displayed
Comment 1 Rishubh Jain 2013-01-17 16:41:15 UTC
This Bug  is confirmed by using steps as given by the bug Reporter

KDE version 4.9.5
KUBUNTU version 12.10
KAdressbook version 4.9.2
Comment 2 Allen Winter 2013-01-19 18:19:38 UTC
are you using libkgapi 0.4.4 ?
Comment 3 Manuel Amador (Rudd-O) 2013-01-29 07:46:04 UTC
I get this on stderr when running on akonadiconsole on the terminal

Application '/usr/bin/akonadi_googlecontacts_resource' exited normally...
akonadi_googlecontacts_resource_1(23330) KGAPI::AccessManagerPrivate::nam_replyReceived: User quota exceeded. 
akonadi_googlecontacts_resource_1(23330) KGAPI::AccessManagerPrivate::nam_replyReceived: "Temporary problem - please try again later and consider using batch operations. The user is over quota." 
json_parser - syntax error found,  forcing abort, Line 1 Column 0 
Application '/usr/bin/akonadi_googlecalendar_resource' exited normally...
Comment 4 Manuel Amador (Rudd-O) 2013-01-29 07:46:29 UTC
rpm -q libkgapi
libkgapi-0.4.4-1.fc18.x86_64
Comment 5 Daniel Vrátil 2013-03-14 19:55:59 UTC
This has been solved in master by porting the resource to LibKGAPI 2, which can handle quota issues in any service by temporarily delaying the request and then increasing delay between further requests.