When I visit chapter 2 in j902 on osx, I run into this on 2 of 5:

   birthdayprob 50
error in paint
domain error
|domain error: cd
|       glrect 0 0 1 1+"1^:(-.IFQT),"2|."1 y
|dissect_dissectisi_paint[9]

no locale for event handler: 35, event: dissect_dissectisi_focus

That said, when I first visited this chapter, I had configured
systimer to give me a stack trace, like this:

trac=:3 :0
  echo 13!:1''
)
sys_timer_z_=: trac_base_
wd 'timer 5000'

And, it's possible that that somehow changed the behavior of qt.

FYI,

-- 
Raul

On Sun, Jan 24, 2021 at 10:40 PM bill lam <[email protected]> wrote:
>
> On Linux, clicking the term or other windows didn't work.
>
> On Mon, Jan 25, 2021 at 11:24 AM Henry Rich <[email protected]> wrote:
>
> > What I saw was a blank plot window, but it got filled in when I clicked
> > in the term window.  That suggests that Jqt has lost a event and needs a
> > new one to start moving again.
> >
> > Moreover, there's not really any way for JE to stop unless it executes a
> > loop in the J code; but we know it's not doing that because term events
> > show some activity - doesn't Jqt run in the same thread as JE?
> >
> > JE can't stop, but it can suspend: isn't it possible that Jqt has
> > received a request for suspension input and is thinking that JE is
> > running while JE is actually waiting for a response to the suspension
> > prompt?
> >
> > Henry Rich
> >
> > On 1/24/2021 10:17 PM, bill lam wrote:
> > > I don't think so. Manually typing commands works at section 3/5.
> > > Only a blank plot window popped up with no content so that
> > > the calls to JE had never completed.
> > > The call from jqt to JE is synchronous so that it will wait forever until
> > > the call has completed and returned before jqt will send another command
> > to
> > > JE.
> > >
> > > On Mon, Jan 25, 2021 at 11:11 AM Henry Rich <[email protected]>
> > wrote:
> > >
> > >> OK, but it must be Jqt that's hanging.  JE never gets the sentences
> > >> entered from the keyboard.  Perhaps something led Jqt into error, but we
> > >> need to know why Jqt is malfunctioning.
> > >>
> > >> Henry Rich
> > >>
> > >> On 1/24/2021 10:08 PM, bill lam wrote:
> > >>> I have also tried stopping at section 3/5 and then closed the debug
> > >> window
> > >>> and executed dbr 0 to make sure it is not inside debugging, and then
> > >>> manually type
> > >>> require 'plot'
> > >>> plot i.10
> > >>>
> > >>> and it also hangs, so it must be some side effects of dissect or lab
> > that
> > >>> caused the issue.
> > >>>
> > >>>
> > >>>
> > >>> On Mon, Jan 25, 2021 at 11:02 AM Henry Rich <[email protected]>
> > >> wrote:
> > >>>> I don't get to the same conclusion.  I don't see how any dissect or
> > labs
> > >>>> error could cause a state where 2!:55'' typed into the term window
> > would
> > >>>> be ignored.  The only way would be if they did a 1!:1]1 prompt, which
> > >>>> they don't do.  So Jqt must not be passing the command to JE.
> > >>>>
> > >>>> What might be different between the working and non-working cases you
> > >>>> mentioned is debug suspension.  If the lockup happens during
> > suspension,
> > >>>> check that path in Jqt and see if it is possible that inputs are not
> > >>>> being passed to JE.
> > >>>>
> > >>>> Henry Rich
> > >>>>
> > >>>> On 1/24/2021 9:39 PM, bill lam wrote:
> > >>>>> I can duplicate the same issue of plot hanging J on linux.
> > >>>>> I also tried starting a fresh session of jqt and then firing up debug
> > >>>>> window (ctrl-K), and then type
> > >>>>> require 'plot'
> > >>>>> plot i.10
> > >>>>>
> > >>>>> and this ran fine.
> > >>>>>
> > >>>>> and then I tried again the lab and stopped at section 3/5 (the frame
> > >> just
> > >>>>> before the plot) and I typed manually in the term session,
> > >>>>> require 'plot'
> > >>>>> plot i.10
> > >>>>>
> > >>>>> and it hangs.
> > >>>>>
> > >>>>> So I suspect this is a dissect or labs issue.
> > >>>>>
> > >>>>>
> > >>>>> On Mon, Jan 25, 2021 at 4:08 AM 'robert therriault' via Programming <
> > >>>>> [email protected]> wrote:
> > >>>>>
> > >>>>>> Well this lab is certanly putting my system through its paces.
> > >>>>>>
> > >>>>>> The latest is something that only happens in j 902 and j 903. j 901
> > >> and
> > >>>>>> before is unaffected.
> > >>>>>>
> > >>>>>> When you get to chapter 2 section 4 of 'J by point and click' a plot
> > >>>>>> window opens up. Everything displays properly, but although you can
> > >> type
> > >>>>>> into the terminal window, nothing will execute and the j application
> > >>>> has to
> > >>>>>> be force quit.
> > >>>>>> When the plot window first opens a 0 shows up in the terminal
> > window,
> > >>>>>> followed by the 3 space indent on the next line. After that whenever
> > >> you
> > >>>>>> click on the plot window an additional 0 is added one line down
> > >>>>>> right on the margin. Clicking back and forth between the terminal
> > and
> > >>>> the
> > >>>>>> plot window just adds more of these zeros.
> > >>>>>>
> > >>>>>> I thought that it may have something to do with the {{ }} issues
> > that
> > >>>>>> R.E.Boss has been experiencing recently on a different thread so I
> > >> tried
> > >>>>>> adding lines around the plot command in the .ijt file but that did
> > not
> > >>>> seem
> > >>>>>> to make a difference.
> > >>>>>>
> > >>>>>> I have also found that if you have debug activated that a plot
> > command
> > >>>>>> will cause 0's in the terminal window, but this does not lock up J.
> > >>>>>>
> > >>>>>> Overall a bit of a concern as 'J by point and click' is a really
> > good
> > >>>>>> intro lab and having it result in a force quit for a new user is
> > >>>>>> problematic.
> > >>>>>>
> > >>>>>> Any suggestions would be welcome.
> > >>>>>>
> > >>>>>> Cheers, bob
> > >>>>>>
> > >>>>>>        JVERSION
> > >>>>>> Engine: j902/j64avx2/darwin
> > >>>>>> Release-a: commercial/2020-12-05T12:43:38
> > >>>>>> Library: 9.02.08
> > >>>>>> Qt IDE: 1.9.2/5.12.10(5.12.10)
> > >>>>>> Platform: Darwin 64
> > >>>>>> Installer: J902 install
> > >>>>>> InstallPath: /users/bobtherriault/j902
> > >>>>>> Contact: www.jsoftware.com
> > >>>>>>
> > >>>>>>> On Jan 23, 2021, at 10:02, 'robert therriault' via Chat <
> > >>>>>> [email protected]> wrote:
> > >>>>>>> Thanks Henry, that worked for me.
> > >>>>>>>
> > >>>>>>> I am guessing from the style of the lab that you were the author.
> > It
> > >>>>>> really is very good. I was thinking of doing a video series of
> > >>>> screencasts
> > >>>>>> following along the lab and pointing out the tools that are shown
> > and
> > >>>> why
> > >>>>>> they are important to learn as a newcomer to the language. Do you
> > have
> > >>>> any
> > >>>>>> concerns/suggestions about how you would like to see this done?
> > >>>>>>> I am cross posting to chat so that you can follow up the thread
> > >> there,
> > >>>>>> since this is not really programming.
> > >>>>>>> Cheers, bob
> > >>>>>>>
> > >>>>>>>> On Jan 23, 2021, at 08:04, Henry Rich <[email protected]>
> > wrote:
> > >>>>>>>>
> > >>>>>>>> I have pushed a change that might be a fix. Update your Dissect
> > >> addon.
> > >>>>>>>> The mouse-move routine returned a value that was being displayed.
> > I
> > >>>>>> changed it to return i. 0 0.  That made the 0s go away for me. I
> > think
> > >>>> the
> > >>>>>> display is probably only when debug is on, and was introduced toward
> > >> the
> > >>>>>> end of 9.02 development.  Normally the results of event handlers are
> > >> not
> > >>>>>> displayed, but for debug they are passed into the suspension handler
> > >>>> which
> > >>>>>> then displays them.
> > >>>>>>>> Henry Rich
> > >>>>>>>>
> > >>>>>>>> On 1/23/2021 12:09 AM, 'robert therriault' via Programming wrote:
> > >>>>>>>>> I was going through the J by point and click lab and noticed that
> > >>>>>> there is a problem with the dissect window in j902 and j903.
> > Whenever
> > >> I
> > >>>>>> move the mouse over the dissect window a sequence of 0's races down
> > >> the
> > >>>>>> page of my term window. I don't see this behaviour j901 or earlier.
> > >>>>>>>>> Is this happening for anyone else?
> > >>>>>>>>>
> > >>>>>>>>> I had been hoping to run a series of videos based on this lab to
> > >>>>>> provide an easy entry to J from the masses, but would not want to do
> > >>>> that
> > >>>>>> if it not reliable across versions.
> > >>>>>>>>> Was this lab yours Henry? It is a very good introduction.
> > >>>>>>>>>
> > >>>>>>>>> Cheers, bob
> > >>>>>>>>>
> > >>>>>>>>> JVERSION(s)
> > >>>>>>>>>
> > >>>>>>>>>       JVERSION
> > >>>>>>>>> Engine: j903/j64avx2/darwin
> > >>>>>>>>> Beta-a: commercial/2020-12-17T10:25:30
> > >>>>>>>>> Library: 9.03.01
> > >>>>>>>>> Qt IDE: 1.9.2/5.12.10(5.12.10)
> > >>>>>>>>> Platform: Darwin 64
> > >>>>>>>>> Installer: J903 install
> > >>>>>>>>> InstallPath: /users/bobtherriault/j903
> > >>>>>>>>> Contact: www.jsoftware.com
> > >>>>>>>>>
> > >>>>>>>>>       JVERSION
> > >>>>>>>>> Engine: j902/j64avx2/darwin
> > >>>>>>>>> Release-a: commercial/2020-12-05T12:43:38
> > >>>>>>>>> Library: 9.02.08
> > >>>>>>>>> Qt IDE: 1.9.1/5.12.10(5.12.10)
> > >>>>>>>>> Platform: Darwin 64
> > >>>>>>>>> Installer: J902 install
> > >>>>>>>>> InstallPath: /users/bobtherriault/j902
> > >>>>>>>>> Contact: www.jsoftware.com
> > >>>>>>>>>
> > >>>> ----------------------------------------------------------------------
> > >>>>>>>>> For information about J forums see
> > >>>> http://www.jsoftware.com/forums.htm
> > >>>>>>>> --
> > >>>>>>>> This email has been checked for viruses by AVG.
> > >>>>>>>> https://www.avg.com
> > >>>>>>>>
> > >>>>>>>>
> > >> ----------------------------------------------------------------------
> > >>>>>>>> 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
> > >>>> --
> > >>>> This email has been checked for viruses by AVG.
> > >>>> https://www.avg.com
> > >>>>
> > >>>> ----------------------------------------------------------------------
> > >>>> For information about J forums see
> > http://www.jsoftware.com/forums.htm
> > >>>>
> > >>> ----------------------------------------------------------------------
> > >>> For information about J forums see http://www.jsoftware.com/forums.htm
> > >>
> > >> --
> > >> This email has been checked for viruses by AVG.
> > >> https://www.avg.com
> > >>
> > >> ----------------------------------------------------------------------
> > >> For information about J forums see http://www.jsoftware.com/forums.htm
> > >>
> > > ----------------------------------------------------------------------
> > > For information about J forums see http://www.jsoftware.com/forums.htm
> >
> >
> > --
> > This email has been checked for viruses by AVG.
> > https://www.avg.com
> >
> > ----------------------------------------------------------------------
> > 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

Reply via email to