[AOLSERVER] Weird expr error

2003-02-17 Thread Wolfgang Winkler
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

Re: [AOLSERVER] Weird expr error

2003-02-17 Thread Jeffrey Hobbs
> 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

Re: [AOLSERVER] Weird expr error

2003-02-17 Thread Wolfgang Winkler
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

Re: [AOLSERVER] Weird expr error

2003-02-17 Thread Jeff Hobbs
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

Re: [AOLSERVER] Weird expr error

2003-02-17 Thread Wolfgang Winkler
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

Re: [AOLSERVER] Weird expr error

2003-02-18 Thread Jeffrey Hobbs
> 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

Re: [AOLSERVER] Weird expr error

2003-02-18 Thread Wolfgang Winkler
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

Re: [AOLSERVER] Weird expr error

2003-02-18 Thread Daniel C. Wickstrom
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

Re: [AOLSERVER] Weird expr error

2003-02-19 Thread Wolfgang Winkler
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

Re: [AOLSERVER] Weird expr error

2003-02-19 Thread Wolfgang Winkler
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