Bug 1212192 - KGAPI Errors while saving updates/changes to a contact
Summary: KGAPI Errors while saving updates/changes to a contact
Status: RESOLVED INVALID
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: KDE Applications (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-Mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-09 22:21 UTC by John Shand
Modified: 2023-07-16 22:18 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
main log file (101.17 KB, text/plain)
2023-06-10 06:48 UTC, John Shand
Details
contact logs (4.13 KB, text/plain)
2023-06-10 06:49 UTC, John Shand
Details
google logs (4.31 KB, text/plain)
2023-06-10 06:50 UTC, John Shand
Details
KGAPI kind errors when saving changes to a contact's information (248.07 KB, text/plain)
2023-07-14 06:38 UTC, John Shand
Details
actual errors with google (778 bytes, text/plain)
2023-07-14 06:43 UTC, John Shand
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Shand 2023-06-09 22:21:46 UTC
from the first stand point when you go to create a contact, the contact is saved.  however, when you go back to edit that contact, nothing is saved or updated.

please let me know what other info you would like.
Comment 1 John Shand 2023-06-09 22:22:32 UTC
Operating System: openSUSE Tumbleweed 20230607
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9
Kernel Version: 6.3.6-1-default (64-bit)
Graphics Platform: Wayland
Processors: 2 × AMD A9-9420e RADEON R5, 5 COMPUTE CORES 2C+3G
Memory: 7.2 GiB of RAM
Graphics Processor: AMD Radeon R5 Graphics
Manufacturer: Acer
Product Name: Aspire A315-21G
System Version: V1.12
Comment 2 John Shand 2023-06-09 22:23:46 UTC
also note, with this issue there was no error message that was provided for diagnostic use
Comment 3 Christophe Marin 2023-06-10 06:05:10 UTC
(In reply to John Shand from comment #2)
> also note, with this issue there was no error message that was provided for
> diagnostic use

- Install (if needed) and run kdebugsettings.
- Search "contact" and click on "Enable All Debug"
- Repeat with "google"
- Apply

In a terminal, run `akonadictl restart` and try to reproduce.

Add the output to your upstream report. When done, you can turn off the debug messages in kdebugsettings.
Comment 4 John Shand 2023-06-10 06:48:58 UTC
Created attachment 867492 [details]
main log file
Comment 5 John Shand 2023-06-10 06:49:55 UTC
Created attachment 867493 [details]
contact logs
Comment 6 John Shand 2023-06-10 06:50:32 UTC
Created attachment 867494 [details]
google logs
Comment 7 John Shand 2023-06-10 06:51:41 UTC
i only tried to add a note to a contact and it didn't sync.  i have no idea if other details can be entered and updated or not
Comment 8 Christophe Marin 2023-06-10 08:30:25 UTC
The only thing that looks like an issue in your logs is this:

org.kde.pim.google.people: Changing person "people/c9113382226034384031"
org.kde.pim.google.people: No virtual collections to fetch, processing people now.
org.kde.pim.google.people: Processed person: "people/c9113382226034384031"
org.kde.pim.google.people: Person to update requires a photo update. Sending off photo update job. "people/c9113382226034384031"
org.kde.pim.google.people: Person "people/c9113382226034384031" created
org.kde.kgapi: Bad request, Google replied ' "{\n  \"error\": {\n    \"code\": 400,\n    \"message\": \"Invalid photo format\",\n    \"status\": \"INVALID_ARGUMENT\"\n  }\n}\n" '
org.kde.pim.google: Got error: KGAPI2::People::PersonPhotoUpdateJob(0x7fc69c013560) "Bad request."


That's worth reporting upstream
Comment 9 John Shand 2023-06-10 08:37:12 UTC
(In reply to Christophe Marin from comment #8)
> The only thing that looks like an issue in your logs is this:
> 
> org.kde.pim.google.people: Changing person "people/c9113382226034384031"
> org.kde.pim.google.people: No virtual collections to fetch, processing
> people now.
> org.kde.pim.google.people: Processed person: "people/c9113382226034384031"
> org.kde.pim.google.people: Person to update requires a photo update. Sending
> off photo update job. "people/c9113382226034384031"
> org.kde.pim.google.people: Person "people/c9113382226034384031" created
> org.kde.kgapi: Bad request, Google replied ' "{\n  \"error\": {\n   
> \"code\": 400,\n    \"message\": \"Invalid photo format\",\n    \"status\":
> \"INVALID_ARGUMENT\"\n  }\n}\n" '
> org.kde.pim.google: Got error:
> KGAPI2::People::PersonPhotoUpdateJob(0x7fc69c013560) "Bad request."
> 
> 
> That's worth reporting upstream

thanks for getting back to me.  how do i go about reporting this upstream?
Comment 10 Christophe Marin 2023-06-10 09:15:09 UTC
(In reply to John Shand from comment #9)
> 
> thanks for getting back to me.  how do i go about reporting this upstream?

https://bugs.kde.org/enter_bug.cgi?product=libkgapi
Comment 11 John Shand 2023-07-14 06:38:53 UTC
Created attachment 868203 [details]
KGAPI kind errors when saving changes to a contact's information
Comment 12 John Shand 2023-07-14 06:43:37 UTC
Created attachment 868204 [details]
actual errors with google
Comment 13 John Shand 2023-07-16 22:18:56 UTC
i have managed to add this upstream with plasma.  so i will close it here