homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Andrey.Men
Recipients Andrey.Men
Date 2011年08月30日.22:35:12
SpamBayes Score 2.7539617e-09
Marked as misclassified No
Message-id <1314743713.19.0.860549510488.issue12865@psf.upfronthosting.co.za>
In-reply-to
Content
In russian windows seven SP1, x32, installed from 2.7.1/2.7.2 MSI installer:
>>> import SimpleHTTPServer
Traceback (most recent call last):
 File "<pyshell#0>", line 1, in <module>
 import SimpleHTTPServer
 File "C:\Python\lib\SimpleHTTPServer.py", line 27, in <module>
 class SimpleHTTPRequestHandler(BaseHTTPServer.BaseHTTPRequestHandler):
 File "C:\Python\lib\SimpleHTTPServer.py", line 204, in SimpleHTTPRequestHandler
 mimetypes.init() # try to read system mime.types
 File "C:\Python\lib\mimetypes.py", line 355, in init
 db.read_windows_registry()
 File "C:\Python\lib\mimetypes.py", line 259, in read_windows_registry
 for ctype in enum_types(mimedb):
 File "C:\Python\lib\mimetypes.py", line 249, in enum_types
 ctype = ctype.encode(default_encoding) # omit in 3.x!
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe0 in position 0: ordinal not in range(128)
History
Date User Action Args
2011年08月30日 22:35:13Andrey.Mensetrecipients: + Andrey.Men
2011年08月30日 22:35:13Andrey.Mensetmessageid: <1314743713.19.0.860549510488.issue12865@psf.upfronthosting.co.za>
2011年08月30日 22:35:12Andrey.Menlinkissue12865 messages
2011年08月30日 22:35:12Andrey.Mencreate

AltStyle によって変換されたページ (->オリジナル) /