Unable to load scopes with unity-scope-tool

Bug #1310172 reported by Andrew Starr-Bochicchio
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unity8 (Ubuntu)
Fix Released
Medium
Michał Sawicz

Bug Description

I'm launching unity-scope-tool from a trusty unity 7 desktop with unity8 and the sdk installed. It opens, but no scopes are detected:

$ unity-scope-tool
file:///usr/share/unity8/Dash/DashContent.qml:100: TypeError: Cannot read property 'loaded' of null
file:///usr/share/unity8/ScopeTool.qml:77:31: Unable to assign [undefined] to scopes_ng::Scope*
file:///usr/share/unity8/ScopeTool.qml:149:23: Unable to assign null to QString
ERROR! Caught unity::scopes::TimeoutException: Request timed out after 300 milliseconds

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: unity-scope-tool 7.85+14.04.20140416-0ubuntu1
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
CurrentDesktop: Unity
Date: Sun Apr 20 00:57:01 2014
InstallationDate: Installed on 2013-03-16 (399 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130316)
SourcePackage: unity8
UpgradeStatus: Upgraded to trusty on 2013-12-07 (134 days ago)

Related branches

Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :
Revision history for this message
Michał Sawicz (saviq) wrote :

Make sure scope-registry and smart-scopes-proxy are running:

$ initctl start smart-scopes-proxy
$ initctl start scope-registry

This is still a bug that these are not started automatically, we should probably emit the "scope-ui-starting" upstart event on startup.

Changed in unity8 (Ubuntu):
status: New → Confirmed
Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote : Re: [Bug 1310172] Re: Unable to load scopes with unity-scope-tool

On Sun, Apr 20, 2014 at 12:11 PM, Michał Sawicz
<email address hidden> wrote:
> Make sure scope-registry and smart-scopes-proxy are running:
>
> $ initctl start smart-scopes-proxy
> $ initctl start scope-registry

Thanks Michał. I knew to start scope-registry, but not smart-scopes-proxy.

Revision history for this message
Michal Hruby (mhr3) wrote :

The unity-scope-tool is a development tool, and should be run by the SDK itself when developing a scope. SDK will know how to launch it so it works correctly. I think the conclusion here is that we shouldn't be installing a .desktop file for it, cause it only confuses users.

affects: unity-scopes-shell (Ubuntu) → unity8
Changed in unity8:
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Michal Hruby (mhr3)
Michał Sawicz (saviq)
Changed in unity8:
assignee: Michal Hruby (mhr3) → Michał Sawicz (saviq)
status: Triaged → In Progress
Changed in unity8 (Ubuntu):
status: Confirmed → In Progress
Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

On Tue, Apr 22, 2014 at 9:09 AM, Michal Hruby
<email address hidden> wrote:
> The unity-scope-tool is a development tool, and should be run by the SDK
> itself when developing a scope. SDK will know how to launch it so it
> works correctly. I think the conclusion here is that we shouldn't be
> installing a .desktop file for it, cause it only confuses users.

Dropping the desktop file might be a good thing, but I didn't even
realize there was one. My end goal was/is to write a scope in Go. I
was trying to get a locally installed scope to show up. Don't assume
that just because someone wants to write a scope, they either know or
care about the underlaying components.

-- Andrew Starr-Bochicchio

   Ubuntu Developer <https://launchpad.net/~andrewsomething>
   Debian Developer <http://qa.debian.org/developer.php?login=asb>
   PGP/GPG Key ID: D53FDCB1

Revision history for this message
Michał Sawicz (saviq) wrote :

unity-scope-tool --help should help you there, then. You only need to talk to that one scope, not the whole registry.

Michał Sawicz (saviq)
Changed in unity8:
status: In Progress → Fix Released
Changed in unity8 (Ubuntu):
status: In Progress → Fix Released
Michał Sawicz (saviq)
Changed in unity8 (Ubuntu):
assignee: nobody → Michał Sawicz (saviq)
importance: Undecided → Medium
no longer affects: unity8
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.