ion-python icon indicating copy to clipboard operation
ion-python copied to clipboard

Benchmark results report doesn't support `tabulate` on Windows.

Open cheqianh opened this issue 1 year ago • 0 comments

When running below on the GHA Windows runner.

python ./amazon/ionbenchmark/ion_benchmark_cli.py compare ./tests/benchmark_sample_data/compare/cats_baseline.ion ./tests/benchmark_sample_data/compare/cats_baseline.ion --fail

It throws

UnicodeEncodeError: 'charmap' codec can't encode characters in position 0-64: character maps to <undefined>

We disabled log output table for Windows.

Detailed code, see - https://github.com/amazon-ion/ion-python/blob/master/amazon/ionbenchmark/ion_benchmark_cli.py#L115

cheqianh avatar Nov 27 '23 04:11 cheqianh