[issue6854] UnicodeDecodeError when retrieving binary data from cgi.FieldStorage()

2010-01-10 Thread R. David Murray
R. David Murray added the comment: This appears to be a duplicate of issue 4953. -- nosy: +r.david.murray priority: -> normal resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> cgi module cannot handle POST with multipart/form-data in 3.0 __

[issue6854] UnicodeDecodeError when retrieving binary data from cgi.FieldStorage()

2009-09-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: 0. When you have a problem, and you are not sure it is an error in the interpreter or stdlib, try posting to python-list first. If you do not soon get a definitive determination here, do that. This is not a question-answering or user-code debugging list. 1. Whe

[issue6854] UnicodeDecodeError when retrieving binary data from cgi.FieldStorage()

2009-09-09 Thread loveminix
loveminix added the comment: Is there an update on this? Let me know if more information is needed. -- ___ Python tracker ___ ___ Pyth

[issue6854] UnicodeDecodeError when retrieving binary data from cgi.FieldStorage()

2009-09-07 Thread loveminix
loveminix added the comment: Here is the trackback (the uploaded file is a PDF file): UnicodeDecodeError Python 3.1.1: /home/chu7/software/bin/python3 Mon Sep 7 12:31:07 2009 A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order t

[issue6854] UnicodeDecodeError when retrieving binary data from cgi.FieldStorage()

2009-09-07 Thread Ezio Melotti
Ezio Melotti added the comment: Can you paste the traceback of the error? -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bug

[issue6854] UnicodeDecodeError when retrieving binary data from cgi.FieldStorage()

2009-09-06 Thread loveminix
New submission from loveminix : The following cgi applet uploads a binary file to the server. It gets a "UnicodeDecodeError" inside cgi.FieldStorage(). The same code works in python 2.6. #! /usr/bin/python3 import os, cgi; import cgitb; cgitb.enable(); pathInfo = os.environ.get("PATH_INFO", ""