I have found the problem, but cannot fix it in console.ijs because my mind
is frozen.

It can be fixed manually by entering the following in the jijx window. At
one time I new how to add this to the console.ijs, but not now.

load'~Projects/tgsjhs/tgsjhs.ijs'

I apologize. I have been using console.html, not console.ijs .




On Sat, Mar 22, 2014 at 2:51 PM, Raul Miller <[email protected]> wrote:

> $ ls j64-801-user/projects/tgsjhs/
> console.ijs  tgsjhs.ijs  tgsjhsutil.ijs
>
> Here's what I did to reproduce this problem:
>
> (1) stop and restart jhs (so I have a clean session).
> (2) reload my ijx window
> (3) in my now clean ijx window, enter the command:
>    load'~Projects/tgsjhs/console.ijs'
> (4) reload my console window.
> (5) click on fd 20
> (6) hit enter
>
> At this point, I get a popup about an error, and if I click OK, I get sent
> to http://127.0.0.1:65001/tgsj and the window displays:
>
> get/post request failed
> response code 409
> application did not produce result
> try browsing to url again
> additional info in jijx
>
> Also, if I hit enter in my ijx window I get an error display mentions the
> value error on State while executing this line: y=.0 Eye}    yxs&State y
>
> Looking back at your code:
>
> $ fgrep -n 'yxs&State y' j64-801-user/projects/tgsjhs/* | fgrep 'Eye}'
> j64-801-user/projects/tgsjhs/tgsjhsutil.ijs:337:    y =. 0 Eye}yxs&State y
> j64-801-user/projects/tgsjhs/tgsjhsutil.ijs:493:    y =. 0 Eye}yxs&State y
> j64-801-user/projects/tgsjhs/tgsjhsutil.ijs:944:  y =. (,Bkgrd)
> Eye}yxs&State y
>
> So it's apparently hitting an error on line 337 or 493 of tgsjhsutil.ijs
>
> Does this help?
>
> Thanks,
>
> --
> Raul
>
>
>
> On Sat, Mar 22, 2014 at 2:23 PM, Brian Schott <[email protected]
> >wrote:
>
> > Raul,
> >
> > I just diff'ed the wjiki files with the one I am using and do not get
> such
> > an error.
> > Did you download both tgsjhs.ijs and tgsjhsutil.ijs? They are both
> required
> > and must be in the same projects directory. I suspect you did not
> download
> > the tgsjhsutil.ijs file.
> >
> > I am using both Safari and Chrome successfully.
> >
> >
> > On Sat, Mar 22, 2014 at 1:50 PM, Raul Miller <[email protected]>
> > wrote:
> >
> > > I have your code up and running, and am able to change the background
> > > color.
> > >
> > > I get an error, though, when I select the text field containing 'fd 20'
> > and
> > > hit enter. That error looks like this in the ijx window:
> > >
> > > *** event handler error
> > > ev_command_enter 0
> > > |value error: State
> > > |   y=.0 Eye}    yxs&State y
> > > jdo     jev_tgsj_ 0
> > > jtype   enter
> > > jmid    command
> > > jsid
> > > command fd 20
> > > jdata
> > > jwid
> > > ┌───────┬───────────┐
> > > │jdo    │jev_tgsj_ 0│
> > > ├───────┼───────────┤
> > > │jtype  │enter      │
> > > ├───────┼───────────┤
> > > │jmid   │command    │
> > > ├───────┼───────────┤
> > > │jsid   │           │
> > > ├───────┼───────────┤
> > > │command│fd 20      │
> > > ├───────┼───────────┤
> > > │jdata  │           │
> > > ├───────┼───────────┤
> > > │jwid   │           │
> > > └───────┴───────────┘
> > > *** response not sent for tgsj
> > > *** html409 Conflict
> > >
> > > It looks like I need something which defines 'State', and I might also
> > need
> > > more step-by-step instructions, so I can get to the point where `(5
> > repeats
> > > fd) 10` is doing part of what you want it to be doing.
> > >
> > > (It should also be possible to define an "eye" turtle, I imagine?)
> > >
> > > Thanks,
> > >
> > > --
> > > Raul
> > >
> > >
> > > --
> > (B=)
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> >
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>



-- 
(B=) <-----my sig
Brian Schott
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to