Code review comment for lp:~elopio/reminders-app/fix_with_account

Revision history for this message
David Planella (dpm) wrote :

I've tested this on the emulator, having installed both plugin packages built from this branch [1].

First I tested it with running the app, and then simply starting Ubuntu System Settings and trying to add a regular Evernote account. So if I go to System Settings and choose the Evernote account, it then shows me the login page. After entering my credentials, it seems to work (Evernote asks me if I want to re-authorize the app to access this account). However, after hitting the button to re-authorize, it then hangs forever like this: http://i.imgur.com/TZi6P4u.png

This is the full debug output [2] of Online Accounts, but the most interesting part are the last few lines:

qml: Account created!
EvernoteConnection not set up completely. You need to set a hostname and a token. Cannot execute job. ( FetchUsernameJob )
Error fetching username: "Token or hostname not set."

The "Account created!" debug message I simply added it to the plugin's Main.qml file, so it's not in this branch. In any case, it seems that fetching the user name does not work for some reason, and that's presumably causing UOA to hang.

[1] https://launchpad.net/~dpm/+archive/ppa/+packages?field.name_filter=&field.status_filter=&field.series_filter=utopic
[2] http://pastebin.ubuntu.com/7706895/

« Back to merge proposal