Bug 477487 - Keeps dropping tokens after one action
Summary: Keeps dropping tokens after one action
Status: RESOLVED DUPLICATE of bug 391186
Alias: None
Product: kio-gdrive
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 23.08.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Elvis Angelaccio
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-25 06:20 UTC by jshand2013
Modified: 2023-11-27 18:26 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
gdrive log (100.84 KB, text/x-log)
2023-11-25 06:43 UTC, jshand2013
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jshand2013 2023-11-25 06:20:03 UTC
STEPS TO REPRODUCE
1.   Select network drive and select google(x).  it will usually show your root directory.
2.   delete a file or add a file to the drive
3.   Try to select a file to delete or change directory etc.  this usually brings up the error of tokens expired or invalid

OBSERVED RESULT

Inability to do more than one action at a time with same token.  it might get dropped or changed too quickly

EXPECTED RESULT

to be able to finish all necessary actions before closing dolphin

Operating System: openSUSE Tumbleweed 20231123
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.112.0
Qt Version: 5.15.11
Kernel Version: 6.6.2-1-default (64-bit)
Graphics Platform: X11
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 1 jshand2013 2023-11-25 06:43:07 UTC
Created attachment 163450 [details]
gdrive log
Comment 2 Fabian Vogt 2023-11-27 18:26:02 UTC
The relevant part is probably

Nov 25 18:54:20 johns-pc kioslave5[9508]: kf.kio.workers.gdrive: GetCredentialsJob failed: "Failed to I/O session data to/from the signon daemon."
Nov 25 18:54:20 johns-pc dolphin[9461]: kf.kio.core.dirlister: new entries for  QUrl("gdrive:/")
...
Nov 25 18:54:21 johns-pc dolphin[9461]: kf.kio.core.dirlister: KDirLister(0x558ec0c2d120) url= QUrl("gdrive:/google1") keep= false reload= false
...
Nov 25 18:54:22 johns-pc kioslave5[9508]: kf.kio.workers.gdrive: Expired or missing access/refresh token for account "google1"
Nov 25 18:54:22 johns-pc kioslave5[9508]: kf.kio.workers.gdrive: Expired or missing access/refresh token for account "google1"

If it can't read a refresh token, it won't be able to generate a proper access token for the session and fail rather quickly.
Comment 3 Fabian Vogt 2023-11-27 18:26:54 UTC

*** This bug has been marked as a duplicate of bug 391186 ***