Closed GoogleCodeExporter closed 8 years ago
What python version, and on what platform?
Original comment by bernet.a...@gmail.com
on 10 Mar 2013 at 3:22
Python 3.3.0-3 on ArchLinux. After adding the brackets the syntax error was
gone...
Original comment by hanno.dahlhaus
on 10 Mar 2013 at 4:45
Convert icons from png to lbm:
python ../util/img2lbm.py icons.png icons.lbm bmp
File "../util/img2lbm.py", line 103
print "wrong argument", sys.argv[3]
^
SyntaxError: invalid syntax
That is the original output I got...
Original comment by hanno.dahlhaus
on 10 Mar 2013 at 4:46
fyi http://docs.python.org/3.0/whatsnew/3.0.html
Original comment by hanno.dahlhaus
on 10 Mar 2013 at 4:49
Thanks for the link!
Original comment by bson...@gmail.com
on 10 Mar 2013 at 4:58
But why 'make all' calls the script with a wrong argument?
Original comment by bson...@gmail.com
on 10 Mar 2013 at 5:09
I don't think it calls it with a wrong argument, but python just fails before
it even gets to run the script because of the syntax error!
Original comment by bernet.a...@gmail.com
on 10 Mar 2013 at 6:57
Ok it's because it first checks for evident syntax errors, then the pb is
fixed. Thanks!
Original comment by bson...@gmail.com
on 10 Mar 2013 at 7:18
Original issue reported on code.google.com by
hanno.dahlhaus
on 10 Mar 2013 at 2:16