Ok, I've a suspiction it's a backend problem on the server; executing
the offending search query with the browser I get this:

{"departments": {"canned_query":
"scope://com.canonical.scopes.sevendigital", "subdepartments":
[{"canned_query":
"scope://com.canonical.scopes.sevendigital?dep=newreleases",
"has_subdepartments": false, "label": "New releases"}, {"canned_query":
"scope://com.canonical.scopes.sevendigital?dep=topalbums",
"has_subdepartments": false, "label": "Top albums"}, {"canned_query":
"scope://com.canonical.scopes.sevendigital?dep=toptracks",
"has_subdepartments": false, "label": "Top tracks"}, {"canned_query":
"scope://com.canonical.scopes.sevendigital?dep=genres",
"has_subdepartments": true, "label": "Genres"}], "label": "All
categories"}}

And it ends here, missing actual search results.

-- 
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:
  New
Status in unity-scopes-api package in Ubuntu:
  New

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     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to