← Back to team overview

touch-packages team mailing list archive

[Bug 1362188] [NEW] Introducing favorites made it impossible to only load one scope in scope-tool

 

Public bug reported:

With the introduction of favorites in the most recent scope plugin, it's currently impossible to run the scope tool with just one scope:
⟫ unity-scope-tool /usr/lib/x86_64-linux-gnu/unity-scopes/clickstore/com.canonical.scopes.clickstore.ini /usr/lib/x86_64-linux-gnu/unity-scopes/scopes/scopes.ini 
scoperegistry: unity::ResourceException: cannot open scope installation directory "/custom/lib/x86_64-linux-gnu/unity-scopes": No such file or directory
scoperegistry: could not open OEM installation directory, ignoring OEM scopes
warning: ignoring unknown key PageHeader.background in group Appearance in file /usr/lib/x86_64-linux-gnu/unity-scopes/scopes/scopes.ini
scoperegistry: no remote registry configured, only local scopes will be available
ScopesWatcher::add_install_dir(): install dir watch: unity::ResourceException: DirWatcher::add_watch(): failed to add watch for path: "/custom/lib/x86_64-linux-gnu/unity-scopes". inotify_add_watch() failed. (fd = 14, path = /custom/lib/x86_64-linux-gnu/unity-scopes)
file:///usr/share/unity8/ScopeTool.qml:139:23: Unable to assign null to QString
No such scope: "clickscope"
No such scope: "videoaggregator"
No such scope: "mediascanner-music"

⟫ unity-scope-tool /usr/lib/x86_64-linux-gnu/unity-scopes/clickstore/com.canonical.scopes.clickstore.ini 
scoperegistry: unity::ResourceException: cannot open scope installation directory "/custom/lib/x86_64-linux-gnu/unity-scopes": No such file or directory
scoperegistry: could not open OEM installation directory, ignoring OEM scopes
scoperegistry: no remote registry configured, only local scopes will be available
ScopesWatcher::add_install_dir(): install dir watch: unity::ResourceException: DirWatcher::add_watch(): failed to add watch for path: "/custom/lib/x86_64-linux-gnu/unity-scopes". inotify_add_watch() failed. (fd = 14, path = /custom/lib/x86_64-linux-gnu/unity-scopes)
file:///usr/share/unity8/ScopeTool.qml:139:23: Unable to assign null to QString
Unable to add overview scope, can't find with ID: "scopes"
No such scope: "clickscope"
No such scope: "videoaggregator"
No such scope: "mediascanner-music"

The scopes scope should be added to the registry regardless of options
passed on the console, and the scopes passed on the console should be
used as the favorite set instead of the gsetting.

If no options passed, we displayed all available scopes before... not
sure if that's possible now?

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: unity-plugin-scopes 0.5.4+14.10.20140826-0ubuntu1
ProcVersionSignature: Ubuntu 3.16.0-10.15-generic 3.16.1
Uname: Linux 3.16.0-10-generic x86_64
NonfreeKernelModules: nvidia wl
ApportVersion: 2.14.6-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Aug 27 15:42:54 2014
SourcePackage: unity-scopes-shell
SystemImageInfo: Error: [Errno 2] Nie ma takiego pliku ani katalogu: 'system-image-cli'
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: unity-scopes-shell (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: unity8 (Ubuntu)
     Importance: Undecided
         Status: Confirmed


** Tags: amd64 apport-bug utopic

** Also affects: unity8 (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity-scopes-shell in
Ubuntu.
https://bugs.launchpad.net/bugs/1362188

Title:
  Introducing favorites made it impossible to only load one scope in
  scope-tool

Status in “unity-scopes-shell” package in Ubuntu:
  New
Status in “unity8” package in Ubuntu:
  Confirmed

Bug description:
  With the introduction of favorites in the most recent scope plugin, it's currently impossible to run the scope tool with just one scope:
  ⟫ unity-scope-tool /usr/lib/x86_64-linux-gnu/unity-scopes/clickstore/com.canonical.scopes.clickstore.ini /usr/lib/x86_64-linux-gnu/unity-scopes/scopes/scopes.ini 
  scoperegistry: unity::ResourceException: cannot open scope installation directory "/custom/lib/x86_64-linux-gnu/unity-scopes": No such file or directory
  scoperegistry: could not open OEM installation directory, ignoring OEM scopes
  warning: ignoring unknown key PageHeader.background in group Appearance in file /usr/lib/x86_64-linux-gnu/unity-scopes/scopes/scopes.ini
  scoperegistry: no remote registry configured, only local scopes will be available
  ScopesWatcher::add_install_dir(): install dir watch: unity::ResourceException: DirWatcher::add_watch(): failed to add watch for path: "/custom/lib/x86_64-linux-gnu/unity-scopes". inotify_add_watch() failed. (fd = 14, path = /custom/lib/x86_64-linux-gnu/unity-scopes)
  file:///usr/share/unity8/ScopeTool.qml:139:23: Unable to assign null to QString
  No such scope: "clickscope"
  No such scope: "videoaggregator"
  No such scope: "mediascanner-music"

  ⟫ unity-scope-tool /usr/lib/x86_64-linux-gnu/unity-scopes/clickstore/com.canonical.scopes.clickstore.ini 
  scoperegistry: unity::ResourceException: cannot open scope installation directory "/custom/lib/x86_64-linux-gnu/unity-scopes": No such file or directory
  scoperegistry: could not open OEM installation directory, ignoring OEM scopes
  scoperegistry: no remote registry configured, only local scopes will be available
  ScopesWatcher::add_install_dir(): install dir watch: unity::ResourceException: DirWatcher::add_watch(): failed to add watch for path: "/custom/lib/x86_64-linux-gnu/unity-scopes". inotify_add_watch() failed. (fd = 14, path = /custom/lib/x86_64-linux-gnu/unity-scopes)
  file:///usr/share/unity8/ScopeTool.qml:139:23: Unable to assign null to QString
  Unable to add overview scope, can't find with ID: "scopes"
  No such scope: "clickscope"
  No such scope: "videoaggregator"
  No such scope: "mediascanner-music"

  The scopes scope should be added to the registry regardless of options
  passed on the console, and the scopes passed on the console should be
  used as the favorite set instead of the gsetting.

  If no options passed, we displayed all available scopes before... not
  sure if that's possible now?

  ProblemType: Bug
  DistroRelease: Ubuntu 14.10
  Package: unity-plugin-scopes 0.5.4+14.10.20140826-0ubuntu1
  ProcVersionSignature: Ubuntu 3.16.0-10.15-generic 3.16.1
  Uname: Linux 3.16.0-10-generic x86_64
  NonfreeKernelModules: nvidia wl
  ApportVersion: 2.14.6-0ubuntu2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Wed Aug 27 15:42:54 2014
  SourcePackage: unity-scopes-shell
  SystemImageInfo: Error: [Errno 2] Nie ma takiego pliku ani katalogu: 'system-image-cli'
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-scopes-shell/+bug/1362188/+subscriptions


Follow ups

References