IFJA is set for jandroid, users shouldn't set or unset it by themselves.

On Wed, Jun 20, 2018, 8:44 AM Devon McCormick <[email protected]> wrote:

> Thanks but I already set "IFJA=: 1" and loaded the imagekit but am now
> getting this value error:
>
>    viewmat 1 o. +"0/~ 0.01*i:1j99
> |value error: iad
> |   parm=.(2&(3!:4)1),EncoderQuality,2&(3!:4)1 4,    iad qual
> |writeimg_pplatimg_[:3]
>
> (though for "viewmat").  Also, for "read_image" I get this:
>
>    img=. read_image >{.jpgfls
> |value error: readimg_jqtide_
> |read_image[0]
>      13!:0]0
>     fexist >{.jpgfls
> 1
>    >{.jpgfls
> $32coffee-prepAtEMP_BN-VO836_1013CO_16RH_20171013110413.jpg
>
> But this may be self-inflicted based on my earlier hack to 8.04.
>
>
> On Tue, Jun 19, 2018 at 8:36 PM, Raul Miller <[email protected]>
> wrote:
>
> > The offending code is probably this, from addons/media/imagekit/
> > imagekit.ijs:
> >
> > NB. conditional flip of bytes
> > set_cflip=: 3 : 0
> > if. IFJA do. RGBSEQ=. RGBSEQ_j_ else. RGBSEQ=. RGBSEQ_jqtide_ end.
> > try.
> > if. RGBSEQ do. cflip=:|."1 else. cflip=:] end.
> > catch. smoutput IFJA{::'Requires JQT';'Requires JAndroid' end.
> > ' '
> > )
> > set_cflip''
> >
> > On my machine, cflip is |."1 and this gets used when encoding rgb data
> > for viewmat.
> >
> > Anyways, you could work around this by predefining RGBSEQ before
> > loading the script.
> >
> > I hope this helps,
> >
> > --
> > Raul
> >
> > On Tue, Jun 19, 2018 at 8:29 PM Devon McCormick <[email protected]>
> > wrote:
> > >
> > > OK - it looks like pacman got it but now I'm suffering self-inflicted
> > > wounds because I've hacked my own 8.04 to overcome this error which I
> > just
> > > got: Requires JQT.
> > > Since I run J console under emacs, I don't have Qt loaded.  I don't
> > > remember what I did to load this even when not running under Qt but
> > imagine
> > > I can figure it out again.  If anyone can point me directly to the
> > > offending code, that would be great.  On the other hand, it would also
> be
> > > great if the standard installation did not have this dependency.
> > >
> > >
> > > On Tue, Jun 19, 2018 at 8:16 PM, Devon McCormick <[email protected]>
> > wrote:
> > >
> > > > Do I have to get this from github or does pacman get this?
> > > >
> > > > On Tue, Jun 19, 2018 at 8:09 PM, chris burke <[email protected]>
> > wrote:
> > > >
> > > >> I don't know why the imagekit 807 addon was not built after the move
> > to
> > > >> github. I updated the manifest version and it has now built
> correctly.
> > > >> Also, it has not changed recently so the older version should work.
> > > >>
> > > >> Thanks for pointing this out.
> > > >>
> > > >>
> > > >>
> > > >>
> > > >> On Tue, Jun 19, 2018 at 1:43 PM, Raul Miller <[email protected]
> >
> > > >> wrote:
> > > >>
> > > >> > I am visiting my sister, who has her own schedule, and in some of
> > the
> > > >> > in-between times, I've got Cliff Reiter's "Fractals Visualization
> > and
> > > >> > J" 4th edition, Part 2 to keep me entertained.
> > > >> >
> > > >> > I've also got the j807 beta from a week or so ago installed on
> this
> > > >> > machine, and the required addons aren't available yet for this
> > version
> > > >> > of J.
> > > >> >
> > > >> > The smart thing to do would be to install j804 or j805. Generally
> > > >> > speaking if you're going to get anything practical done with
> > external
> > > >> > interfaces (including graphics coding), you're going to be working
> > > >> > with back versions of software. Arbitrary people like deprecating
> > > >> > interfaces for arbitrary reasons which means that if you're on the
> > > >> > "current version" interfaces tend to stop working, arbitrarily.
> > > >> >
> > > >> > But I'm not all that great at choosing the smart option, so I'm
> > trying
> > > >> > to figure out how to get Cliff's stuff working under j807.
> > > >> >
> > > >> > Looking closer, ... we're in the process of moving the j addons
> over
> > > >> > to github, but the current release still pulls them from
> > > >> > http://www.jsoftware.com/jal/
> > > >> >
> > > >> > There's a j804 and a j805 directory there, and in this context
> there
> > > >> > seems no reason to prefer one over the other. Also, I'm on osx
> > > >> > (darwin) so I'll focus on those instances of the packages for now.
> > > >> >
> > > >> > This means the working versions of the packages are:
> > > >> >
> > > >> > http://www.jsoftware.com/jal/j805/addons/media_imagekit_1.
> > > >> > 0.7_darwin.tar.gz
> > > >> > http://www.jsoftware.com/jal/j805/addons/graphics_fvj4_1.0.
> > > >> > 17_darwin.tar.gz
> > > >> >
> > > >> > Interestingly, j806 drops back to version 1.0.6 of the imagekit
> > addon,
> > > >> > for whatever reason.
> > > >> >
> > > >> > Anyways, j807, which is what I'm using, doesn't have the imagekit
> > > >> > addon at all. It does seem to have the same graphics_fvj4, and:
> > > >> >
> > > >> > Updating server catalog...
> > > >> > Done.
> > > >> > Installing 1 package of size 1.7 MB
> > > >> > Downloading graphics/fvj4...
> > > >> > Installing graphics/fvj4...
> > > >> > Done.
> > > >> >
> > > >> > ... it seems to be installed, but:
> > > >> >
> > > >> >    load'graphics/fvj4'
> > > >> > not found:
> /users/rauldmiller/j64-807/addons/graphics/fvj4/fvj4.ijs
> > > >> > |file name error: script
> > > >> > |       0!:0 y[4!:55<'y'
> > > >> >
> > > >> > ... apparently, it's not that kind of package.
> > > >> >
> > > >> > And, for media_imagekit, I pulled down a copy of the
> > > >> > media_imagekit_1.0.7_darwin.tar.gz file and unpacked it in my
> > > >> > j64-807/addons directory, And... so far, it seems to work.
> > > >> >
> > > >> > So, anyways, maybe the j805 media_imagekit files could be included
> > in
> > > >> > the j807 jal repository? There might be problems, but I imagine
> that
> > > >> > we can work through them...
> > > >> >
> > > >> > Thanks,
> > > >> >
> > > >> > --
> > > >> > Raul
> > > >> > ------------------------------------------------------------
> > ----------
> > > >> > 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
> > > >
> > > > Quantitative Consultant
> > > >
> > > >
> > >
> > >
> > > --
> > >
> > > Devon McCormick, CFA
> > >
> > > Quantitative Consultant
> > > ----------------------------------------------------------------------
> > > 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
>
> Quantitative Consultant
> ----------------------------------------------------------------------
> 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