Ingrid,

it all hinges on the Python version.

This one:
> "Traceback (most recent call last):
>    File "/opt/qooxdoo-1.4.1-sdk/tool/bin/generator.py", line 27, in ?
>      from generator.Generator import Generator
>    File "/opt/qooxdoo-1.4.1-sdk/tool/pylib/generator/Generator.py", line 1175
>      relstring = "Uses" if type == "using" else "Used by"
>                          ^
> SyntaxError: invalid syntax"

tells me you used Python < 2.5 (as the ternary operator was introduced 
in 2.5).

This one:

> #/opt/python-3.0/bin/python generate.py migration
>
>    File "generate.py", line 53
>      print "Cannot find real generator script under: \"%s\"; aborting" % 
> REAL_GENERATOR
>                                                                      ^
> SyntaxError: invalid syntax

is obviously from Python3.

But recent versions of the generator need a Python version 2.x, with 
x>=5! Upgrade to the latest 2.6.x or 2.7.x, and you should be fine.

T.



------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to