hitrust / namebench

Automatically exported from code.google.com/p/namebench
Apache License 2.0
0 stars 0 forks source link

FAIL: 'utf8' codec can't decode bytes in position 2-3: unexpected end of data #210

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Running app checking for censorship and data upload.

Message displayed says:
  File "/Applications/namebench.app/Contents/Resources/nb_third_party/simplejson/encoder.py", line 459, in _iterencode_dict
    for chunk in chunks:

  File "/Applications/namebench.app/Contents/Resources/nb_third_party/simplejson/encoder.py", line 439, in _iterencode_dict
    yield _encoder(value)

  File "/Applications/namebench.app/Contents/Resources/nb_third_party/simplejson/encoder.py", line 50, in py_encode_basestring_ascii
    s = s.decode('utf-8')

  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)

What version of the product are you using? On what operating system?
Namebench 1.3.1
OS X 10.6.8

Original issue reported on code.google.com by cob...@gmail.com on 5 Jun 2012 at 1:33

Attachments:

GoogleCodeExporter commented 9 years ago
I got the same result with or without the "Upload and share..." option checked

Original comment by cob...@gmail.com on 5 Jun 2012 at 1:35

GoogleCodeExporter commented 9 years ago
I get pretty much the same here with Windows 7.

I think this problem is related to "Upload and share results" because this 
triggers the JSON encoder at the end of the benchmark and the name of our 
cities, in my case is São Paulo, with an accent.

Take a look at the botton of namebench2.png

Cheers!

Original comment by akira...@gmail.com on 13 Mar 2013 at 4:31

Attachments:

GoogleCodeExporter commented 9 years ago
It runs fine for me without "Upload and share results"

Original comment by akira...@gmail.com on 13 Mar 2013 at 4:32