Hello!

I've made a script to perform GRASS GIS operations automatically.
It was running for weeks nicely.

Today it emerged:

Object: 1 error: The program attempted to divide a number by zero
ZeroDivide(Exception)>>signal (ExcHandling.st:254)
SmallInteger(Number)>>zeroDivide (SysExcept.st:1386)
Fraction>>setNumerator:setDenominator: (Fraction.st:485)
Fraction class>>numerator:denominator: (Fraction.st:66)
Fraction>>raisedToInteger: (Fraction.st:510)
SmallInteger(Number)>>raisedToInteger: (Number.st:922)
FloatD(Float)>>printOn:special: (Float.st:525)
FloatD(Float)>>printOn: (Float.st:436)
*FloatD(Object)>>printString (Object.st:546)*
FloatD(Object)>>printStringIfNecessary (process_25.st:15)
optimized [] in UndefinedObject>>executeStatements (process_25.st:298)
Array(SequenceableCollection)>>do: (SeqCollect.st:826)
UndefinedObject>>executeStatements (process_25.st:212)

So, somehow float cannot print itself anymore.
Maybe there was an upgrade of *gst *in the background...






*GNU Smalltalk version 3.2.91-716884a[...]Using default kernel path:
/usr/share/smalltalk/kernelUsing default image path: /var/lib/smalltalk*
*OS:* Linux kuszidell 4.6.3-1-ARCH #1 SMP PREEMPT Fri Jun 24 21:19:13 CEST
2016 x86_64 GNU/Linux


Code:
Transcript showCr: 'Lejtés: ',quo printStringIfNecessary.

printStringifNecessaey is my wrapper for printString not to print extra '
for Strings...

I wouldn't dare to instpect and touch float code and this may reach others
as well...

thanks
Robert
_______________________________________________
help-smalltalk mailing list
help-smalltalk@gnu.org
https://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to