[Glass] Unusual compiling issue in tODE
Jupiter Jones
jupiter.jones at mail.com
Tue Mar 1 23:21:42 PST 2022
Just FYI - after changing the NUMERIC locale in ubuntu it appears to have fixed the issue.
Thanks for the pointer.
Cheers,
J
> On 2 Mar 2022, at 2:31 pm, Jupiter Jones via Glass <glass at lists.gemtalksystems.com> wrote:
>
> We are using 3.6.3
>
> We did try using a comma rather than a decimal point, however, we got an error compiling.
>
>> On 2 Mar 2022, at 2:13 pm, Dale Henrichs <dale.henrichs at gemtalksystems.com <mailto:dale.henrichs at gemtalksystems.com>> wrote:
>>
>> Jupiter,
>>
>> I would guess that this is caused by a locale issue ... I'm headed to dinner now, but I think we've had a couple of issues recently where folks were using a locale where the decimal points were not $. and GemStone didn't quite handle things correctly ... what version of GemStone are you using?
>>
>> Dale
>>
>> On Tue, Mar 1, 2022 at 3:15 PM Jupiter Jones via Glass <glass at lists.gemtalksystems.com <mailto:glass at lists.gemtalksystems.com>> wrote:
>> Hi everyone,
>>
>> I have been mentoring a new GemStone developer in Netherlands and we have come across a strange issue compiling in tODE. It only happens in his setup (windows running a linux VM), but not in mine (VMWare Fusion linux VM on Mac). So I can’t work it out.
>>
>> I have a test that includes the line:
>>
>> self assert: member balanceOwingOrCredit = 37.08
>>
>> However, when it is saved in the tODE code editor it is compiled (and then reformatted) as:
>>
>> self assert: member balanceOwingOrCredit = 37.
>> 08
>>
>> ie. the SmallDouble 37.08 has become 37 and there’s a new statement 08 on the next line.
>>
>> To be sure, we have rebuilt the tODE client and stone, but get the same result.
>>
>> Has anyone seen this, or know how to go about debugging such an issue?
>>
>> Cheers,
>>
>> Jupiter
>> _______________________________________________
>> Glass mailing list
>> Glass at lists.gemtalksystems.com <mailto:Glass at lists.gemtalksystems.com>
>> https://lists.gemtalksystems.com/mailman/listinfo/glass <https://lists.gemtalksystems.com/mailman/listinfo/glass>
>
> _______________________________________________
> Glass mailing list
> Glass at lists.gemtalksystems.com
> https://lists.gemtalksystems.com/mailman/listinfo/glass
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/archives/glass/attachments/20220302/e12afaa1/attachment-0001.htm>
More information about the Glass
mailing list