This issue actually turned out to be primarily due to a change made in
unity-scopes-api from json-cpp to json-glib, whereby the json returned
from the SSS was being mistreated in some places.
Thanks to Pawel's fixes to unity-scopes-api and Facundo's fix to the
eBay scope, all remote scopes are in working order again.
** Changed in: ubuntu-rest-scopes
Status: New => Fix Released
** Changed in: unity-scopes-api (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity-scopes-api in
Ubuntu.
https://bugs.launchpad.net/bugs/1586412
Title:
Remote scopes are very often empty
Status in Ubuntu Rest Scopes:
Fix Released
Status in unity-scopes-api package in Ubuntu:
Fix Released
Bug description:
I noticed that very often some remote scopes are empty (7digital,
EBay, Reddit..., but not Wikipedia - that one seems to be working
fine). When this happens, /home/phablet/.cache/upstart/smart-scopes-
proxy.log has the following errors:
[2016-05-27 16:18:25.326] INFO: SSRegistry: SmartScope: created query for
"com.canonical.scopes.sevendigital": ""
[2016-05-27 16:18:25.327] INFO: SSRegistry: SmartScopesClient.search(): GET
https://dash.ubuntu.com/smartscopes/v2/sevendigital/search?q=&session_id=486bd3e1-eba6-4316-8b77-2988c9002699&query_id=0&platform=phone&locale=en_GB&limit=300
[2016-05-27 16:18:25.328] INFO: SSRegistry: User agent:
release=15.04&scopes-api=1.0.6+15.04.20160520.3-0ubuntu1&plugin=0.5.7+15.04.20160523-0ubuntu1&unity8=8.12+15.04.20160520.1-0ubuntu1&build=344&partner=bq
[2016-05-27 16:18:25.540] ERROR: SSRegistry: SmartScopesClient.search():
Failed to parse line: unity::ResourceException: Failed to parse json string: *
Line 1, Column 1
Syntax error: value, object or array expected.
[2016-05-27 16:18:25.540] INFO: SSRegistry: SmartScope: query for
"com.canonical.scopes.sevendigital": "" complete
[2016-05-27 16:21:17.337] INFO: SSRegistry: SmartScope: created query for
"com.canonical.scopes.ebay": ""
[2016-05-27 16:21:17.338] INFO: SSRegistry: SmartScopesClient.search(): GET
https://dash.ubuntu.com/smartscopes/v2/ebay/search?q=&session_id=08e1d6cb-fe8d-44a2-9105-4fa5d7420dc4&query_id=0&platform=phone&locale=en_GB&limit=300
[2016-05-27 16:21:17.339] INFO: SSRegistry: User agent:
release=15.04&scopes-api=1.0.6+15.04.20160520.3-0ubuntu1&plugin=0.5.7+15.04.20160523-0ubuntu1&unity8=8.12+15.04.20160520.1-0ubuntu1&build=344&partner=bq
[2016-05-27 16:21:18.309] ERROR: SSRegistry: SmartScopesClient.search():
Failed to parse line: unity::ResourceException: Failed to parse json string: *
Line 1, Column 1
Syntax error: value, object or array expected.
Interestingly, I saw it once for Amazon even when it worked:
[2016-05-27 16:20:03.632] INFO: SSRegistry: SmartScope: created query for
"com.canonical.scopes.amazon": ""
[2016-05-27 16:20:03.634] INFO: SSRegistry: SmartScopesClient.search(): GET
https://dash.ubuntu.com/smartscopes/v2/amazon/search?q=&session_id=e0f83bae-8097-4b6f-8e00-42d9f969254c&query_id=0&platform=phone&locale=en_GB&limit=300
[2016-05-27 16:20:03.634] INFO: SSRegistry: User agent:
release=15.04&scopes-api=1.0.6+15.04.20160520.3-0ubuntu1&plugin=0.5.7+15.04.20160523-0ubuntu1&unity8=8.12+15.04.20160520.1-0ubuntu1&build=344&partner=bq
[2016-05-27 16:20:04.695] ERROR: SSRegistry: SmartScopesClient.search():
Failed to parse line: unity::ResourceException: Failed to parse json string: *
Line 1, Column 1
Syntax error: value, object or array expected.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-rest-scopes/+bug/1586412/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp