This is still a bit of a mystery to me, but here's what happens. I first
ran ./jconsole in a terminal window in my j64-801/bin directory. It starts
and I do install'qtide' and I got:
Updating server catalog...
Installing 2 packages
Downloading base library...
Installing base library...
Downloading ide/qt...
Installing ide/qt...
Done.
Installing JQt binaries...
Finished install of jqt binaries.
exit and restart J using bin/jqt
exit''
So I exit and start jqt by clicking on the green jqt801.app icon in my
j64-801 folder. The window starts *similar in appearance to that in j701
gtk ide* as it was before (I'm not runing jconsole).
But when I tried plot I got the *same*
|value error
|pd_cairo
message as before! I look into the jzplot file:
vi ~/j64-801/addons/graphics/plot/jzplot.ijs
and see that all reference to cairo is gone. Where is the message coming
from? So I go back to j64-801/bin and instead of using the icon, in the
terminal window I type "jqt" and it responds:
QPixmap::scaled: Pixmap is a null pixmap
and a window opens with the complaint:
|file name error
| 0!:0<jpathsep system,'/util/boot.ijs'
|[-42] /Users/jph/j64-801/bin//profile.ijs
I try a few things:
i. 10
0 1 2 3 4 5 6 7 8 9
load'plot'
|value error: load
| load'plot'
So now I go back and remove the green jqt801 icon from the dock. In my
j64-801 folder I click on the jqt801.app icon. A window opens, and this
time it's a bit different: it has a small font, and I remember that before
it was larger -- presumably because I had increased it the first time I
tried to run jqt -- and this time there is no message. I try
load'plot'
plot 10?30
and success! The plot appears -- though it is a '.pdf' plot which is
displayed by invoking acrobat. So it looks as if somehow clicking on
the jqt801 icon was getting files from the wrong place? I do have folders
for j701 and j602 on this machine and use them both.
Further points: even though all the addons are in the addons folder,
when I click on Help|Studio|Labs I get a little popup with "!" in it.
Run|launch pad|qtdemo gives a Demos Select window with the only options
as "select" and "0". Chosing select shows a nice controls box.
So, the plot seems to be working but probably not as it should:
using pd'pdf' gives exactly the same .pdf plot as pd'show'. I would have
thought there would be a native qt display rather than using acrobat.
Sorry to make this so long, but I wanted to give you a clear picture
of what is happening on my system.
Thanks for your time and patience,
Patrick
On Sat, 9 Mar 2013, bill lam wrote:
cairor artifact removed, please update JAL again. However it
looked as if you are using jconsole not jqt ide. Did you see an
window similar to that in j701 gtk ide?
Пт, 08 мар 2013, J. Patrick Harrington писал(а):
Bill,
The only place that "pd_cairo" occurs is in the file
~/j64-801/addons/graphics/plot/jzplot.ijs
I have noticed that I can produce plots if I use the "pd" commands
and then use pd 'pdf'. Here's an example:
load'plot'
plot 10?30
|value error: pd_cairo
| fn~arg
pd'reset'
pd 10?30
pd'show'
|value error: pd_cairo
| fn~arg
pd'pdf'
and at this point acrobat displays the .pdf graph.
The problem seems to be in displaying not creating the plot.
Patrick
On Thu, 7 Mar 2013, bill lam wrote:
>There are some known issues about isigraph on mac, but I do not
>have access to any mac to investigate.
>
>plot cairo output has been decommitted in j801, it use qt output
>as default so not sure why cairo had been chosen instead.
>
>Ср, 06 мар 2013, J. Patrick Harrington писал(а):
>>
>>About a month ago I gave j801 a try. My main machine is my
>>MacBook Pro OS 10.6.8. I went to a Qt website and loaded a
>>bunch of stuff into /Library/Frameworks/. But I wasn't able
>>to get much working, so I dropped j801 for a while.
>>
>>Today I removed all the old j64-801 directories and reinstalled
>>everything. Now the jcon801 icon opens a window (before a window
>>would open and then vanish). jqt801 a nice window and I can load
>>and run my routines. BUT ... something is missing with regard to
>>graphics. If a routine calls plot, it stops with
>>
>>value error: pd_cairo
>> fn~arg
>>
>>If, in launch pad, I try qtdemo, and then select, say, "controls",
>>all seems to work. But should I choose "plot" I get
>>
>> error in: qtdemo_ok_button
>> value error: pd_cario
>> fn~arg
>>
>>Same sort of thing with wddemo. If I try "solitaire" I get
>> error in: solitaire_game_paint
>> rank error: |
>> glcmds__| y[|=.locGL2_jgl2_
>>
>>and in this case, when I try to clear the error window, a new
>>one replaces it. The ony way out is with "force quit" on the
>>j session.
>>
>>I assume I've either failed to install something or some path
>>is wrong. Any suggestions?
>>
>>By the way, I'm running j601 and jgtk701 on this machine with
>>no problems. I've never done much with jhs, though I have run
>>it under 701. It would be nice to diagnose my problem with 801,
>>as the look of it is quite attractive.
>>
>> Patrick
>>
>>----------------------------------------------------------------------
>>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
>----------------------------------------------------------------------
>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
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm