Here is the problems encountered trying to install image 3 on J6:

Fresh J6 32 install, up to date base and image3; loading image3.ijs fails with 
a control error

    3 : 0''
if. IF64 +. IFUNIX +: IFWIN do.
   if. IFJ6 do.
     wd 'mb "" "Unsupported Platform" '
   else.
     sminfo '';'Unsupported Platform'
   end.
end.
''
)
|control error: scriptd
|       3 :0''
|[-45] C:\Users\user\j602\addons\media\image3\image3.ijs


Commenting out the control in question
    NB. display error if not 32-bit linux/PC
    NB. 3 : 0''
    NB. if. IF64 +. IFUNIX +: IFWIN do.
    NB.   if. IFJ6 do.
    NB.     wd 'mb "" "Unsupported Platform" '
    NB.   else.
    NB.     sminfo '';'Unsupported Platform'
    NB.   end.
    NB. end.
    NB. ''
    NB. )

    NB. System directory separator
    dir_sep=: IFJ6{::'/';system{'/\'             NB. directory separator
|value error: IFJ6
|   dir_sep=:    IFJ6{::'/';system{'/\'
|[-48] C:\Users\user\j602\addons\media\image3\image3.ijs

leads to value error

replacing the offending line with
dir_sep=:    system{'/\'

makes the addons work (but same issues in movie script)



On 1/11/2012 9:53 AM, David Mitchell wrote:
> Cliff,
>   From what I see, the base image3.ijs, with very minor changes, should work 
> in
> either J7_32 or J6_32.  I was able to get html_gallery8.ijs to also work fine 
> in
> J7 with minor changes.  view_m.ijs and prevare.ijs are wd (J6) specific.
>
> I've gotten all of the image3 lab, with the exception of prevare, working in 
> JHS.
>
> The image3html lab also works fine in JHS, with the exception of the last demo
> of prevare.
>
> It looks like image3movie will take one minor change to work in JHS.
>
> Prevare and view_m are wd apps and will only work in J6.
>
> It is always a debate about how much to have version-specific copies of code 
> vs.
> having the code adapt to various versions.
>
> I think most of image3 is very close to working in J6 wd and J7 JHS.  To me, 
> it
> would make sense to have unique, version specific scripts for prevare and 
> view_m
> and keep the remaining scripts as single scripts.  Since the install process 
> for
> J7 labs is different than J6, it probably make sense to have J7 specific labs.
>
> What issue are you seeing with the J6 install?
>
> All the best/David
>
> On 1/11/2012 9:20, Cliff Reiter wrote:
>> David (et al),
>> Does it make sense to change the image3 addon into a J6 only addon and
>> then create a duplicate image3_j7 to which you can add the updated labs
>> and eventually add other contributions/updates? I would like to repair
>> the J6 install problem but don't want to inhibit J7 progress.
>> Best, Cliff
>>
>> On 1/10/2012 9:15 AM, David Mitchell wrote:
>>> Hi Cliff,
>>>
>>> I was able to get much of the Image3 addon and Lab working on J701 32 bit.  
>>> I
>>> just copied the image3 addon directory to the j701 addons.  I also copied
>>> image3.ijt to addons/labs/labs/graphics.
>>>
>>> I changed the lab to use JHS inline graphics display.  The sections for
>>> 'gallery' and 'prevare' need to be updated also, but I thought you might 
>>> like to
>>> see what I have so far.
>>>
>>> http://www.jsoftware.com/jwiki/Image3LabJ701
>>>
>>> All the best,
>>> David
>>>
>>> On 1/9/2012 13:04, Cliff Reiter wrote:
>>>> Howdy,
>>>> This week I am working with a student to see what can be done about
>>>> moving image3&     fvj3 to more platforms. I discovered that the current
>>>> image3 does not install any longer on J32 win. I thought this was fixed
>>>> months ago. It looks like someone really likes having error messages on
>>>> 64 bit, which are not supported, at the expense of 32bit, which is
>>>> supported, not working. Sigh.
>>>>
>>>> That aside, this is all pretty much a mess in J7 so I would really
>>>> appreciate any wisdom from the web. Does it make sense try to overlay
>>>> image3 on platimg? How feasible is it for platimg to move to 64 bit? How
>>>> well does platimg work in J7?
>>>> Best, Cliff
>>>>
>>> ----------------------------------------------------------------------
>>> For information about J forums see http://www.jsoftware.com/forums.htm
>>>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>

-- 
Clifford A. Reiter
Lafayette College, Easton, PA 18042
http://webbox.lafayette.edu/~reiterc/

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to