It is failing in the verb script. Bezt to use find to find calls to load/require in the failing scripts. On 26 Jun 2014 15:36, "Devon McCormick" <[email protected]> wrote:
> The first thing to do is to set > 13!:0]1 > to leave the stack in place when you get the error so you can verify the > value "y" so you know on which script it's failing. > > > On Wed, Jun 25, 2014 at 8:13 PM, bill lam <[email protected]> wrote: > > > There are some enhancements made in J801 but it will still fail for some > > edge conditions. > > To see what it will resolve actually, try > > getscripts_j_ <'foo/bar' > > > > On 26.06.2014, at 7:36, chris burke <[email protected]> wrote: > > > > >> he verb "load" makes some assumptions ... > > > > > > This should only apply if the file cannot be found, but Jon indicates > > that > > > it can be read with fread. > > > > > > Bjorn's explanation is most likely, i.e. that the script tries to load > > > another script that cannot be found. > > > > > > > > > On Wed, Jun 25, 2014 at 4:19 PM, bill lam <[email protected]> wrote: > > > > > >> the verb "load" makes some assumptions that you had intended to load a > > >> script under ~addons , you can make your filename an absolute path as > a > > >> hint to the verb "load". An alternative is use 0!:0 (or its variant) > eg > > >>> 0!:0 <'home/.......' > > >> > > >> If don't want possibly locale change, make a cover verb for it , eg > > >>> myload_z_=: 3 : '0!:0 y[4!:55''y''' > > >> > > >> On 25.06.2014, at 23:52, Jon Hough <[email protected]> wrote: > > >> > > >>> I have a script lying somewhere on my system (not in my J system > > >> directory). > > >>> If I try to load it thus: > > >>> load 'home/path/to/my/script.ijs' > > >>> > > >>> I get the following error: > > >>> |file name error: script| 0!:0 y[4!:55<'y' > > >>> However if I try to read it: > > >>> fread 'home/path/to/my/script.ijs' > > >>> It outputs the text of my script file into my J session, as expected. > > >>> So I am not really sure what my error is. The script exists and is in > > >> the place specified. > > >>> Notes: > > >>> I'm using Linux with J801. (also tried it with J602, which I have on > my > > >> PC too -- same error ). > > >>> > > >>> > > >>> > ---------------------------------------------------------------------- > > >>> For information about J forums see > http://www.jsoftware.com/forums.htm > > >> ---------------------------------------------------------------------- > > >> For information about J forums see > http://www.jsoftware.com/forums.htm > > >> > > > ---------------------------------------------------------------------- > > > For information about J forums see http://www.jsoftware.com/forums.htm > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > > > > > -- > Devon McCormick, CFA > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
