Dash-to-panel: Error loading extension in Gnome Shell 3.38.0

Created on 2 Oct 2020  ยท  10Comments  ยท  Source: home-sweet-gnome/dash-to-panel

Things to do first

  • Confirm that the problem persists when Dash-to-Panel is the only enabled extension. To do so, disable every other extension, then restart gnome-shell by running the r command from the prompt that appears when pressing Alt+F2 on an X.org session, or by logging out/in on a Wayland session.
  • Look for Dash-to-Panel errors in your log. To do so, run the journalctl /usr/bin/gnome-shell -f -o cat & command and reproduce the problem.
  • Search existing opened and closed issues to see if the problem has already been reported.

Describe the bug
Extension does not load in Gnome Shell 3.38.0

Linux distribution and version
Fedora 33 beta
Linux localhost.localdomain 5.8.12-300.fc33.x86_64 #1 SMP Mon Sep 28 14:04:15 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

GNOME Shell version
Gnome Shell 3.38.0

Dash-to-Panel version
39

Where was Dash-to-Panel installed from?
The GNOME extensions website

Additional Info

โฏ journalctl /usr/bin/gnome-shell | grep dash-to-panel
Sep 30 17:50:37 localhost.localdomain gnome-shell[1625]: JS ERROR: Extension [email protected]: TypeError: Main.overview.viewSelector.appDisplay._views is undefined
                                                         _init@/home/user/.local/share/gnome-shell/extensions/[email protected]/panelManager.js:67:9
                                                         C@/home/user/.local/share/gnome-shell/extensions/[email protected]/utils.js line 83 > eval:1:46
                                                         _enable@/home/user/.local/share/gnome-shell/extensions/[email protected]/extension.js:95:20
                                                         enable@/home/user/.local/share/gnome-shell/extensions/[email protected]/extension.js:65:5
Sep 30 18:20:33 localhost.localdomain gnome-shell[8167]: JS ERROR: Extension [email protected]: TypeError: Main.overview.viewSelector.appDisplay._views is undefined
                                                         _init@/home/user/.local/share/gnome-shell/extensions/[email protected]/panelManager.js:67:9
                                                         C@/home/user/.local/share/gnome-shell/extensions/[email protected]/utils.js line 83 > eval:1:46
                                                         _enable@/home/user/.local/share/gnome-shell/extensions/[email protected]/extension.js:95:20
                                                         enable@/home/user/.local/share/gnome-shell/extensions/[email protected]/extension.js:65:5
Sep 30 18:30:51 localhost.localdomain gnome-shell[8167]: JS ERROR: Extension [email protected]: TypeError: Main.overview.viewSelector.appDisplay._views is undefined
                                                         _init@/home/user/.local/share/gnome-shell/extensions/[email protected]/panelManager.js:67:9
                                                         C@/home/user/.local/share/gnome-shell/extensions/[email protected]/utils.js line 83 > eval:1:46
                                                         _enable@/home/user/.local/share/gnome-shell/extensions/[email protected]/extension.js:95:20
                                                         enable@/home/user/.local/share/gnome-shell/extensions/[email protected]/extension.js:65:5
Oct 01 20:34:53 localhost.localdomain gnome-shell[1687]: JS ERROR: Extension [email protected]: TypeError: Main.overview.viewSelector.appDisplay._views is undefined
                                                         _init@/home/user/.local/share/gnome-shell/extensions/[email protected]/panelManager.js:67:9
                                                         C@/home/user/.local/share/gnome-shell/extensions/[email protected]/utils.js line 83 > eval:1:46
                                                         _enable@/home/user/.local/share/gnome-shell/extensions/[email protected]/extension.js:95:20
                                                         enable@/home/user/.local/share/gnome-shell/extensions/[email protected]/extension.js:65:5
Oct 02 05:43:09 localhost.localdomain gnome-shell[1649]: JS ERROR: Extension [email protected]: TypeError: Main.overview.viewSelector.appDisplay._views is undefined
                                                         _init@/home/user/.local/share/gnome-shell/extensions/[email protected]/panelManager.js:67:9
                                                         C@/home/user/.local/share/gnome-shell/extensions/[email protected]/utils.js line 83 > eval:1:46
                                                         _enable@/home/user/.local/share/gnome-shell/extensions/[email protected]/extension.js:95:20
                                                         enable@/home/user/.local/share/gnome-shell/extensions/[email protected]/extension.js:65:5
