[4.0.1.45] Account configuration is not working

REPRODUCIBILITY: always.
OS VERSION: 4.0.1.45 (Koli)
HARDWARE: Jolla C (Intex Aqua Fish)
UI LANGUAGE: Czech (I tried UK English also)
REGRESSION: Yes (compared to 3.*)

DESCRIPTION:

After upgrade to SFOS 4, my accounts are visible in account settings, but I cannot configure them (open them). When I tap on the account, nothing happen. When I tap to “add account” below, just message “No account providers available” is displayed.

PRECONDITIONS:

I have few OpenRepos packages installed, but none should affect accounts I believe:
ClubCode, CodeReader, Compass, File Browser, GhostCloud, GPS Tracker, harbour-owncloud-daemon, harbour-sms-share-plugin, Jupii Laufhelden, Hashka, MoNav, My backup, Navit, OSMapper, Passilic, Počasí, QR Clip, Recorder, sailfish-qrshare, Sailslack, Space Inspector, Storeman, WiFi Analyser, Worldclock, YTPlayer

STEPS TO REPRODUCE:

Just open Settings, account tab and try to configure account

journal log tail:

Feb 05 08:52:05 Sailfish jolla-settings[7375]: [D] unknown:0 - Press x: 175.755 y: 217.83
Feb 05 08:52:05 Sailfish jolla-settings[7375]: [W] unknown:74 - file:///usr/lib/qt5/qml/com/jolla/settings/accounts/AccountsViewLogic.qml:74: Error: Unable to obtain provider with name: facebook
Feb 05 08:52:05 Sailfish jolla-settings[7375]: [D] unknown:0 - Press x: 174.757 y: 460.64
Feb 05 08:52:05 Sailfish jolla-settings[7375]: [W] unknown:74 - file:///usr/lib/qt5/qml/com/jolla/settings/accounts/AccountsViewLogic.qml:74: Error: Unable to obtain provider with name: google
Feb 05 08:52:06 Sailfish kernel: [07:52:06.043771] [0000000102B4BD1F] [VosMC]  wlan: [E :HDP] hdd_tx_rx_pkt_cnt_stat_timer_handler: Disable split scan
Feb 05 08:52:06 Sailfish jolla-settings[7375]: [D] unknown:0 - Press x: 165.769 y: 706.448
Feb 05 08:52:06 Sailfish jolla-settings[7375]: [W] unknown:74 - file:///usr/lib/qt5/qml/com/jolla/settings/accounts/AccountsViewLogic.qml:74: Error: Unable to obtain provider with name: jolla
Feb 05 08:52:06 Sailfish jolla-settings[7375]: [D] unknown:0 - Press x: 159.778 y: 835.347
Feb 05 08:52:06 Sailfish jolla-settings[7375]: [W] unknown:74 - file:///usr/lib/qt5/qml/com/jolla/settings/accounts/AccountsViewLogic.qml:74: Error: Unable to obtain provider with name: nextcloud
Feb 05 08:52:07 Sailfish jolla-settings[7375]: [D] unknown:0 - Press x: 144.799 y: 944.262
Feb 05 08:52:07 Sailfish jolla-settings[7375]: [W] unknown:74 - file:///usr/lib/qt5/qml/com/jolla/settings/accounts/AccountsViewLogic.qml:74: Error: Unable to obtain provider with name: twitter
Feb 05 08:52:07 Sailfish jolla-settings[7375]: [D] unknown:0 - Press x: 169.764 y: 1107.13
Feb 05 08:52:07 Sailfish jolla-settings[7375]: [W] unknown:74 - file:///usr/lib/qt5/qml/com/jolla/settings/accounts/AccountsViewLogic.qml:74: Error: Unable to obtain provider with name: jabber

EXPECTED RESULT:

I should be able add new account or configure existing one.

I tried to uninstall sailfish-qrshare and harbour-sms-share-plugin, but it didn’t help :frowning:

here is strace output:

used command: devel-su -p strace -f /usr/bin/jolla-settings 2>&1 | tee jolla-settings-strace.log

additional info:

[nemo@Sailfish ~]$ devel-su -p ag-tool list-accounts
Password: 
Enjoy your privileges.
ID         Provider                       Name
--         --------                       ----
24         jabber                         ****
23         google                         ****
22         nextcloud                      ****
18         google                         ****@gmail.com
17         google                         ****.com
16         facebook                       ****
10         jolla                          karry
6          twitter                        KarryCZ
[nemo@Sailfish ~]$ devel-su -p ag-tool list-providers
Password: 
Enjoy your privileges.

Provider Name
-------------
onedrive
email
google
webcal
yahoo
onlinesync
facebook
memotoo
twitter
jabber
nextcloud
dropbox
fruux
vk
jolla

I updated AccountViewLogic.qml:

    AccountManager {
        id: accountManager
        
        function printAccountProvider(providerName) {
          console.log(providerName + " account provider: " + accountManager.provider(providerName));
        }
        Component.onCompleted: {
          for (var i in accountManager.providerNames){
            // console.log("found provider: " + accountManager.providerNames[i]);
            printAccountProvider(accountManager.providerNames[i]);
          }
        }
    }

and when settings is open it prints:

[D] printAccountProvider:109 - twitter account provider: null
[D] printAccountProvider:109 - email account provider: null
[D] printAccountProvider:109 - vk account provider: null
[D] printAccountProvider:109 - onedrive account provider: null
[D] printAccountProvider:109 - facebook account provider: null
[D] printAccountProvider:109 - google account provider: null
[D] printAccountProvider:109 - jolla account provider: null
[D] printAccountProvider:109 - memotoo account provider: null
[D] printAccountProvider:109 - dropbox account provider: null
[D] printAccountProvider:109 - webcal account provider: null
[D] printAccountProvider:109 - yahoo account provider: null
[D] printAccountProvider:109 - nextcloud account provider: null
[D] printAccountProvider:109 - onlinesync account provider: null
[D] printAccountProvider:109 - jabber account provider: null
[D] printAccountProvider:109 - fruux account provider: null

Sailfish Accounts library is not open source unfortunately. I have no idea what is wrong. I also tried to cleanup my whole home directory a reboot phone. But with no success, it seems that something is broken in my system :frowning:

1 Like

Same problem here, can’t create new Nextcloud account on my Xperia X or Jolla C (never tried before SFOS 4.0).

Error message: Answer from server do not contain any user credentials for the chosen username (freely translated from Swedish).

No problems connecting, when using the OpenRepos app SailSync ownCloud

I can’t create new account on Twitter; the page were we put our credentials says that “this browser is out-of-date”.

problem with account providers persist in 4.0.1.48 (Koli)

1 Like

It’s not clear what’s going on here I’m afraid; this isn’t normal behaviour. I’ve mentioned it internally, maybe someone can identify the reason.

1 Like