Bug 496722
| Summary: | RuntimeError traceback in new printer dialog | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Orion Poplawski <orion> |
| Component: | system-config-printer | Assignee: | Tim Waugh <twaugh> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 11 | CC: | jfrieben, twaugh |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 1.1.8-6.fc11 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2009-07-22 22:07: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: | |||
I think this is the same issue: https://fedorahosted.org/system-config-printer/ticket/161 so the fix has already been committed upstream. Similar issue on a fresh "rawhide" install including system-config-printer-1.1.7-4.fc11.x86_64: after authenticating and adding a network printer, a second password request pops up. After entering the root password, the application aborts without having added the printer, and a traceback is appended to .xsession-errors:
Caught fatal exception. Traceback:
File "/usr/share/system-config-printer/system-config-printer.py", line 6501, in on_btnNPApply_clicked
device=uri, info=info, location=location)
File "/usr/share/system-config-printer/authconn.py", line 183, in <lambda>
return lambda *args, **kwds: self._authloop (fname, fn, *args, **kwds)
File "/usr/share/system-config-printer/authconn.py", line 198, in _authloop
result = fn.__call__ (*args, **kwds)
File "/usr/share/system-config-printer/cupspk.py", line 486, in addPrinter
*args, **kwds)
File "/usr/share/system-config-printer/cupspk.py", line 230, in _call_with_pk_and_fallback
debugprint ('PolicyKit call to %s did not work: %s' %
NameError: global name 'debugprint' is not defined
Exiting
(In reply to comment #2) A downgrade to system-config-printer-1.1.6-1.fc11.x86_64 does -not- solve the issue. However, I had used s-c-p successfully only a few weeks ago. This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle. Changing version to '11'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping For F11 w/updates as of 2009-06-14, the only workaround to install a network printer via s-c-p is to launch the latter as root from a terminal window. In this case, the 2nd authentication request which makes s-c-p crash is not required. system-config-printer-1.1.8-1.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/system-config-printer-1.1.8-1.fc11 system-config-printer-1.1.8-1.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update system-config-printer'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-6777 system-config-printer-1.1.8-3.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update system-config-printer'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-6777 system-config-printer-1.1.8-5.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report. system-config-printer-1.1.8-6.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/system-config-printer-1.1.8-6.fc11 system-config-printer-1.1.8-6.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: Clicking on an existing network printer in the "New Printer" dialog results in: Traceback (most recent call last): File "/usr/share/system-config-printer/system-config-printer.py", line 5602, in on_tvNPDevices_cursor_changed physicaldevice.add_device (dev) File "/usr/share/system-config-printer/PhysicalDevice.py", line 61, in add_device raise RuntimeError RuntimeError Version-Release number of selected component (if applicable): system-config-printer-1.1.7-1.fc11.x86_64 How reproducible: Every time