← Back to team overview

ubuntu-phone team mailing list archive

Re: ownCloud app.

 

OK, so I found the issue: I thought that I could just add another value to Credentials{}, but that was not true. It only holds username and secret.

Where can I store the URL?

Beside that, the owncloud account is now added to the list.

Cheers,
Daniel

mån 2014-11-10 klockan 15:50 +0100 skrev Daniel Holm <d.holmen@xxxxxxxxx>:
Thanks a lot, Alberto!

Perhaps it is a simple typo.

Again, thanks. I'll give it another go.

Cheers,
Daniel

Den 10 nov 2014 11:21 skrev "Alberto Mardegan" <alberto.mardegan@xxxxxxxxxxxxx>:
Hi Daniel,

On 11/09/2014 04:27 AM, Daniel Holm wrote:
> Could you please help me a bit more regarding this? I'm having issues > with the credentials saving and don't really know how to get any output
> of where to start.

Sure! Here's the output:

==================
virtual void OnlineAccountsPlugin::Plugin::registerTypes(const char*)
Ubuntu.OnlineAccounts.Plugin
account-service.cpp 100 setObjectHandle Accounts::AccountService(0x1e78b60)
file:///usr/share/accounts/qml-plugins/owncloud/NewAccount.qml:112:
ReferenceError: owncloud is not defined
request.cpp 113 setWindow Requesting window reparenting
file:///usr/share/accounts/qml-plugins/owncloud/NewAccount.qml:112:
ReferenceError: owncloud is not defined
account-service.cpp 100 setObjectHandle Accounts::AccountService(0x1e78b60)
file:///usr/share/accounts/qml-plugins/owncloud/NewAccount.qml:136:
Error: Cannot assign to non-existent property "urlOC"
==================

In order to see this output, you need to enter the following commands in
a terminal (on the device), before starting the account creation:

  export OAU_LOGGING_LEVEL=2
  export OAU_DAEMON_TIMEOUT=9999
  online-accounts-service

Then the logs will appear on this console.

HTH,
  Alberto



--
Mailing list: https://launchpad.net/~ubuntu-phone
Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp

Follow ups

References