Andrew Cohen wrote:
> inputdlg from the java package works fine.
> Screen('DrawText') from Psychtoolbox (http://psychtoolbox.org) works fine.
>
> But together...
>
> The code below hangs and then gives the following error:
>
> octave: fccache.c:507: FcCacheFini: Assertion `fcCacheChains[i] ==
> ((void *)0)' failed.
> panic: Aborted -- stopping myself...
> Aborted
>
> The error goes away if the dialog box is not invoked or the DrawText
> line is removed. The text is never drawn.
>
> I get the same error when I try using listdlg.
>
> Suggestions?
If the PsychToolbox were easy to install I could help debug this.
But installation of this toolbox has been made somewhat invoked, to put
it mildly.
E.g., I have no plans at all to install the toolbox makers' favorite svn
client if I already have another svn client installed (Tortoise in my case).
Without having access to the function Screen() I can't say what is going
wrong.
It may very well be (and I suspect it to be) a problem in the
PsychToolbox itself. Does it need the java package?
The java-1.2.8 package has been tested fairly intensively.
That said, 64-bit operating systems have yielded more issues with java -
search this ML or the help-octave ML for related posts.
I suggest to contact the PsychToolbox authors and ask them to help solve
your problem.
Best wishes,
Philip
> function test()
>
> % Requires java package from http://octave.sourceforge.net/
>
> pkg load java
>
> inputdlg({'test'}, 'title');
>
> [screen_ptr screen_rect] = Screen('OpenWindow', 0, 0, [], 32, 2);
>
> Screen('DrawText', screen_ptr, 'hi', 100, 100);
> Screen('Flip', screen_ptr);
>
> WaitSecs(2);
>
> Screen('CloseAll');
>
> ----------------------
>
> Ubuntu 11.04 64-bit
> Octave 3.2.4
>
>
>
> ------------------------------------------------------------------------------
> Got Input? Slashdot Needs You.
> Take our quick survey online. Come on, we don't ask for help often.
> Plus, you'll get a chance to win $100 to spend on ThinkGeek.
> http://p.sf.net/sfu/slashdot-survey
>
>
>
> _______________________________________________
> Octave-dev mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/octave-dev
------------------------------------------------------------------------------
Got Input? Slashdot Needs You.
Take our quick survey online. Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev