Parsing error while using yelp scope
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Yelp Scope |
Invalid
|
High
|
Unassigned |
Bug Description
I have com.canonical.
2016/05/11 15:22:51 Starting yelp scope
aa_getcon failed, errno = 13
warning: ignoring unknown key background in group Appearance in file /home/phablet/
[2016-05-11 07:22:51.296] INFO: Registry: RegistryObject:
2016/05/11 15:22:51 http://
[2016-05-11 15:22:51.455] ERROR: com.canonical.
[2016-05-11 15:22:51.505] ERROR: com.canonical.
query complete, status: error
: invalid character '<' looking for beginning of value
query complete, status: error
: invalid character '<' looking for beginning of value
I just installed yelp 1.5 and did not see this on:
channel: ubuntu- touch/rc- proposed/ bq-aquaris- pd.en
last update: 2016-05-10 15:44:25
version version: 45
I think the issue is that the http request is assumed to return json. If yelp returns HTML then the decoding into a struct fails and that error is not handled: bazaar. launchpad. net/~yelp- scope-team/ yelp-scope/ trunk/view/ head:/src/ yelp.go# L192
http://