Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Description of problem:
fros-recordmydesktop RPM package does not install required transitive dependencies or function upon install.
After installation, and even after attempting to resolve possible dependencies fros fails with the following python error followed by a seg fault.
$ fros
/usr/lib/python2.7/site-packages/pyfros/controls.py:22: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
from gi.repository import Gtk
Segmentation fault
How reproducible:
Consistently
Steps to Reproduce:
1. Install fros-recordmydesktop from optional repository
2. Attempt to run fros
3. Segfault
Actual results:
Python error and segfault
Expected results:
fros desktop recording to work.
fros-recordmydesktop removed and PyGObject warning patched out in fros-1.0-3.el7.
The version of fros in 7.x does not contain the code that checks for X availability, therefore the patch to fix it does not apply, so I suspect that the code being run wasn’t from the package. That, and I cannot reproduce it either in RHEL or after building the package from source.
VERIFIED:
new version of fros does not contain fros-recordmydesktop package. However I can not reproduce reported reproducer (see initial comment).
OLD FAIL (1MT-RHEL-7.6-released-26953-2019-06-03-16-18)
# rpm -qa fros*
fros-gnome-1.0-2.el7.noarch
fros-recordmydesktop-1.0-2.el7.noarch
fros-1.0-2.el7.noarch
[root@ci-vm-10-0-136-133 ~]# fros
Traceback (most recent call last):
File "/usr/bin/fros", line 23, in <module>
from pyfros.controls import Controls
File "/usr/lib/python2.7/site-packages/pyfros/controls.py", line 22, in <module>
from gi.repository import Gtk
ImportError: cannot import name Gtk
NEW PASS (1MT-RHEL-7.7-20190530.1-27947-2019-06-03-16-50)
# rpm -qa fros*
fros-gnome-1.0-5.el7.noarch
fros-1.0-5.el7.noarch
[root@ci-vm-10-0-136-62 ~]# fros
Traceback (most recent call last):
File "/usr/bin/fros", line 23, in <module>
from pyfros.controls import Controls
File "/usr/lib/python2.7/site-packages/pyfros/controls.py", line 20, in <module>
gi.require_version('Gtk', '3.0')
File "/usr/lib64/python2.7/site-packages/gi/__init__.py", line 99, in require_version
raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Gtk not available
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:2026
Description of problem: fros-recordmydesktop RPM package does not install required transitive dependencies or function upon install. After installation, and even after attempting to resolve possible dependencies fros fails with the following python error followed by a seg fault. $ fros /usr/lib/python2.7/site-packages/pyfros/controls.py:22: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded. from gi.repository import Gtk Segmentation fault How reproducible: Consistently Steps to Reproduce: 1. Install fros-recordmydesktop from optional repository 2. Attempt to run fros 3. Segfault Actual results: Python error and segfault Expected results: fros desktop recording to work.