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:
system-config-printer does not start. The problem persist since rhel7.0.
# system-config-printer
/usr/share/system-config-printer/system-config-printer.py:31: PyGIWarning: GdkPixbuf was imported without specifying a version first. Use gi.require_version('GdkPixbuf', '2.0') before import to ensure that the right version gets loaded.
from gi.repository import GdkPixbuf
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
/usr/share/system-config-printer/system-config-printer.py:33: PyGIWarning: Gdk was imported without specifying a version first. Use gi.require_version('Gdk', '3.0') before import to ensure that the right version gets loaded.
from gi.repository import Gdk
Traceback (most recent call last):
File "/usr/share/system-config-printer/system-config-printer.py", line 76, in <module>
import installpackage
File "/usr/share/system-config-printer/installpackage.py", line 23, in <module>
import glib
ImportError: No module named glib
Steps to Reproduce:
1. install rhel 7 minimal
2. install and start cups cups
3. install and run system-config-printer
Easy fix: require pygobject2 and pycairo.
Hi Gabriel,
thank you for reporting this issue! pycairo is already as require, but pygobject2 isn't. I don't have a minimal RHEL 7 install, but I achieved the same behavior when I uninstalled pygobject2.
I agree adding pygobject2 as Requires: fixes it.
Can someone in your company (who has an access to subscription and has account at access.redhat.com) file a customer case at access.redhat.com? Or would you mind telling us Red Hat customer account number of your company?
I have access to the subscription account. No problem here.
Still, I want this bug to be public. I really hate when I see the changelog for a package and I'm denied access to the details in bugzilla. If you can guarantee that the bug will remain public we can discuss about this. Thank you.
Gabriel,
I'm deeply sorry for mystification - I talked with colleagues with experience from support team and explained to me that only way to get this bug priority is to open customer case.
For information on how to contact the Red Hat production support team, please visit:
https://www.redhat.com/support/process/production/#howto
I see that a TestCaseNeeded flag was added. It seems like we have a fairly simple manual bug-reproduction process. What additional info is needed to create a test case?
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-2020:1044
Description of problem: system-config-printer does not start. The problem persist since rhel7.0. # system-config-printer /usr/share/system-config-printer/system-config-printer.py:31: PyGIWarning: GdkPixbuf was imported without specifying a version first. Use gi.require_version('GdkPixbuf', '2.0') before import to ensure that the right version gets loaded. from gi.repository import GdkPixbuf libGL error: unable to load driver: swrast_dri.so libGL error: failed to load driver: swrast /usr/share/system-config-printer/system-config-printer.py:33: PyGIWarning: Gdk was imported without specifying a version first. Use gi.require_version('Gdk', '3.0') before import to ensure that the right version gets loaded. from gi.repository import Gdk Traceback (most recent call last): File "/usr/share/system-config-printer/system-config-printer.py", line 76, in <module> import installpackage File "/usr/share/system-config-printer/installpackage.py", line 23, in <module> import glib ImportError: No module named glib Steps to Reproduce: 1. install rhel 7 minimal 2. install and start cups cups 3. install and run system-config-printer Easy fix: require pygobject2 and pycairo.