From Bugzilla Helper: User-Agent: Mozilla/5.0 Galeon/1.2.5 (X11; Linux i686; U;) Gecko/20020712 Description of problem: The redhat-config-services package appears to require gnome-python2-canvas but the dependency is not there in the spec file. Explanation in following fields. Version-Release number of selected component (if applicable): 0.8.1-7 Steps to Reproduce: 1. install redhat-config-services without installing gnome-python2-canvas 2. run redhat-config-services: [root@helsing rpm]# redhat-config-services Fatal Python error: could not import gnome.canvas /usr/share/redhat-config-services/redhat-config-services: line 4: 1482 Aborted /usr/bin/python /usr/share/redhat-config-services/serviceconf.py 3. install gnome-python2-canvas and it runs further: [root@helsing rpm]# redhat-config-services Traceback (most recent call last): File "/usr/share/redhat-config-services/serviceconf.py", line 33, in ? import servicemethods File "/usr/share/redhat-config-services/servicemethods.py", line 25, in ? from translate import _, N_, cat ImportError: No module named translate (OK it still bails but the dependency was there :-) 4. check for dependencies: [root@helsing rpm]# rpm -q --requires redhat-config-services | grep python gnome-python2 [root@helsing rpm]# rpm -q --requires gnome-python2 | grep python gnome-python2-bonobo and redhat-config-services does not depend on gnome-python2-canvas Additional info: OK this is a minor packaging bug but it should be fixed as it is there and bit me (still on the hunt for the remaining problem so this bug report may grow :-)
The translate requirement is from package rhpl. rhpl should also be added as a dependency in the spec file.
Gets further now but still dies with: (redhat-config-services:1817): GLib-GObject-WARNING **: gobject.c:918: object class `GnomeProgram' has no property named `default-icon' Traceback (most recent call last): File "/usr/share/redhat-config-services/serviceconf.py", line 497, in ? main() File "/usr/share/redhat-config-services/serviceconf.py", line 487, in main Gui() File "/usr/share/redhat-config-services/serviceconf.py", line 151, in __init__ self.editing_runlevel = self.ServiceMethods.get_runlevel() File "/usr/share/redhat-config-services/servicemethods.py", line 117, in get_runlevel runlevel_output = commands.getstatusoutput("/sbin/runlevel") File "/usr/lib/python2.2/commands.py", line 54, in getstatusoutput text = pipe.read() IOError: [Errno 4] Interrupted system call
Fixed in serviceconf.py 0.8.1-8
With redhat-config-services-0.8.1-8, I'm seeing the dependency on rhpl and gnome-python2-canvas. In addition, I'm not seeing the traceback quoted above, so closing out this issue.