Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Gtk version in fapolicyd config file editor UI elements #923

Closed
tparchambault opened this issue Oct 13, 2023 · 1 comment · Fixed by #924
Closed

Fix Gtk version in fapolicyd config file editor UI elements #923

tparchambault opened this issue Oct 13, 2023 · 1 comment · Fixed by #924
Milestone

Comments

@tparchambault
Copy link
Contributor

We are using an older Gtk minimum version to support RHEL 8.

@jw3
Copy link
Member

jw3 commented Oct 14, 2023

See discussion #916 (comment)



DEBUG:root:_PostInitCaller.__call__((), {})
Traceback (most recent call last):
  File "/usr/lib64/python3.6/site-packages/fapolicy_analyzer/ui/main_window.py", line 454, in on_configAdminMenu_activate
    self.__pack_main_content(router(PAGE_SELECTION.CONFIG))
  File "/usr/lib64/python3.6/site-packages/fapolicy_analyzer/ui/main_window.py", line 78, in router
    return route(*data)
  File "/usr/lib64/python3.6/site-packages/fapolicy_analyzer/ui/ui_widget.py", line 40, in __call__
    obj = type.__call__(cls, *args, **kwargs)
  File "/usr/lib64/python3.6/site-packages/fapolicy_analyzer/ui/config_admin_page.py", line 50, in __init__
    UIConnectedWidget.__init__(self, features=features)
  File "/usr/lib64/python3.6/site-packages/fapolicy_analyzer/ui/ui_widget.py", line 122, in __init__
    UIBuilderWidget.__init__(self)
  File "/usr/lib64/python3.6/site-packages/fapolicy_analyzer/ui/ui_widget.py", line 93, in __init__
    self._builder.add_from_string(glade)
  File "/usr/lib64/python3.6/site-packages/gi/overrides/Gtk.py", line 465, in add_from_string
    return Gtk.Builder.add_from_string(self, buffer, length)
GLib.Error: gtk-builder-error-quark: .:21:1 Required gtk+ version 3.24, current version is 3.22 (7)

@jw3 jw3 closed this as completed in #924 Oct 14, 2023
jw3 pushed a commit that referenced this issue Oct 14, 2023
This fix pins the gtk version to 3.22 in the `fapolicyd` config editor
glade files.

The config file editor was broken on RHEL8 at the 3.24 version of Gtk.

Closes #923
@jw3 jw3 added this to the v1.2 milestone Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants