Summary: | Adding a google account results in an invalid (empty) and non-working entry | ||
---|---|---|---|
Product: | [Frameworks and Libraries] KAccounts | Reporter: | Hans-Peter Jansen <hpj> |
Component: | general | Assignee: | Telepathy Bugs <kde-telepathy-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | hpj, rplanchuelo, wbauer1 |
Priority: | NOR | ||
Version: | 19.08.0 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=414219 | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | empty kaccount google item |
Description
Hans-Peter Jansen
2019-11-10 19:11:45 UTC
This is basically the same as bug#414219. Only difference: openSUSE uses a newer signon-ui based on QtWebEngine (with a downstream patch to retrieve the username), while Kubuntu has an older QtWebKit based version. (so I don't mark it as duplicate just yet) The underlying problem is the same though AFAICT, it fails to retrieve the user name from the login (web) page, probably due to some change on Google's side. A workaround to get the account working: - Run "sqlite3 ~/.config/libaccounts-glib/accounts.db" - Enter "select * from Accounts;" to get the id of the account - Enter "update Accounts set name="username" where id=1;" to set a username and it should work. (replace 1 with the actual id, the username is actually irrelevant and can be anything, it's just used to display the account in the settings and kio-gdrive) Thanks, Wolfgang, much appreciated! And thanks again for more insights into the whole topic. Let me add, that you can make the select a bit more self explaining with running the command ".headers on" before. (In reply to Wolfgang Bauer from comment #1) > This is basically the same as bug#414219. > > Only difference: openSUSE uses a newer signon-ui based on QtWebEngine (with > a downstream patch to retrieve the username), while Kubuntu has an older > QtWebKit based version. (so I don't mark it as duplicate just yet) > > The underlying problem is the same though AFAICT, it fails to retrieve the > user name from the login (web) page, probably due to some change on Google's > side. > > A workaround to get the account working: > - Run "sqlite3 ~/.config/libaccounts-glib/accounts.db" > - Enter "select * from Accounts;" to get the id of the account > - Enter "update Accounts set name="username" where id=1;" to set a username > and it should work. (replace 1 with the actual id, the username is actually > irrelevant and can be anything, it's just used to display the account in the > settings and kio-gdrive) I had the same problem in Arch Linux and I could solve it. Thanks!!! *** This bug has been marked as a duplicate of bug 414219 *** |