- Can't display a test with a field containing non-7-bit-ascii on server
The test package Benchmark.iperf3-0.1-1.2.1.ftp, which is on the server as of this writing, has the ß character in the author section, which tbwiki, and in particular ProcessorFuegoShow.py don't handle correctly.
I get the traceback:
Exception raised by tbwiki software Traceback (most recent call last): File "/usr/lib/cgi-bin/server.cgi", line 55, in main(req) File "/home/ubuntu/work/tbwiki/cgi-bin/tbwiki_engine.py", line 2423, in main print html UnicodeEncodeError: 'ascii' codec can't encode character u'\xdf' in position 203: ordinal not in range(128)This is a python 2.7 issue using the 'str()' function (implicitly in the string formatting in presenting the fields), to format data for output by tbwiki.
I tried the following:
- value = unicode(value) and
- value = value.encode('utf-8','ignore').decode('utf-8')
in ProcessorFuegoShow.py::main(), but they didn't work.