Hi Colin,
thanks. The assertion on )LOAD was caused by the .xml
file being truncated.
I have changed the )LOAD command to print a message when
it detects a truncated .xml file.
I also changed the )COPY command to deal with truncated .xml
Perhaps the truncation point of the xml file may point towards the )SAVE
problem. Also, perhaps turning off IO buffering during a )SAVE will help
make the resulting xml file more indicative of the error on early
terminations.
Just some ideas.
Thanks.
Blake
On Wed, Nov 5, 2014 at 8:03 AM, Juer
Juergen,
Thanks.
I don't have a log of activity before the failed )SAVE. I do remember that
I was playing with some of the system functions and variables. Mostly just
displaying current values though. I did change the printing width to 120
however.
On Wed, Nov 5, 2014 at 9:03 AM, Juergen Sauermann
Hi,
what I can see is that saving of an SI entry fails.
The entry was caused by something like this in immediate
execution:
V←(2
3⍴'HERYOU') (2 2⍴'HEME')
2 2⊃V
RANK ERROR
2 2⊃V
^ ^
Juergen,
Here is a recreate
)load APL2_INTRO_sav
SAVED 2014-11-04 -2:02:18 (GMT-4)
V
HER HE
YOU ME
)wsid apl2_intro_save_after_error
WAS APL2_INTRO
)si
⋆
)wsid
IS apl2_intro_save_after_error
2 2⊃V
RANK ERROR
2 2⊃V
^ ^
)si
⋆
⋆
)siv
⋆
Greetings,
Loading a WS that has been working fine, I now get:
)load Utils
⎕FX Ctit failed: Unbalanced parenthesis (function line [4])
⎕FX Dtfmt failed: Unbalanced parenthesis (function line [1])
⎕FX JUL failed: Unbalanced parenthesis (function line [1])
⎕FX Mul failed: Unba
This used to work, but now gives a SYNTAX ERROR
pkg⍙PAGER ⍕h1⍪h2⍪(⊂[2](5 3⍴'???LBLVARFUNOPR')[k+⎕io;]),[1.5]n
Replacing the above with these two lines works:
zz←(5 3⍴'???LBLVARFUNOPR')[k+⎕io;]
pkg⍙PAGER ⍕h1⍪h2⍪(⊂[2]zz),[1.5]n
Which is the same thing except for replacing a subexpression wi