Bug 1071378

Summary: glib2-devel's gtester-report failure since move to python3
Product: [openSUSE] openSUSE Tumbleweed Reporter: Bruce Rogers <brogers>
Component: GNOMEAssignee: Dominique Leuenberger <dimstar>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: dimstar
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
See Also: https://bugzilla.gnome.org/show_bug.cgi?id=791296
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Bruce Rogers 2017-12-05 21:19:01 UTC
As near as I can tell, since the move to python3, gtester-report gets the following error when processing the results of the qemu-testsuite package  build:

[ 3157s]   File "/usr/bin/gtester-report", line 78, in html_indent_string
[ 3157s]     for i in range (0, (n + 1) / 2):
[ 3157s] TypeError: 'float' object cannot be interpreted as an integer

See, for example the build results of qemu-testsuite in Factory here: https://build.opensuse.org/package/live_build_log/openSUSE:Factory/qemu-testsuite/standard/x86_64

This failure began independent of any changes to the qemu / qemu-testsuite package, and seems related to the switch to python3.
Comment 1 Dominique Leuenberger 2017-12-06 07:59:37 UTC
thanks for the report!
Comment 2 Dominique Leuenberger 2017-12-06 08:09:06 UTC
Got it patches in my branch - currently copied also qemu into the branch to validate the result.
Comment 3 Dominique Leuenberger 2017-12-06 13:13:12 UTC
https://build.opensuse.org/request/show/554787

Fixed glib2 is on the way to Tumbleweed (patch merged upstream)