Bug 192764
Summary: | system-config-printer unusable | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Joachim Frieben <jfrieben> | ||||||
Component: | system-config-printer | Assignee: | Tim Waugh <twaugh> | ||||||
Status: | CLOSED RAWHIDE | QA Contact: | |||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | rawhide | ||||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | i386 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2006-06-20 10:29:15 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Bug Depends On: | |||||||||
Bug Blocks: | 150223 | ||||||||
Attachments: |
|
Description
Joachim Frieben
2006-05-22 20:04:57 UTC
Created attachment 129825 [details]
Screenshot of "system-config-printer-0.7.8-1" post-configuration window
I can't reproduce this here. When you see this problem, is there a Python error message at the end of /tmp/xses-*? It may be easier to see if there is a Python error by running 'system-config-printer' from a terminal window. Thanks. The corresponding console output reads: uri = self.getDeviceURI() File "/usr/share/system-config-printer/system-config-printer.py", line 1564, in getDeviceURI host = self.cmbNPTDirectJetHostname.get_text() AttributeError: GUI instance has no attribute 'cmbNPTDirectJetHostname' The issue might thus be related to the particular case of installing an "HP LaserJet" printer through the "JetDirect" interface. There is an entry in the "xses" file, but its appearance is not related to invoking "system-config-printer". Anyway: ** (eggcups:3694): WARNING **: IPP request failed with status 1030 When invoking "system-config-printer" a 2nd time, it is not even possible to add a new printer, and the corresponding console output reads: File "/usr/lib/python2.4/posixpath.py", line 143, in getmtime return os.stat(filename).st_mtime OSError: [Errno 2] No such file or directory: '/usr/share/foomatic/db/source/printer' which is correct, as the only content of "/usr/share/foomatic/db/source" is a directory hierarchy containing a compressed "ppd" file: "..source/PPD/HP/fax/HP-Fax-hplip.ppd.gz" This happens on a fresh install of Fedora Core rawhide (2006-05-25). In order to add a new printer after having used "system-config-printer" before, it is necessary to remove "/tmp/foomatic.pickle" (maybe a left-over from the first failed attempt?). Otherwise, the corresponding button is unresponsive. Aha, this was what I needed: AttributeError: GUI instance has no attribute 'cmbNPTDirectJetHostname' I've fixed this in CVS. This error: ** (eggcups:3694): WARNING **: IPP request failed with status 1030 is something else I need to investigate. This: '/usr/share/foomatic/db/source/printer' [Errno 2] No such file or directory sounds like a problem with your installation: for some reason foomatic is not installed. Well, system-config-printer ought to require it but it does not. Fixed that in CVS too now. system-config-printer-0.7.10-1 should fix two of the three issues. The remaining one is the eggcups error message. Great, new issue: after a fresh install from the Fedora Core rawhide tree, I was absolutely unable to launch any of the Python based config utilities including "system-config-printer-0.7.9-1". There was an error message analog to the following for "pup": Traceback (most recent call last): File "/usr/sbin/pup", line 29, in ? import gtk ImportError: No module named gtk It turned out that the new package "pygobject2" is missing from the package requirements (see Bug #193244 on this issue). After installing it manually, the utilities work again. Now that I have also installed "foomatic" by hand, the driver choice again corresponds to what I was used to in FC5, etc. The "label126" issue will probably disappear in "system-config-printer-0.7.10-1". For that issue see bug #193282. Works for me now. Still empty labels ("label124", etc.) due to unspecified resources in "About" window. Oops, I did it again. Installing a printer using the "LPD/LPR" leads to: host = self.cmbNPTLPDHostname.get_text() AttributeError: GUI instance has no attribute 'cmbNPTLPDHostname' One gets stuck in a window with the already familiar "label126" text when only the host name but not the printer name is given, which does not seem too idiotic in the case of a standalone network printer. If both host name and printer name are specified, on gets still stuck but the text in the window is rather: "Going to create a new printer <foo> at ." On the console, on reads: File "/usr/share/system-config-printer/system-config-printer.py", line 1809, in on_btnNPApply_clicked uri = self.getDeviceURI() File "/usr/share/system-config-printer/system-config-printer.py", line 1586, in getDeviceURI host = self.cmbNPTLPDHostname.get_text() AttributeError: GUI instance has no attribute 'cmbNPTLPDHostname' Fixed in CVS. Great, now, its only the missing labels and the broken dependencies. "yum" claims that it cannot find "system-config-printer-libs-0.7.11-1" when updating the system, and even after downloading the actually existing package, it has to be installed with " --nodeps", otherwise "rpm" will reject it. 0.7.11-3 removes '%{epoch}:' from the dependency line. So the remaining bug was about eggcups. This is separately reported as bug #193204. It would be nice though to define the missing text resources for the "About System-Config-Printer" (screenshot attached) mentioned in comment #9. Created attachment 131177 [details]
"About System-Config-Printer" screenshot
Oops, fixed in CVS. |