5 Jul 15:51
(no code object) at line 0 with ScriptableThinlet and Jython
geraldo_ls <geraldo_ls <at> click21.com.br>
2004-07-05 13:51:48 GMT
2004-07-05 13:51:48 GMT
Hi,
I'm trying to use ScriptableThinlet with Jython.
I'm getting the following error:
SyntaxError: invalid syntax
: Traceback (innermost last):
(no code object) at line 0
File "<string>", line 1
x=1
^
SyntaxError: invalid syntax
I've copied jython.jar to \lib directory .
Created CalculatorJython.xml with minimalist script (x=1)
Created run-calculator-python.bat using run-calculator-groovy.bat
I've played with line end characters without success (lf, cr+lf)
Any thoughts ?
Geraldo Lopes de Souza
CalculatorJython.xml
<panel>
<textfield name="number1" columns="4" />
<label text="+" />
<textfield name="number2" columns="4" />
<button text="=">
<script method="action">
(Continue reading)
RSS Feed