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 1515927
Summary: | Gnome-tweak-tool is broken on Fedora 27 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Henrique C. S. Junior <henriquecsj> |
Component: | gnome-tweak-tool | Assignee: | Mohamed El Morabity <pikachu.2014> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 27 | CC: | dhlavacd, michel, phorgan1, pikachu.2014, tiagomatos, wgacquer |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | gnome-tweak-tool-3.26.3-3.fc27 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-12-12 11:17:10 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Henrique C. S. Junior
2017-11-21 15:51:02 UTC
gnome-tweak-tool-3.26.3-3.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-2696dde173 gnome-tweak-tool-3.26.3-3.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-2696dde173 Looks like the update does not fix the problem. [henrique@localhost Elk] $ rpm -qa | grep gnome-tweak-tool gnome-tweak-tool-3.26.3-3.fc27.noarch The error: [henrique@localhost Elk] $ gnome-tweak-tool Traceback (most recent call last): File "/usr/bin/gnome-tweak-tool", line 24, in <module> import gi ModuleNotFoundError: No module named 'gi' gnome-tweak-tool-3.26.3-3.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report. Please reopen the ticket as it is now defunct in the latest stable version on Fedora Core 27. $sudo dnf install gnome-tweak-tool Last metadata expiration check: 2:03:37 ago on Fri Jan 19 16:47:31 2018. Dependencies resolved. ======================================================================================================= Package Arch Version Repository Size ======================================================================================================= Installing: gnome-tweak-tool noarch 3.26.4-1.fc27 updates 323 k Installing dependencies: gnome-shell-extension-user-theme noarch 3.26.2-1.fc27 updates 23 k Transaction Summary ======================================================================================================= Install 2 Packages Total download size: 346 k Installed size: 1.3 M Is this ok [y/N]: y Downloading Packages: (1/2): gnome-shell-extension-user-theme-3.26.2-1.fc27.noarch.rpm 446 kB/s | 23 kB 00:00 (2/2): gnome-tweak-tool-3.26.4-1.fc27.noarch.rpm 4.2 MB/s | 323 kB 00:00 ------------------------------------------------------------------------------------------------------- Total 369 kB/s | 346 kB 00:00 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : gnome-shell-extension-user-theme-3.26.2-1.fc27.noarch 1/2 Installing : gnome-tweak-tool-3.26.4-1.fc27.noarch 2/2 Running scriptlet: gnome-tweak-tool-3.26.4-1.fc27.noarch 2/2 Running scriptlet: gnome-shell-extension-user-theme-3.26.2-1.fc27.noarch 2/2 Running scriptlet: gnome-tweak-tool-3.26.4-1.fc27.noarch 2/2 Verifying : gnome-tweak-tool-3.26.4-1.fc27.noarch 1/2 Verifying : gnome-shell-extension-user-theme-3.26.2-1.fc27.noarch 2/2 Installed: gnome-tweak-tool.noarch 3.26.4-1.fc27 gnome-shell-extension-user-theme.noarch 3.26.2-1.fc27 Complete! $ gnome-tweak-tool Traceback (most recent call last): File "/usr/bin/gnome-tweak-tool", line 24, in <module> import gi ModuleNotFoundError: No module named 'gi' I see this is status closed errata. That's a mistake. I'm on fedora 27 with the version out of updates, 3.26.4 and gnome-tweak-tool fails trying to import the python module gi. If that succeeded it would fail on the import of gtweak. Please be more careful when closing tickets:) A workaround, is to replace the first line of gnome-tweak-tool #!/usr/bin/env python3 with #!/usr/bin/python3 If yours says python that's ok too. For some reason env isn't finding the right python. Does that mean that the error is in env and not in gnome-tweak-tool? (In reply to Patrick from comment #7) > A workaround, is to replace the first line of gnome-tweak-tool > > #!/usr/bin/env python3 > > with > > #!/usr/bin/python3 > > If yours says python that's ok too. > For some reason env isn't finding the right python. Does that mean that the > error is in env and not in gnome-tweak-tool? Thanks! that works for me. |