Bug 2116804
| Summary: | SettingsWidgets.py tracebacks: AttributeError: 'gi.repository.Gtk' object has no attribute 'FontChooserLevel' | ||
|---|---|---|---|
| Product: | [Fedora] Fedora EPEL | Reporter: | Pavol Babinčák <pbabinca> |
| Component: | python-xapp | Assignee: | Wolfgang Ulbrich <raveit65.sun> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | epel8 | CC: | leigh123linux, raveit65.sun, riehecky |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | python-xapp-2.2.2-2.el8 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-08-20 00:40:52 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
Pavol Babinčák
2022-08-09 10:37:33 UTC
I'm showing: python3-xapp noarch 2.0.2-2.el8 copr:copr.fedorainfracloud.org:stenstorp:cinnamon python3-xapp noarch 2.2.2-1.el8 epel It looks like python3-xapp-2.2.2-1.el8 was built by raveit65 Yes, it seems so. And according to Bodhi https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-475c131c4b it seems to be there to introduce lightdm-settings in EPEL 8. Wolfgang, would this be something that you could look into? python3-xapp-2.2.2-1 works fine with current cinnamon-settings-daemon-5.2.0-3.fc36 in stable f36. So i am thinking more that cinnamon needs to be updated. And i know from stenstorp/mate/ repository that this guy did downgrade packages with a epoch instead of fixing the real issue. And this way i can't go for official fedora building. So what cinnamon version are you using? Btw. i added MATE desktop to epel8 and i don't have any clue about cinnamons packaging situation. I suggest to open a issue at upstream, only those guys know why their software isn't compatible to their own apps. https://github.com/linuxmint/python3-xapp I guess the issue was introduced here https://github.com/linuxmint/python3-xapp/commit/cf83fa5a5ebb17f6f6e7c81b1ae77b915f241b5a Btw. can you build and test python3-xapp-2.2.2 with that commit reverted? Commit description looks like a hack which may not needed for epel8 with older gtk version. I am happy to revert that commit in rpm when it does fix your issue. (In reply to Pavol Babinčák from comment #0) > $ python3 > >>> import math > >>> import gi > >>> gi.require_version('Gtk', '3.0') > >>> gi.require_version('XApp', '1.0') > >>> from gi.repository import Gio, Gtk, GObject, Gdk, GLib, XApp > >>> Gtk.FontChooserLevel > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "/usr/lib64/python3.6/site-packages/gi/overrides/__init__.py", line > 39, in __getattr__ > return getattr(self._introspection_module, name) > File "/usr/lib64/python3.6/site-packages/gi/module.py", line 141, in > __getattr__ > self.__name__, name)) > AttributeError: 'gi.repository.Gtk' object has no attribute > 'FontChooserLevel' > >>> epel8 gtk3 is too old or broken. Available since: 3.24.1 See https://docs.gtk.org/gtk3/property.FontChooser.level.html Please try out this scratch build, this should fix the issue. https://koji.fedoraproject.org/koji/taskinfo?taskID=90931049 and give feedback here. Than i will push changes to epel repo. (In reply to Wolfgang Ulbrich from comment #11) > Please try out this scratch build, this should fix the issue. > https://koji.fedoraproject.org/koji/taskinfo?taskID=90931049 > and give feedback here. Than i will push changes to epel repo. I have installed this scratch build and I tested: 1) Run of "python3 /usr/lib/python3.6/site-packages/xapp/SettingsWidgets.py" doesn't produce any error. 2) Run of "/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py" opens Cinnamon's System Settings. So in total this looks good to me. 👍 --- (In reply to Wolfgang Ulbrich from comment #4) > python3-xapp-2.2.2-1 works fine with current > cinnamon-settings-daemon-5.2.0-3.fc36 in stable f36. > So i am thinking more that cinnamon needs to be updated. As Leigh wrote, RHEL has too old gtk3 for newer versions of Cinnamon. I have gtk3-3.22.30-10.el8.x86_64 installed. > And i know from stenstorp/mate/ repository that this guy did downgrade > packages with a epoch instead of fixing the real issue. > And this way i can't go for official fedora building. > So what cinnamon version are you using? cinnamon-4.6.7-1.el8.x86_64 from Vendor: Fedora Copr - user stenstorp. FEDORA-EPEL-2022-d6609a7659 has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-d6609a7659 Please leave karma. FEDORA-EPEL-2022-d6609a7659 has been pushed to the Fedora EPEL 8 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-d6609a7659 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-EPEL-2022-d6609a7659 has been pushed to the Fedora EPEL 8 stable repository. If problem still persists, please make note of it in this bug report. |