[Piglit] Is piglit not portable? Unicode errors

Marek Olšák maraeo at gmail.com
Fri Mar 25 15:50:44 UTC 2016


Hi,

I received piglit results from somebody else and can't generate html.
Any idea what is wrong?

Traceback (most recent call last):
  File "../piglit/piglit-summary-html.py", line 28, in <module>
    html(sys.argv[1:])
  File "/home/marek/dev/piglit/framework/exceptions.py", line 50, in _inner
    func(*args, **kwargs)
  File "/home/marek/dev/piglit/framework/programs/summary.py", line 111, in html
    summary.html(args.resultsFiles, args.summaryDir, args.exclude_details)
  File "/home/marek/dev/piglit/framework/summary/html_.py", line 174, in html
    _make_testrun_info(results, destination, exclude)
  File "/home/marek/dev/piglit/framework/summary/html_.py", line 118,
in _make_testrun_info
    index=os.path.relpath(index, temp_path)))
UnicodeEncodeError: 'ascii' codec can't encode characters in position
985-986: ordinal not in range(128)

I can attach the results file if needed.

Thanks,
Marek


More information about the Piglit mailing list