Description of problem: Error when running "v7 submit" to create a test results rpm package on RHEL4 x86 and x64
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install v7 test kit
2. v7 plan to create test plan
3. v7 run --test xxxx ( or v7 certify --server x.x.x.x) to run the test
4. v7 submit to create test results package
5. Error message:
'unicode' object has no attribute 'decode'
Actual results: Error
Expected results:No error
Additional info: See attached screen shot
Created attachment 359419 [details]
Could you attach the screenshot you mentioned?
Created attachment 359441 [details]
Would it be possible to run "v7 submit --debug low" and log all the output to a file?
Created attachment 359539 [details]
"v7 submit --debug low" log
Created attachment 360708 [details]
rundocument.py patch provides necessary unicode->str cast.
Would you please provide me the instruction to apply rundocument.py patch ?
I guess just type "rundocument.py", right ?
To apply the patch, use the patch command:
> patch rundocument.py rundocument.patch
The rundocument.patch works.
Verified PASS with v7-1.0-18.el4.noarch on RHEL4.8-AS-x86_64, i386, ia64
1. # v7 clean
2. # v7 plan --server ****
3. # v7 run --test profiler
4. # v7 submit
loaded results /var/v7/results.xml
writing results to /var/log/v7/v7-HP-ProLiant_DL360_G5-Nahant_Update_84_x86_64_results
building results rpm...
Moving the results rpm to data directory /var/v7
Warning: not removing old logs
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.