[Solved] Settings crashes while Jolla account login

asked 2015-03-05 00:05:48 +0200

pLurchi gravatar image

updated 2015-03-11 09:34:41 +0200

raketti gravatar image

Hi,

my Jolla account was logged out. I tried to log in again but settings app crashes. After some trials I deleted the account in phone and tried to add->login again. But settings app still crashes and is closed.

  • Login with browser works
  • Time in Settings is correct
  • I don't want to reset everything
  • Last info from settings: Update available
  • SailfishOS version: 1.1.1.27

    Can I see somehow a (error) logging? I hope someone has an Idea.

EDIT: Solution from comments

If you have no accounts at all, then it might be worthwhile to just delete the accounts and signon databases entirely, as you won't lose anything. They should be automatically recreated when needed, hopefully with the correct access permissions.

devel-su rm -rf /home/nemo/.config/libaccounts-glib
devel-su rm -rf /home/nemo/.config/signond

Then reboot phone.

edit retag flag offensive close delete

Comments

Thanks for the report. I'll investigate this one now. The simplest way to get some logs is to run the settings application from the terminal: devel-su -p jolla-settings.

chris.adams ( 2015-03-06 03:31:37 +0200 )edit

I cannot reproduce, unfortunately, so any information you can provide will be helpful in figuring out what is going wrong in your particular case.

I should point out: to fix this issue in a non-destructive way, the simplest solution is probably:

$ devel-su -p pkcon install libaccounts-glib-tools $ ag-tool list-accounts $ ag-tool delete-account 55

(or, instead of 55, whichever number is associated with your Jolla account).

You should then be able to add the account from Settings | Accounts.

Cheers, Chris.

chris.adams ( 2015-03-06 07:39:45 +0200 )edit

Hi Chris,

jolla-settings gives the following:

(process:26986): accounts-glib-CRITICAL **: ag_provider_unref: assertion 'provider != NULL' failed
[W] unknown:38 - file:///usr/lib/qt5/qml/Sailfish/Silica/private/Util.js:38: TypeError: Cannot read property 'parent' of null

......................................................

[D] SignOn::IdentityImpl::signOut:542 - identityimpl.cpp 542 signOut Signing out. 
[D] SignOn::IdentityImpl::remove:287 - identityimpl.cpp 287 remove Removing credentials.
[D] SignOn::IdentityImpl::signOut:542 - identityimpl.cpp 542 signOut Signing out. 
[D] SignOn::IdentityImpl::remove:287 - identityimpl.cpp 287 remove Removing credentials. 
Speicherzugriffsfehler

So, I think there I've again a permission error. "Speicherzugriffsfehler" means "storage access error".

install libaccounts-glib-tools has no impact.

pLurchi ( 2015-03-06 08:08:32 +0200 )edit

Does running ag-tool list-accounts show anything? Are you able to delete the account using ag-tool delete-account _AccountId_ at all?

chris.adams ( 2015-03-09 09:06:03 +0200 )edit

Running ag-tool list-accounts says

no accounts configured

I already deleted my account. Recreating a new one was not possible.

pLurchi ( 2015-03-09 11:44:07 +0200 )edit