Bug 1158095

Summary: [abrt] system-config-printer-libs: newprinter.py:1548:opreq_id_search_done:NameError: global name 'step' is not defined
Product: [Fedora] Fedora Reporter: Devon Janitz <devonjanitz>
Component: system-config-printerAssignee: Tim Waugh <twaugh>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: jpopelka, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/2c491b69a259ff692672eeeaf418d87a3746821c
Whiteboard: abrt_hash:418c5fa6816d7c32938ca04a2894ddc9f9d13f78
Fixed In Version: system-config-printer-1.4.7-1.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-17 15:54:49 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:
Attachments:
Description Flags
File: backtrace
none
File: environ none

Description Devon Janitz 2014-10-28 14:52:18 UTC
Description of problem:
Tried to add a Dell color laser 3110cn printer.

Version-Release number of selected component:
system-config-printer-libs-1.4.6-1.fc20

Additional info:
reporter:       libreport-2.2.3
cmdline:        /usr/bin/python /usr/share/system-config-printer/scp-dbus-service.py
executable:     /usr/share/system-config-printer/scp-dbus-service.py
kernel:         3.16.6-200.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
newprinter.py:1548:opreq_id_search_done:NameError: global name 'step' is not defined

Traceback (most recent call last):
  File "/usr/share/system-config-printer/newprinter.py", line 1548, in opreq_id_search_done
    if step == 0:
NameError: global name 'step' is not defined

Local variables in innermost frame:
self: <NewPrinterGUI object at 0x2f55690 (newprinter+NewPrinterGUI at 0x27fc220)>
drivers: {'Ricoh-Aficio_SP_C420DN': {'driver/Postscript-Ricoh': {'packages': {'noarch': {'openprinting-ppds-postscript-ricoh_20140829-1lsb3.2_all.deb': {'url': 'http://www.openprinting.org/download/printdriver/debian/dists/lsb3.2/main/binary-amd64/openprinting-ppds-postscript-ricoh_20140829-1lsb3.2_all.deb', 'pkgsys': 'deb', 'repositories': {'apt': 'deb http://www.openprinting.org/download/printdriver/debian/ lsb3.2 main'}, 'version': '20140829', 'fingerprint': 'https://www.openprinting.org/download/printdriver/keys/openprinting', 'release': '1', 'realversion': '20140829'}, 'openprinting-ppds-postscript-ricoh-20140829-1lsb3.2.noarch.rpm': {'url': 'http://www.openprinting.org/download/printdriver/components/lsb3.2/main/RPMS/noarch/openprinting-ppds-postscript-ricoh-20140829-1lsb3.2.noarch.rpm', 'pkgsys': 'rpm', 'repositories': {'zypper': "zypper addrepo -c -t rpm-md -n 'postscript-ricoh' http://www.openprinting.org/download/printdriver/components/lsb3.2/main/RPMS/ postscript-ricoh", 'yum': '[openprinting-ppds-postscript-ricoh-driver]\nname=OpenPrinting LSB-3.2-based driver packages of "Postscript-Ricoh"\nbaseurl=http://www.openprinting.org/download/printdriver/components/lsb3.2/main/RPMS\nenabled=1\ngpgcheck=0\n'}, 'version': '20140829', 'fingerprint': 'https://www.openprinting.org/download/printdriver/keys/openprinting', 'release': '1', 'realversion': '20140829'}}}, 'name': 'Postscript-Ricoh', 'license': 'MIT', 'url': 'http://www.ricoh.com/', 'thirdpartysupplied': False, 'supportcontacts': [{'url': 'http://forums.linux-foundation.org/list.php?30', 'name': 'Ricoh forum at OpenPrinting', 'level': 'voluntary'}], 'ppds': ['http://www.openprinting.org/foomatic-db/db/source/PPD/Ricoh/PS/Ricoh-Aficio_SP_C420DN_PS.ppd'], 'recommended': True, 'functionality': {'text': '100', 'lineart': '100', 'photo': '100', 'graphics': '100'}, 'manufacturersupplied': True, 'licensetext': '\n\n      MIT Open Source License\n\n      See http://www.opensource.org/\n\n      Permission is hereby granted, free of charge, to any person obtaining\n      a copy of this software and associated documentation files (the\n      "Software"), to deal in the Software without restriction, including\n      without limitation the rights to use, copy, modify, merge, publish,\n      distribute, sublicense, and/or sell copies of the Software, and to\n      permit persons to whom the Software is furnished to do so, subject to\n      the following conditions:\n\n      The above copyright notice and this permission notice shall be\n      included in all copies or substantial portions of the Software.\n\n      THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,\n      EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n      MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n      NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\n      LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\n      OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\n      WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n    ', 'supplier': 'Ricoh', 'freesoftware': True, 'nonfreesoftware': False, 'shortdescription': "PPD files for Ricoh's PostScript printers, supplied by Ricoh", 'patents': False}}}
handler: 2740L
opreq: <OpenPrintingRequest object at 0x2f74780 (OpenPrintingRequest+OpenPrintingRequest at 0x32552a0)>
printers: [('Ricoh-Aficio_SP_C420DN', 'Ricoh Aficio SP C420DN')]

Comment 1 Devon Janitz 2014-10-28 14:52:20 UTC
Created attachment 951412 [details]
File: backtrace

Comment 2 Devon Janitz 2014-10-28 14:52:21 UTC
Created attachment 951413 [details]
File: environ

Comment 4 Tim Waugh 2014-11-17 15:54:49 UTC
system-config-printer-1.4.7-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.