Oct 02 06:50:02 localhost.localdomain gnome-shell[1612]: JS ERROR: Extension [email protected]: TypeError: Main.overview.viewSelector.appDisplay._views is undefined
                                                         _init@/home/user/.local/share/gnome-shell/extensions/[email protected]/panelManager.js:67:9
                                                         C@/home/user/.local/share/gnome-shell/extensions/[email protected]/utils.js line 83 > eval:1:46
                                                         _enable@/home/user/.local/share/gnome-shell/extensions/[email protected]/extension.js:95:20
                                                         enable@/home/user/.local/share/gnome-shell/extensions/[email protected]/extension.js:65:5

bug

Most helpful comment

Can confirm that the fix discussed in #1188 (installing git master) works perfectly. Just need someone to publish a release.

All 10 comments

Describe the bug
Extension does not load in Gnome Shell 3.38.0

Linux distribution and version
Fedora 33 beta

GNOME Shell version
Gnome Shell 3.38.0

Dash-to-Panel version
39

Where was Dash-to-Panel installed from?
The GNOME extensions website

Same issue here, also getting the error Main.overview.viewSelector.appDisplay._views is undefined when installing the extension.

Seems to be related to issue #1188

I can confirm the same is happening on Debian bullseye using Gnome Shell 3.38.0 Main.overview.viewSelector.appDisplay._views is undefined

gnome-shell[47507]: JS ERROR: Extension [email protected]: TypeError: Main.overview.viewSelector.appDisplay._views is undefined
                                              _init@/usr/share/gnome-shell/extensions/[email protected]/panelManager.js:67:9
                                              C@/usr/share/gnome-shell/extensions/[email protected]/utils.js line 83 > eval:1:46
                                              _enable@/usr/share/gnome-shell/extensions/[email protected]/extension.js:95:20
                                              enable@/usr/share/gnome-shell/extensions/[email protected]/extension.js:65:5

Can confirm that the fix discussed in #1188 (installing git master) works perfectly. Just need someone to publish a release.

Can confirm same issue on Gnome 3.8.1.
Platform: Archlinux

When trying to install from Gnome shell extensions website it gives error.

the same here:
OS: Arch Linux

Note: upgraded to gnome 3.38 and it stop working.

Sources on github already contain the fix in master branch.
For arch the package maintainer just did not update the arch-package yet.
Get sources from here, build (make _build) and copy to original location in /usr/share/gnome-shell/extensions/[email protected]/.
That worked for me.

Sources on github already contain the fix in master branch. For arch the package maintainer just did not update the arch-package yet. Get sources from here, build (make _build) and copy to original location in /usr/share/gnome-shell/extensions/[email protected]/. That worked for me.

thanks it worked for me.
-clone dash-to-panel repo
-cd inside the dash-to-panel
-run: make install
-cd out with: cd ../
-move dash-to-panel folder to /usr/share/gnome-shell/extensions/:
run: mv dash-to-panel/ /usr/share/gnome-shell/extensions/
-log out and log back in

Sources on github already contain the fix in master branch. For arch the package maintainer just did not update the arch-package yet.

It is because the arch package is based on releases, and the latest release is 39, which does not have this fix. Could the authors make a release?

For now, probably the easiest way to install in Arch is just to install the git version: gnome-shell-extension-dash-to-panel-git. It automatically picks the latest commit.

I just used the version from git and manually added 3.38 to the list of supported versions and it works fine, no errors for me.
I'm using Arch with latest Gnome 3.38.1.

I wonder what is the reason why authors didn't add the version 3.38 to metadata.json? Are there any blockers for 3.38 support or you just missed to update it? It seems to be working fine for me.

CC @jderose9 and @charlesg99.

v40 has been tagged and submitted to extensions.gnome.org (which will be available after they review).

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ErwinBaeyens picture ErwinBaeyens  ยท  5Comments

alex285 picture alex285  ยท  6Comments

jamesiri picture jamesiri  ยท  4Comments

andrewgazelka picture andrewgazelka  ยท  6Comments

RomanShumikhin picture RomanShumikhin  ยท  3Comments