[Bug 1790996] Re: JS ERROR: ImportError: No JS module 'desktop' found in search path#012

shemgp 1790996 at bugs.launchpad.net
Thu Sep 6 08:56:42 UTC 2018


I can confirm that in the build of gnome-shell using the contents of
this patch allows launching of preferences of gnome-shell extensions
again.

Changed the debdiff to update the previous
debian/patches/ubuntu/desktop_detect.patch to add the required
<file>mist/desktop.js</file> to js/prefs-resources.gresource.xml.

** Patch added: "add_desktop_module_to_prefs2.patch"
   https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1790996/+attachment/5185492/+files/add_desktop_module_to_prefs2.patch

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1790996

Title:
  JS ERROR: ImportError: No JS module 'desktop' found in search path#012

Status in gnome-shell package in Ubuntu:
  Triaged

Bug description:
  Upgraded latest Ubuntu Cosmic Cuttlefish (development branch) and this error shows up when clicking a preference in any gnome-shell extension:
  Sep  6 10:16:23 shemgp-x230t gnome-shell-ext[30874]: Execution of main.js threw exception: Script <main> threw an exception
  Sep  6 10:16:23 shemgp-x230t gnome-shell-ext[30886]: JS ERROR: ImportError: No JS module 'desktop' found in search path#012 at resource:///org/gnome/shell/misc/extensionUtils.js:12:7#012 at resource:///org/gnome/shell/extensionPrefs/main.js:15:7#012@<main>:1:7

  ProblemType: Bug
  DistroRelease: Ubuntu 18.10
  Package: gnome-shell 3.30.0-1ubuntu1
  ProcVersionSignature: Ubuntu 4.17.0-9.10-generic 4.17.17
  Uname: Linux 4.17.0-9-generic x86_64
  ApportVersion: 2.20.10-0ubuntu9
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Thu Sep  6 10:18:42 2018
  DisplayManager: gdm3
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2015-09-28 (1073 days ago)
  InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
  SourcePackage: gnome-shell
  UpgradeStatus: Upgraded to cosmic on 2018-09-05 (0 days ago)

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



More information about the Ubuntu-sponsors mailing list