Hi, it might be that your system is not runing the Python interpreter with the given scripts. Try prefixing the command with 'python', like
python tool\bin\create-application.py --type=mobile ... T. > Hi all, > > I just downloaded qooxdoo-2.1.1-sdk and wanted to follow this tutorial: > http://manual.qooxdoo.org/2.1/pages/mobile/tutorial.html . I'm on windows > and `python -V` returns: > > Python 2.7.2 > > According to the tutorial, I should use Python version 2.5 or above and > run > following command: > > tool\bin\create-application.py --type=mobile --name=helloworld --out=..\ > > The command output is: > > File "C:\<path>\qooxdoo-2.1.1-sdk\tool\bin\create-application.py", line > 414 > print "Keyboard interrupt!" > ^ > SyntaxError: invalid syntax > > I also tried to create an application from mobileshowcase example, but > attempt to run `generate.py` in that directory fails: > > File > "C:\<path>\qooxdoo-2.1.1-sdk\application\mobileshowcase\generate.py", line > 52 > print "Cannot find real generator script under: \"%s\"; aborting" % > REAL_GENERATOR > ^ > SyntaxError: invalid syntax > > Then I tried the same with qooxdoo-2.0.4-sdk. Generate.py still gives the > same error, but create application error message changed: > > File "C:\<path>\qooxdoo-2.0.4-sdk\tool\bin\cat.py", line 36 > print open(f, "rb").read() > ^ > SyntaxError: invalid syntax > > Is there a workaround? My larger goal is to create an Android Apache > Cordova (PhoneGap) application. > > Meri > ------------------------------------------------------------------------------ > Get 100% visibility into Java/.NET code with AppDynamics Lite > It's a free troubleshooting tool designed for production > Get down to code-level detail for bottlenecks, with <2% overhead. > Download for free and get started troubleshooting in minutes. > http://p.sf.net/sfu/appdyn_d2d_ap2_______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2 _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
