you may try before running plot

sminfo_z_ =: wdinfo_z_ =: echo_z_

then messages will printed in sessions instead of pop-up box.


On Fri, Jan 18, 2019, 10:45 PM Ian Clark <earthspo...@gmail.com wrote:

> My apologies, my plotsample didn't do what I claimed for it. I'll have to
> re-think …
>
> I guess there are two different errors I am getting. One is switched by
> dbr 1/dbr 0. The other happens with dbr 1 – but only sometimes. It is hard
> to reproduce in jqt (which is where it matters to me) because it arises in
> a wd-handler and produces an endless loop of Alert messages necessitating
> Force Quit ...
> –––––––––––––––––––––––––––––
> error in: plot_gs_paint
> domain error: cd
> rc=.   glcmds`glcmds_jglc_@.
> (Poutput=iQTC)buf
> –––––––––––––––––––––––––––––
> You'd think it the easiest thing in the world to snapshot work-variables
> until I found the bad one. But to-date all the obvious things I've tried
> cause the error to disappear.
>
>
> On Fri, 18 Jan 2019 at 14:25, bill lam <bbill....@gmail.com> wrote:
>
>> Thanks I got the attachment. There must be some reasons why it behave
>> differently for dbr 0 and dbr 1.  I'll take a look. The plot has very
>> little change f over few years.  My be it is  change in qt or gl2 that had
>> broken the plot package
>>
>> On Fri, Jan 18, 2019, 9:55 PM Ian Clark <earthspo...@gmail.com wrote:
>>
>>> Sorry, I was being lazy.
>>>
>>> I have the data you asked for, but I can now reproduce the error more
>>> simply.
>>>
>>> 1. Install the attached j-script: ~/plotsample.ijs
>>>
>>> 2. Launch j807 jcon and enter…
>>>    JVERSION
>>> Engine: j807/j64nonavx/darwin
>>> Release-a: commercial/2019-01-11T11:44:43
>>> Library: 8.07.22
>>> Platform: Darwin 64
>>> Installer: J807 install
>>> InstallPath: /applications/j64-807
>>> Contact: www.jsoftware.com
>>>
>>> 3. Enter…
>>>    load '~/plotsample.ijs' [dbr 1
>>> …see a correct ~temp/plot.pdf
>>> (plot[1].pdf attached)
>>>
>>> 4. Enter…
>>>    load '~/plotsample.ijs' [dbr 0
>>> …see a partial ~temp/plot.pdf
>>> It has title and legend, but no axis markings or line.
>>> (plot[0].pdf attached)
>>>
>>> You can do 3 and 4 in either order.
>>>
>>> I am pm-ing you this email to give you the attachments, in case they get
>>> stripped off by the forum.
>>>
>>> For other readers, the text of plotsample.ijs is…
>>>
>>> cocurrent 'base'
>>> clear''
>>> require 'plot'
>>> pd 'reset'
>>> pd 'type line'
>>> pd 'title Plot {2},{3},{4} against {1}'
>>> pd 'key {2},{3},{4}'
>>> pd 9?.9
>>> pd 'show'
>>>
>>> Ian Clark
>>>
>>>
>>> On Fri, 18 Jan 2019 at 07:16, bill lam <bbill....@gmail.com> wrote:
>>>
>>>> It helps if your can tell the followings
>>>>
>>>> 3!:0 buf
>>>> Poutput
>>>> iQTC
>>>> cder''
>>>>
>>>> during suspension.
>>>>
>>>> Fri, 18 Jan 2019, Ian Clark написал(а):
>>>> > I was too sanguine when I said that:
>>>> >    dbr 1
>>>> > made all my plot-nonavx problems go away. It doesn't.
>>>> >
>>>> > I'm getting this message from a complex app I'm working on, with
>>>> certain
>>>> > sorts of line chart:
>>>> >
>>>> > |domain error: cd
>>>> > |   rc=.    glcmds`glcmds_jglc_@.(Poutput=iQTC)buf
>>>> >
>>>> > which arises within the verb: qt_gpapply_jzplot_ seemingly the result
>>>> of a
>>>> > bad call into the libjqt.dylib
>>>> >
>>>> > However it doesn't stop the app showing a correct Plot window.
>>>> >
>>>> > I gather there will be fixes for connected problems soon. If they
>>>> don't
>>>> > make the above error go away, I'll probe deeper, to replicate the
>>>> error
>>>> > with a simpler example. For now, it's just great to have Plot working
>>>> (more
>>>> > or less) with j807/j64nonavx/darwin.
>>>> >
>>>> > BTW the app works just fine with j805.
>>>> >
>>>> > On Fri, 18 Jan 2019 at 05:09, bill lam <bbill....@gmail.com> wrote:
>>>> >
>>>> > > Thank you Joey. Ian had already sent me the files
>>>> > > and I can reproduce the bug. I'll also forward
>>>> > > that to Eric and Henry.
>>>> > >
>>>> > > I think the bug exists in all platforms but somehow
>>>> > > only Darwin nonavx can produce the random data
>>>> > > for NaN failure.
>>>> > >
>>>> > > Thu, 17 Jan 2019, Joey K Tuttle написал(а):
>>>> > > > Bill,
>>>> > > >
>>>> > > > OK, edited project as requested - ran failing plot and then:
>>>> > > >
>>>> > > > MBpro:bin jkt$ ls -l ~/*bin
>>>> > > > -rw-r--r--  1 jkt  staff     176 Jan 17 20:47 /Users/jkt/Tfm.bin
>>>> > > > -rw-r--r--  1 jkt  staff  240048 Jan 17 20:47 /Users/jkt/y.bin
>>>> > > > MBpro:bin jkt$ zip forBillLam.zip ~/*bin
>>>> > > >   adding: Users/jkt/Tfm.bin (deflated 56%)
>>>> > > >   adding: Users/jkt/y.bin (deflated 62%)
>>>> > > >
>>>> > > > will send the resulting zip file (forBillLam.zip) to
>>>> bbill....@gmail.com
>>>> > > .
>>>> > > >
>>>> > > > Again, doing dbr 1 and running again - the graph was produced
>>>> correctly
>>>> > > with no errors, but I'll send, along with the above, file
>>>> forBillLam2.zip
>>>> > > comprising the same two files (that are a little different).
>>>> > > >
>>>> > > > Thanks for chasing this.
>>>> > > >
>>>> > > > - joey
>>>> > > >
>>>> > > > > On 2019Jan 17, at 20:04, bill lam <bbill....@gmail.com> wrote:
>>>> > > > >
>>>> > > > > Please edit file addons/graphics/plot/jzplot.ijs
>>>> > > > > and add the 2 fwrite lines as shown below.
>>>> > > > >
>>>> > > > > run plot and let it raise NaN exception.
>>>> > > > > send the 2 files to our email address
>>>> > > > > to help us track it down.
>>>> > > > >
>>>> > > > > project=: 3 : 0
>>>> > > > > '~/y.bin' fwrite~ 3!:1 y
>>>> > > > > '~/Tfm.bin' fwrite~ 3!:1 Tfm
>>>> > > > > dat=. }:"1 (y,.1) mp Tfm
>>>> > > > > dist=. ViewDist-{:"1 dat
>>>> > > > > ((ViewDist*}:"1 dat)%dist),.dist
>>>> > > > > )
>>>> > > >
>>>> > > >
>>>> ----------------------------------------------------------------------
>>>> > > > For information about J forums see
>>>> http://www.jsoftware.com/forums.htm
>>>> > >
>>>> > > --
>>>> > > regards,
>>>> > > ====================================================
>>>> > > GPG key 1024D/4434BAB3 2008-08-24
>>>> > > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
>>>> > > gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3
>>>> > >
>>>> ----------------------------------------------------------------------
>>>> > > For information about J forums see
>>>> http://www.jsoftware.com/forums.htm
>>>> > ----------------------------------------------------------------------
>>>> > For information about J forums see
>>>> http://www.jsoftware.com/forums.htm
>>>>
>>>> --
>>>> regards,
>>>> ====================================================
>>>> GPG key 1024D/4434BAB3 2008-08-24
>>>> gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
>>>> gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3
>>>> ----------------------------------------------------------------------
>>>> 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