Bug 1014419 - traceback after successful hwcert-backend submit
Summary: traceback after successful hwcert-backend submit
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Hardware Certification Program
Classification: Retired
Component: Test Suite (harness)
Version: 1.6.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Greg Nichols
QA Contact: Red Hat Kernel QE team
URL:
Whiteboard:
Depends On:
Blocks: 1001233
TreeView+ depends on / blocked
 
Reported: 2013-10-02 00:00 UTC by Greg Nichols
Modified: 2013-11-13 09:59 UTC (History)
3 users (show)

Fixed In Version: hwcert-client-1.6.5-19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-11-13 09:59:16 UTC


Attachments (Terms of Use)
backend,py patch fixing traceback (394 bytes, patch)
2013-10-02 00:10 UTC, Greg Nichols
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:1515 0 normal SHIPPED_LIVE hwcert-client-1.6 bug fix and enhancement update 2013-11-13 14:54:06 UTC

Description Greg Nichols 2013-10-02 00:00:46 UTC
Description of problem:

Select Results (<number>|all|none|quit|submit): 
Red Hat Catalog User Name: gnichols
response: gnichols
Password: 
compressing and encoding results...
uploading results...
done.
Traceback (most recent call last):
  File "/usr/bin/hwcert-backend", line 45, in <module>
    success = hwcertBackend.do(args)
  File "/usr/share/hwcert/lib/hwcert/backend.py", line 183, in do
    result = self.commands[self.command]()
  File "/usr/share/hwcert/lib/hwcert/backend.py", line 334, in doSubmit
    self.__submitFilesToCatalog(files, selection)
  File "/usr/share/hwcert/lib/hwcert/backend.py", line 449, in __submitFilesToCatalog
    return success
UnboundLocalError: local variable 'success' referenced before assignment



Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Greg Nichols 2013-10-02 00:10:00 UTC
Created attachment 806204 [details]
backend,py patch fixing traceback

Comment 2 Greg Nichols 2013-10-02 00:15:27 UTC
committed to R19

Comment 9 errata-xmlrpc 2013-11-13 09:59:16 UTC
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.

http://rhn.redhat.com/errata/RHBA-2013-1515.html


Note You need to log in before you can comment on or make changes to this bug.