RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1493526 - gnome-shell-extension-tool gives an error when trying to run it in a terminal
Summary: gnome-shell-extension-tool gives an error when trying to run it in a terminal
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: gnome-shell
Version: 7.4
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: rc
: ---
Assignee: Florian Müllner
QA Contact: Desktop QE
URL:
Whiteboard:
: 1548579 (view as bug list)
Depends On:
Blocks: 1571842 1656436 1694577
TreeView+ depends on / blocked
 
Reported: 2017-09-20 12:11 UTC by Oliver Ilian
Modified: 2021-10-19 11:55 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1694577 (view as bug list)
Environment:
Last Closed: 2019-08-06 12:37:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:2044 0 None None None 2019-08-06 12:38:31 UTC

Description Oliver Ilian 2017-09-20 12:11:40 UTC
Description of problem:
gnome-shell-extension-tool gives an error when trying to run it in a terminal

Version-Release number of selected component (if applicable):
gnome-shell-3.22.3-17.el7.x86_64

Actual results:
gnome-shell-extension-tool help
  File "/usr/bin/gnome-shell-extension-tool", line 152
    print("%r is already enabled." % (uuid,), file=sys.stderr)
                                                  ^
SyntaxError: invalid syntax

Comment 2 Yuki Okada 2017-11-14 08:21:40 UTC
/usr/bin/gnome-shell-extension-tool is a python script. The script included in
gnome-shell-3.22.3-17.el7.x86_64 package is compatible to python3, not python2.
It seems the script fails with syntax error because python3-compatible script is 
executed on python2 binary. Python3 is not included in RHEL7 by default, so the 
script may need to be reverted to python2-compatible.

Upstream bugzilla and commit are as follows.

Bug 732478 – [patch] add python3 support to gnome-shell
https://bugzilla.gnome.org/show_bug.cgi?id=732478
Port gnome-shell to Python 3 · GNOME/gnome-shell@be3c3c6
https://github.com/GNOME/gnome-shell/commit/be3c3c64c164e1b2edb5e43343ea177db473fbb4#diff-909b5c948c42a7f796c143d0522ee18c

Comment 3 Yuki Okada 2017-11-14 08:40:44 UTC
gnome-shell-perf-tool also fails in RHEL 7.4 (gnome-shell-3.22.3).

$ gnome-shell-perf-tool
Traceback (most recent call last):
  File "/usr/bin/gnome-shell-perf-tool", line 17, in <module>
    from configparser import RawConfigParser
ImportError: No module named configparser

The root cause would be the same as gnome-shell-extension-tool.
(configparser is included only in python3. Python2 has ConfigParser,
which uses CamelCase.)

Comment 20 Tomas Pelka 2019-07-03 10:10:12 UTC
*** Bug 1548579 has been marked as a duplicate of this bug. ***

Comment 22 errata-xmlrpc 2019-08-06 12:37:16 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:2044


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