Yes, I can see now. Apparently the code can run on j801, but not
j802 or j803. Since j802, isigraph can only draw with paint event, 
the mouse click event cannot directly draw the isigraph. j802
did not check the error so that it continued to work.  Starting
from j803, the verb chkgl checks the result and raises domain.
A quick "fix" would be ignore the error, eg, change that line to

  glpixels ::0: X,Y,32,32,,convicon y

(no error but the color of icon clicked will not change)

workaround has applied, please update addon to try again.

Fixing the scino error is beyond my ability.

Вт, 26 май 2015, Jan-Pieter Jacobs написал(а):
> The steps I do are incredibly simple:
> 0. start jQt
> 1. load'math/tabula' in the console
> 2. click any of the icons on the window (eg. the "new problem" icon, the
> first)
> 3. error window pops up, title: "wdhandler", body:
>   error in: tab_g_mbldown
> 
>   domain error: chkgl2
>         glpixels X,Y,32,32,,convicon y
> 
> 
> No monkey typing required. After closing the error, and clicking another
> icon, exactly the same error pops up again.
> 
> Just found out an other error: in the standard example (the one with 4
> lines, about sin and cos etc), clicking on the last line yields an error:
> title "wdhandler", body:
> error in: tab_panel_select
> 
> domain error: scino_uu_
>   fmt=.j.SIG*1 _1{~(SCI<:|y)or((10^-SIG)>  |y)
> 
> This one reproduces also every time.
> 
> Jan-Pieter
> 
> 
> 
> 2015-05-26 16:11 GMT+02:00 bill lam <[email protected]>:
> 
> > Update. I tested on anther win-xp . Tabula can startup and it
> > appears to work. After some random monkey typing, the domain
> > error you had reported pop up, afterwards I cannot no longer
> > reproduce that error.  Perhaps you could provide a simple
> > procedure to duplicate the error if someone else wants to debug.
> >
> > Пн, 25 май 2015, Jan-Pieter Jacobs написал(а):
> > > Here I just tried again.
> > >
> > > After load'math/tabula', the window opens correctly, but the buttons
> > don't
> > > work on J64 bit not on Linux nor  on Windows 8.
> > > Both are up to date instances of j803:
> > >
> > > Engine: j803/2014-10-19-11:11:11
> > > Library: 8.03.13
> > > Qt IDE: 1.3.1/4.8.6
> > > Platform: Linux 64
> > > Installer: J803 install
> > > InstallPath: /home/jpjacobs/j64-803
> > >
> > > Engine: j803/2014-10-19-11:11:11
> > >
> > > Library: 8.03.13
> > >
> > > Qt IDE: 1.3.1/5.3.2
> > >
> > > Platform: Win 64
> > >
> > > Installer: J803 install
> > >
> > > InstallPath: c:/users/jan-pieter/j64-803
> > >
> > > On android, the situation is even worse: no buttons are shown, but
> > tapping
> > > where they should be generates the same error.
> > >
> > > Jan-Pieter
> > >
> > > 2015-05-25 16:11 GMT+02:00 bill lam <[email protected]>:
> > >
> > > > I tested tabula run ok on linux.
> > > >  On May 25, 2015 8:16 PM, "Jan-Pieter Jacobs" <
> > [email protected]>
> > > > wrote:
> > > >
> > > > > Sorry I took too long to get back on this, but it's been busy here.
> > > > >
> > > > > 5. : The error when running the CAL lab indeed disappeared
> > > > >
> > > > > 6. : The Tabula addon also fails when it's the first thing run after
> > > > > starting J. So I'd be surprised it's a conflict of predefined verbs.
> > As
> > > > the
> > > > > error is the same for any button clicked, and it's an error in
> > chkgl2,
> > > > > maybe it's due to the works on jQt and the GL stuff?
> > > > >
> > > > > Jan-Pieter
> > > > >
> > > > > 2015-05-05 4:26 GMT+02:00 Henry Rich <[email protected]>:
> > > > >
> > > > > > 1. You probably meant x[y]caption instead of x[y]label.  x[y]label
> > > > > > specifies the label to be put on the coordinate axis for each
> > point.
> > > > The
> > > > > > number of labels needs to match the number of data points.
> > > > > >
> > > > > > 2. The debugger has some crashes in J8.03.  They are due to be
> > fixed in
> > > > > > J8.04.
> > > > > >
> > > > > > 3. Another syntax-coloring error: 'NB.' is recognized as
> > > > > start-of-comment,
> > > > > > erroneously.
> > > > > >
> > > > > > 4. The Polynomials lab was the culprit in redefining 'on'.  I have
> > > > fixed
> > > > > > that; refresh Labs using Package Manager.
> > > > > >
> > > > > > 5.  I tried running the labs in order but CAL didn't fail when I
> > got
> > > > > > there.  This was after the change to Polynomials.  Can you try
> > > > > reproducing
> > > > > > the problem now?
> > > > > >
> > > > > > 6.  The tabula addon seems to define a great many names in z
> > locale,
> > > > > which
> > > > > > leaves it vulnerable to name collisions.  It should be moved into
> > its
> > > > own
> > > > > > locale, perhaps.  The error you saw may come from SP, which is
> > > > redefined
> > > > > in
> > > > > > some graphics demos.
> > > > > >
> > > > > > Henry Rich
> > > > > >
> > > > > >
> > > > > >
> > > > > > On 5/4/2015 4:19 AM, Jan-Pieter Jacobs wrote:
> > > > > >
> > > > > >> Hi everyone,
> > > > > >>
> > > > > >> I found some bugs I'd want to inform about:
> > > > > >> * Infinite popups in plot
> > > > > >> * comments syntax highlighting broken
> > > > > >> * Tabula add-on broken
> > > > > >> * Labs break each other.
> > > > > >>
> > > > > >> I just found another instance of an error which keeps popping up
> > > > > >> infinitely when using plot.
> > > > > >> A try to debug the error with the JQt debugger ended in a crash.
> > > > > >>
> > > > > >> A minimal example exhibiting this behavior is:
> > > > > >>
> > > > > >> load 'plot'
> > > > > >> opts =: 'xlabel myxlabel; ylabel myylabel'
> > > > > >> opts plot ;/~ i.10
> > > > > >>
> > > > > >> Probably it is me doing something wrong, but as this makes me
> > forcibly
> > > > > >> shut down J every time I hit this error, it's pretty annoying to
> > hunt
> > > > > >> down my error.
> > > > > >> ------------------------
> > > > > >> Another thing I discovered when toying around was that syntax
> > > > > >> highlighting is slightly broken for comments in these cases:
> > > > > >>
> > > > > >> * a comment contains 0 : 0 : the entire comment (and following
> > code
> > > > > >> till the next lone opening parenthesis) is regarded as a long
> > string
> > > > > >> literal, and marked up as such.
> > > > > >> * if a word (probably any valid identifier) is directly followed
> > by an
> > > > > >> opening brace (even in comments) it's highlighted as a string. I
> > guess
> > > > > >> this is supposed to indicate functions in traditionally
> > mathematical
> > > > > >> notation like f(x), but it should not happen in comments.
> > > > > >> ------------------------
> > > > > >> Further, I've found the "math/tabula" add-on to be utterly
> > broken, in
> > > > > >> that clicking any of the buttons pops up the error:
> > > > > >>
> > > > > >> error in: tab_g_mbldown
> > > > > >>
> > > > > >> domain error: chkgl2
> > > > > >>        glpixels X,Y,32,32,,convicon y
> > > > > >> ------------------------
> > > > > >> Running through the labs in order they show up gave me some
> > problems:
> > > > > >>
> > > > > >> 0) Book of numbers: (4) 12 of 23 : domain error: on
> > > > > >> 1) CAL : 3 of 11 : z =:tabengine 'CTAB'  : length error SP1: n
> > (x,.SP)
> > > > > ,.
> > > > > >> y
> > > > > >>
> > > > > >> After doing a "clear '' " both worked fine. So I assume that these
> > > > were
> > > > > >> due to
> > > > > >> 0) other labs overwriting "standard" words (like "on") with
> > something
> > > > > else
> > > > > >> 1) labs not verifying what they use is what they expect it to be.
> > > > > >>
> > > > > >> Maybe it would not be a bad idea to run labs in a private locale,
> > > > > >> which is initialized in a certain way? This way these conflicts
> > (and
> > > > > >> conflicts with user defined things) might be avoided.
> > > > > >>
> > > > > >> Best regards,
> > > > > >>
> > > > > >> Jan-Pieter
> > > > > >>
> > ----------------------------------------------------------------------
> > > > > >> 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
> > > >
> > > ----------------------------------------------------------------------
> > > 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

Reply via email to