mcgui-new
Kristian Nielsen
kristian.nielsen at risoe.dk
Wed Feb 23 09:08:08 CET 2000
> Date: Thu, 17 Feb 2000 19:36:54 +0100
> From: Farhi <farhi at ill.fr>
> I'm afraid it does not work better !!
Ok, that is just the way it is then.
> I've tried to look inside mcgui.pl
> It seems that that error occurs during the waitVariable call of the do
> loop (function dialog_get_out_file)
Yes. I am pretty sure that the problem is a conflict between the main
mcgui process, the spawned compiler process, and the Tk/X Windows
System. I am not sure of the details though, so I would ask you to run
two more tests that will help to pinpoint the problem.
I have put two new version of mcgui on mica, in
~nielsen/mcgui-crash/. They are called mcgui-1.pl and mcgui-2.pl. They
are both identical to the previous mcgui except for the exec() call that
actually starts the mcstas compiler program.
Could you try running both of them and let me know the results? The
commands would be
/usr/ill/perl/bin/perl -d mcgui-1.pl in14_tut.instr
/usr/ill/perl/bin/perl -d mcgui-2.pl in14_tut.instr
and for each command, just select "File"->"Compile instrument".
I also did a web search, and for a similar problem it was suggested to
install a newer version of perl. Maybe Ron will want to try that at some
point.
The mcgui-1.pl starts a simple "echo" command instead of the McStas and
C compiler. On my machine, compilation emits two
"EXEC call succeeded ok" messages, and succeeds.
The mcgui-2.pl does not start any commands at all. On my machine,
compilation fails with "Error: exec() of mcstas failed!" and two curious
"Callback called exit." messages.
- Kristian.
More information about the mcstas-users
mailing list