Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1823337 - gnome-shell-extension-netspeed package doesn't include all *.js files from source package
Summary: gnome-shell-extension-netspeed package doesn't include all *.js files from so...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-shell-extension-netspeed
Version: 31
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: MartinKG
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-13 11:36 UTC by Ihor
Modified: 2020-04-25 03:00 UTC (History)
1 user (show)

Fixed In Version: gnome-shell-extension-netspeed-3.30-0.9.20200323git9d74599.fc32 gnome-shell-extension-netspeed-3.30-0.9.20200323git9d74599.fc30 gnome-shell-extension-netspeed-3.30-0.9.20200323git9d74599.fc31
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-25 02:21:30 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ihor 2020-04-13 11:36:26 UTC
Description of problem:
After updating package it was not loaded due to missing module:
ImportError: No JS module 'lib' found in search path

Stack trace:
  @/usr/share/gnome-shell/extensions/netspeed.com/prefs.js:20:7
  get prefsModule@resource:///org/gnome/shell/extensionPrefs/main.js:675:13
  _showPrefs@resource:///org/gnome/shell/extensionPrefs/main.js:57:13
  _extensionsLoaded@resource:///org/gnome/shell/extensionPrefs/main.js:320:13
  _scanExtensions/<@resource:///org/gnome/shell/extensionPrefs/main.js:298:13
  asyncCallback@resource:///org/gnome/gjs/modules/overrides/Gio.js:132:13
  main@resource:///org/gnome/shell/extensionPrefs/main.js:707:5
  @<main>:1:43

Version-Release number of selected component (if applicable):
gnome-shell-extension-netspeed-3.30-0.8.20200323git9d74599.fc31.noarch

How reproducible:
Update to latest version.

Steps to Reproduce:
1. dnf upgrade gnome-shell-extension-netspeed

Actual results:
Extension is not loaded due to missing library lib.js. It's really missing under /usr/share/gnome-shell/extensions/netspeed.com/

Expected results:
Extension is loaded without issues.

Additional info:
Quick workaround is to download lib.js file from upstream or get it from source package and place into destination directory: /usr/share/gnome-shell/extensions/netspeed.com/.

gnome-shell-extension-netspeed.spec file should be updated to gather *.js files instead of just extension.js, prefs.js and net_speed*.js

Comment 1 Fedora Update System 2020-04-13 15:43:48 UTC
FEDORA-2020-c6e353460e has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-c6e353460e

Comment 2 Fedora Update System 2020-04-13 15:43:50 UTC
FEDORA-2020-f7ee1bfada has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-f7ee1bfada

Comment 3 Fedora Update System 2020-04-13 15:45:13 UTC
FEDORA-2020-7662d36fe2 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2020-7662d36fe2

Comment 4 Fedora Update System 2020-04-13 21:17:44 UTC
FEDORA-2020-c6e353460e has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-c6e353460e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-c6e353460e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2020-04-15 19:57:13 UTC
FEDORA-2020-f7ee1bfada has been pushed to the Fedora 31 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-f7ee1bfada`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-f7ee1bfada

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2020-04-15 21:39:42 UTC
FEDORA-2020-7662d36fe2 has been pushed to the Fedora 30 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-7662d36fe2`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-7662d36fe2

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2020-04-25 02:21:30 UTC
FEDORA-2020-c6e353460e has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2020-04-25 02:41:05 UTC
FEDORA-2020-7662d36fe2 has been pushed to the Fedora 30 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2020-04-25 03:00:07 UTC
FEDORA-2020-f7ee1bfada has been pushed to the Fedora 31 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.