Hi everybody!
My aolserver returns an error when I do e. g. a [expr 12.0 + 1].
[expr 12 + 1] works fine. The log says: syntax error in expression "12.0 +
1". It seems that it can't handle floats anymore. As soon as there is a
decimal it returns the error.
But this only happens on the test system
> My aolserver returns an error when I do e. g. a [expr 12.0 + 1].
> [expr 12 + 1] works fine. The log says: syntax error in expression "12.0 +
> 1". It seems that it can't handle floats anymore. As soon as there is a
> decimal it returns the error.
As you are somewhere in Europe, you can get loc
Hello!
expr 12,0 + 1 returns the same error.
Wolfgang Winkler
On Monday 17 February 2003 18:44, you wrote:
> > My aolserver returns an error when I do e. g. a [expr 12.0 + 1].
> > [expr 12 + 1] works fine. The log says: syntax error in expression "12.0
> > + 1". It seems that it can't handle fl
I was hasty in saying that would work. The issue is that in the layers
that Tcl uses, some explicitly check for '.', but in the end you usually
just call the system strtod. Thus if you change locale, it will break
at the bottom level, but you can't work with other locale's because Tcl
is explicit
I know what you mean, here in europe we encounter some strange behaviour in
different layers too often (Try to return umlauts with a vanlilla aolserver
3.4). Strange here is that the server has installed exactly the same linux
distribution and exactly the same aolserver and works fine, as did the t
> I know what you mean, here in europe we encounter some strange behaviour in
> different layers too often (Try to return umlauts with a vanlilla aolserver
> 3.4). Strange here is that the server has installed exactly the same linux
> distribution and exactly the same aolserver and works fine, as d
It is the nsjava module after all. If I comment it out in the server tcl file
everything works fine. I think I'll have to rename this thread and post my
question again!
On Tuesday 18 February 2003 17:59, you wrote:
> > I know what you mean, here in europe we encounter some strange behaviour
> > in
Wolfgang Winkler wrote:
It is the nsjava module after all. If I comment it out in the server tcl file
everything works fine. I think I'll have to rename this thread and post my
question again!
nsjava doesn't explicilty mess with locale, so I'm not sure what might
be causing the problem. Poss
This is probably the cause. The log file shows the initialization of the JVM
and a few lines below an error in the expression
if {[info tclversion] >= 8.1} { ...
It doesn't like the 8.1. Do you know how I can set the locale in the nsjava
module?
Thanks!
Wolfgang
On Tuesday 18 February 2003 21
It is working now! All I had to do was a
export LC_ALL=en_US
in my aolserver batch file.
Thank you very much Jeff and Dan. We finally can go in production with the
ns_java module.
Wolfgang
--
Digital Concepts
Ideen-Konzepte-Lösungen
[EMAIL PROTECTED]
www.digital-concepts.com
Mobil: +43 699 / 20
10 matches
Mail list logo