ericmckean / rietveld

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

Is upload.py compatible with python 3.3.3? #486

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run upload.py

What is the expected output? What do you see instead?
I'm not sure as I get the following error:

# python \apps\bin\upload.py
  File "\apps\bin\upload.py", line 190
    except IOError, e:

What browser are you using?  What version? On what operating system?
Windows 7 64-bit
Python 3.3.3

At what URL are you accessing Rietveld?  
https://codereview.appspot.com/

Please provide any additional information below.

Original issue reported on code.google.com by manu.st...@gmail.com on 27 Mar 2014 at 9:17

GoogleCodeExporter commented 9 years ago
The output I got was truncated:

# python  \apps\bin\upload.py
  File "\apps\bin\upload.py", line 190
    except IOError, e:
                  ^
SyntaxError: invalid syntax

Original comment by manu.st...@gmail.com on 27 Mar 2014 at 9:18

GoogleCodeExporter commented 9 years ago
upload.py currently do not support python 3.x. If can submit changes that keep 
it compatible with python 2.7, I'll be happy to review these.

Original comment by maruel@chromium.org on 28 Mar 2014 at 12:10