the problem is a bug in GCG's prime.config:
there are more closing parentheses than opening ones.
W2H has some code that is supposed to make W2H ignore those problems,
but
this part doesn't work correctly.
If you want W2H to read even those "buggy" .config files
you can modify a single line in the file w2h.genapp:
----begin orig---
for ($diff..-1) { chop if /\)$/; } # or, maybe more
----end orig---
----begin
new---
my
($fcntr);
for $fcntr ($diff..-1) { chop if /\)$/; } # or, maybe
more
----end
new---
This will make W2H *correctly* ignore too many or not
enough
parenthesis.
Kind
regards,
Peter
Dr. Greg Quinn wrote:
>> Has anyone else got GCG version 10.2 up and running with the W2H web
> interface of Martin Senger? It seems to work fine except I've
> had a report from a user that access to the PRIME program is
> now broken; it reports the following error:
>> --- Invalid expression ---
> Original expression: eval(MIN(300,sq1.end-sq1.begin+1)))
> Evaluated expression: &get_min(300,107-1+1))
> Result error: syntax error at (eval 648) line 2, near ")) "
>> Thanks for any ideas
> Greg