[Piglit] Is piglit not portable? Unicode errors

Marek Olšák maraeo at gmail.com
Sat Mar 26 22:11:39 UTC 2016


On Fri, Mar 25, 2016 at 8:29 PM, Dylan Baker <baker.dylan.c at gmail.com> wrote:
> errr, sorry for the typo, "that should be which version of piglit you're
> running"
>
> On Fri, Mar 25, 2016 at 12:26 PM, Dylan Baker <baker.dylan.c at gmail.com>
> wrote:
>>
>> Quoting Marek Olšák (2016-03-25 08:50:44)
>> > 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
>> > _______________________________________________
>> > Piglit mailing list
>> > Piglit at lists.freedesktop.org
>> > https://lists.freedesktop.org/mailman/listinfo/piglit
>>
>> Nothing in there immediatly jumps out at me as wrong, could you attach
>> the results, and if possible let me know what version of python they're
>> running?

Sadly, I don't know what version of python they are running.

Since your patches fix the error, I consider this issue resolved. If
you still need the problematic results file, please let me know.

Marek


More information about the Piglit mailing list