Some scopes generate too much log output

Bug #1471157 reported by Paweł Stołowski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
The Savilerow project
Confirmed
High
Kyle Nitzsche

Bug Description

Some scopes (Today, Nearby... haven't checked others) generate too detailed logs I think, flooding the logs and making it harder to notice important stuff.

Some examples:

Today scope:
==========

HINTS - location is: "/home/phablet/.local/share/unity-scopes/unconfined/com.canonical.scopes.hints_hints" "20150705.date"
HINTS - date is QDate("2015-07-05")
HINTS - Publishing dept "dashboard"
HINTS - translated title is "Welcome to the Today scope"
HINTS - pushing result "Manage your day with all the essentials."
HINTS - translated title is "See your events and more from Google."
HINTS - pushing result "<b> Review your Google sync settings</b>"
HINTS - translated title is "Track your activity with Fitbit."
HINTS - pushing result "<b> Add your account</b>"
HINTS - translated title is "Set up your accounts later."
HINTS - pushing result "<b>Skip &amp; set up later</b>"
...

Nearby scope:
===========

"http://ep00.epimg.net/rss/ccaa/galicia.xml"
"MADRID"
"4294A6"
"http://ep00.epimg.net/rss/ccaa/madrid.xml"
"PAÍS VASCO"
"4294A6"
"http://ep00.epimg.net/rss/ccaa/paisvasco.xml"
"VALENCIA"
"4294A6"
"http://ep00.epimg.net/rss/ccaa/valencia.xml"
"BLOGS"
"00AFDC"
"http://ep00.epimg.net/apps/ipad/blogs/blogs_portada.js"
"LO MÁS VISTO"
"00AFDC"
"http://ep01.epimg.net/rss/tags/noticias_mas_vistas.xml"
query complete, status: ok

new item found
new item found
Type enclosure not found in item
Image not found, adding default:
"file:///custom/click/com.canonical.elpais/0.8.3/ELPAIS/images/default.png"
new item found
new item found
video found "http://ep00.epimg.net/elpais/videos/2015/07/03/videos/1435910464_038808_1435910493.mp4"
Type content:encoded not found in item
new item found
new item found
query complete, status: ok

new item found
video found "http://ep00.epimg.net/politica/videos/2015/07/02/actualidad/1435861166_453488_1435911701.mp4"
new item found
new item found
new item found
"NEARBY:" scope found
loading renderer "/custom/click/com.canonical.scopes.timeout/0.4.12/timeout/renderer/vjournal.json"
loading renderer "/custom/click/com.canonical.scopes.timeout/0.4.12/timeout/renderer/wide-art.json"
"NEARBY:" FOUND SCOPE NAME: com.canonical.scopes.songkick_songkick
"NEARBY:" FOUND SCOPE NAME: com.canonical.scopes.tasks_sctasks
"NEARBY:" FOUND SCOPE NAME: com.canonical.scopes.texts_texts
"NEARBY:" FOUND SCOPE NAME: com.canonical.scopes.timeout_timeout
"NEARBY:" FOUND SCOPE NAME: com.canonical.scopes.transport-alerts_transport-alerts
"NEARBY:" FOUND SCOPE NAME: com.canonical.scopes.twittertrending_twittertrending
"NEARBY:" FOUND SCOPE NAME: com.canonical.scopes.weatherchannel
"NEARBY:" FOUND SCOPE NAME: com.canonical.scopes.wikinear_wikinear
"NEARBY:" FOUND SCOPE NAME: com.canonical.scopes.wikipedia
"NEARBY:" FOUND SCOPE NAME: com.canonical.scopes.yahoofinance
"NEARBY:" FOUND SCOPE NAME: com.canonical.scopes.yelp_yelp
"NEARBY:" FOUND SCOPE NAME: com.ubuntu.scopes.soundcloud_soundcloud
"NEARBY:" FOUND SCOPE NAME: com.ubuntu.scopes.vimeo_vimeo
"NEARBY:" FOUND SCOPE NAME: com.ubuntu.scopes.youtube_youtube
"NEARBY:" FOUND SCOPE NAME: com.ubuntu.telegram_sctelegram
"NEARBY:" FOUND SCOPE NAME: mediascanner-music
"NEARBY:" FOUND SCOPE NAME: mediascanner-video
"NEARBY:" FOUND SCOPE NAME: musicaggregator
"NEARBY:" FOUND SCOPE NAME: newsagg.marcustomlinson_newsagg
"NEARBY:" FOUND SCOPE NAME: scopes
"NEARBY:" FOUND SCOPE NAME: unity-scope-nearby
"NEARBY:" FOUND SCOPE NAME: unity-scope-shopping
"NEARBY:" FOUND SCOPE NAME: videoaggregator
"NEARBY:" scope found
"NEARBY:" scope found
"NEARBY:" scope found
"NEARBY:" scope found
"NEARBY:" scope found
"NEARBY:" scope found
"NEARBY:" scope found
"NEARBY:" scope found
"NEARBY:" scope found
"NEARBY:" scope found
"NEARBY:" scope found
"NEARBY:" scope found
"NEARBY:" scope found
"NEARBY:" FOUND SCOPE NAME: clickscope
"NEARBY:" FOUND SCOPE NAME: com.canonical.cincodias_CINCODIAS
"NEARBY:" FOUND SCOPE NAME: com.canonical.elpais_ELPAIS
"NEARBY:" Searching scope "com.canonical.scopes.yelp_yelp" with department "landmarks"
"NEARBY:" FOUND SCOPE NAME: com.canonical.scopes.amazon
"NEARBY:" FOUND SCOPE NAME: com.canonical.scopes.bbc-sport_bbc-sport
"NEARBY:" FOUND SCOPE NAME: com.canonical.scopes.bbc_bbc
"NEARBY:" FOUND SCOPE NAME: com.canonical.scopes.calls_calls
"NEARBY:" FOUND SCOPE NAME: com.canonical.scopes.clickstore
"NEARBY:" FOUND SCOPE NAME: com.canonical.scopes.cnet_cnet
"NEARBY:" FOUND SCOPE NAME: com.canonical.scopes.contacts_contacts
"NEARBY:" FOUND SCOPE NAME: com.canonical.scopes.dashboard_dashboard
"NEARBY:" FOUND SCOPE NAME: com.canonical.scopes.day_day

description: updated
Changed in savilerow:
importance: Undecided → High
assignee: nobody → Kyle Nitzsche (knitzsche)
Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

Today, News and Photos agg scopes have all been refactored to a common .so from lp:scope-agregator. With these, you see a single multi-line report on each refresh of child scopes added by department and keyword (important info).

Nearby scope still uses the older approach (a full C++ project, not a common scope-aggreagator .so) and was a bit verbose. As of the next release (probably click version 1.2), Nearby will be the same as the others.

Changed in savilerow:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.