benchmarks in V5.6-RC1 need python3 corrections
please change the single line:
d2 = dimension/2
to
d2 = dimension//2
in both files Wrapping/Python/paraview/benchmark/wavelet*py to make them python3-compatible
After correction, and when running the tests, there might be another python3- incompatibility. I get the errors:
Traceback (most recent call last): File "", line 1, in File "", line 192, in File "", line 188, in main File "", line 156, in run
File "/apps/daint/UES/ParaView/src/ParaView-v5.6.0Build-OSMesa/lib/python3.6/site-packages/paraview/benchmark/logparser.py", line 341, in summarize_results write_stats_to_file(frame_stats[f], outfile=sys.stdout)
File "/apps/daint/UES/ParaView/src/ParaView-v5.6.0Build-OSMesa/lib/python3.6/site-packages/paraview/benchmark/logparser.py", line 294, in write_stats_to_file ' ' * indent + s['Id'] + ' ' + s['Name'] + ', ' + str(s['Stats']) + '\n')
File "/apps/daint/UES/ParaView/src/ParaView-v5.6.0Build-OSMesa/lib/python3.6/site-packages/paraview/benchmark/logparser.py", line 238, in repr return 'Count: %(count)d, Mean: %(mean)f, StdDev: %(stddev)f, Min: %(min)f, Max: %(max)f' % {'count': self.N, 'min': self.Min, 'max': self.Max, 'mean': self.Mean, 'stddev': self.StdDev}
TypeError: must be real number, not NoneType