<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:16px">Hey folks,</span><div><span style="font-family:arial,sans-serif;font-size:16px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:16px">I know this is a super long shot, but I figured I'd post it in case anyone has an idea... At the workshop on teaching CS with the IPython notebook that just finished up, one attendee came up with a weird bug.  The platform was a Windows XP laptop with Chinese locale, running </span><span style="font-family:arial,sans-serif;font-size:16px">anaconda 1.9.1 32 bit  (IPython 1.2.1).</span></div>

<div><span style="font-family:arial,sans-serif;font-size:16px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:16px">Given the error was in the awful cmd.exe console and all menus were in Chinese, I didn't do a very good job of capturing the traceback. Below is what I was able to get. If anyone recognizes the error and there's any chance it's something we can fix on master, that would be great.</span></div>

<div><br></div><div>Cheers,</div><div><br></div><div>f</div><div><br></div><div>### Truncated traceback</div><div><div style="font-family:arial,sans-serif;font-size:16px"><br></div><div style="font-family:arial,sans-serif;font-size:16px">

<div>    init()</div><div>  File "C:\Anaconda\lib\mimetypes.py", line 358, in init</div><div>    db.read_windows_registry()</div><div>  File "C:\Anaconda\lib\mimetypes.py", line 258, in read_windows_registry</div>

<div>    for subkeyname in enum_types(hkcr):</div><div>  File "C:\Anaconda\lib\mimetypes.py", line 249, in enum_types</div><div>    ctype = ctype.encode(default_encoding) # omit in 3.x!</div><div>UnicodeDecodeError: 'ascii' codec can't decode byte 0xa4 in position 9: ordina</div>

<div>not in range(128)</div><div>2014-03-06 11:02:31.858 [tornado.access] ERROR | 500 GET /static/custom/custom</div><div>s (127.0.0.1) 109.00ms</div><div>2014-03-06 11:02:32.000 [tornado.application] ERROR | Uncaught exception GET /</div>

<div>atic/base/images/favicon.ico (127.0.0.1)</div><div>HTTPRequest(protocol='http', host='<a href="http://127.0.0.1:8889/" target="_blank">127.0.0.1:8889</a>', method='GET', uri='/static</div>

<div>ase/images/favicon.ico', version='HTTP/1.1', remote_ip='127.0.0.1', headers={'</div><div>nnection': 'keep-alive', 'Accept-Language': 'zh-TW,zh;q=0.8,en-US;q=0.6,en;q=0</div>

<div>', 'Accept-Encoding': 'gzip,deflate,sdch', 'Host': '<a href="http://127.0.0.1:8889/" target="_blank">127.0.0.1:8889</a>', 'Accept':</div><div>*/*', 'User-Agent': 'Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, l</div>

<div>e Gecko) Chrome/33.0.1750.146 Safari/537.36'})</div><div>Traceback (most recent call last):</div><div>  File "C:\Anaconda\lib\site-packages\tornado\web.py", line 1218, in _when_com</div><div>ete</div><div>

    callback()</div><div>  File "C:\Anaconda\lib\site-packages\tornado\web.py", line 1239, in _execute_</div><div>thod</div><div>    self._when_complete(method(*self.path_args, **self.path_kwargs),</div><div>  File "C:\Anaconda\lib\site-packages\IPython\html\base\handlers.py", line 320</div>

<div>in get</div><div>    mime_type, encoding = mimetypes.guess_type(abspath)</div><div>  File "C:\Anaconda\lib\mimetypes.py", line 297, in guess_type</div><div>    init()</div><div>  File "C:\Anaconda\lib\mimetypes.py", line 358, in init</div>

<div>    db.read_windows_registry()</div><div>  File "C:\Anaconda\lib\mimetypes.py", line 258, in read_windows_registry</div><div>    for subkeyname in enum_types(hkcr):</div><div>  File "C:\Anaconda\lib\mimetypes.py", line 249, in enum_types</div>

<div>    ctype = ctype.encode(default_encoding) # omit in 3.x!</div><div>UnicodeDecodeError: 'ascii' codec can't decode byte 0xa4 in position 9: ordina</div><div>not in range(128)</div><div>2014-03-06 11:02:32.000 [tornado.access] ERROR | 500 GET /static/base/images/f</div>

<div>icon.ico (127.0.0.1) 125.00ms</div></div><div><br></div>-- <br>Fernando Perez (@fperez_org; <a href="http://fperez.org" target="_blank">http://fperez.org</a>)<br>fperez.net-at-gmail: mailing lists only (I ignore this when swamped!)<br>

fernando.perez-at-berkeley: contact me here for any direct mail<br>
</div></div>