mozart-users Digest, Vol 15, Issue 21
Oliver Mooney
oliver.mooney at gmail.com
Tue Jan 22 23:02:40 CET 2008
Dear Raph,
Success! When I invoke my functor using ozengine with the fix you described,
the file is located and executed successfully. However, the standalone
executable functor still seems to have the error. I recompiled & relinked it
after editing the oz file, but presumably the executable header is
elsewhere.
By the way, my version of the oz file had that exec invocation on line 105.
Different version?
Thanks again (and to Yves too),
Oliver.
> ------------------------------
>
> Message: 2
> Date: Mon, 21 Jan 2008 14:29:33 +0100
> From: Raphael Collet <raphael.collet at uclouvain.be>
> Subject: Re: mozart-users Digest, Vol 15, Issue 20
> To: Mozart users <users at mozart-oz.org>
> Message-ID: <47949E3D.20001 at uclouvain.be>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Dear Oliver,
>
> Yves Jaradin has found the possible source of the bug: the shell script
> "oz" which calls emulator.exe. Can you try the following change, and
> check whether it solves your problem?
>
> In the file "oz", go to line 69, and replace the line
>
> exec "$OZEMULATOR" $OZGUI -u $url -- "$@"
>
> by
>
> exec "$OZEMULATOR" $OZGUI -u "$url" -- "$@"
>
> The $url contains the path of the program you want to execute. The
> double quotes around it prevent the shell from interpreting its value as
> several arguments when it contains spaces.
>
> If it works, we will patch the script for a future release.
>
>
> Cheers,
> raph
>
>
> Oliver Mooney wrote:
> > Dear Torsten,
> >
> > The issue appears for me when I call a compiled executable too! The
> > shell locates the file successfully but the module manager doesn't seem
> > able to handle paths with spaces.
> >
> > This is using the 1.4.0 distribution from Gustavo Gutierrez's OS X Intel
> > package.
> >
> > It's a concern because I can't expect all my users to install the
> > package on a path without spaces.
> >
> > If I'm not missing something obvious I'll put it up on the bug tracker.
> >
> > Thanks,
> > Oliver.
> >
> >
> > Date: Sun, 20 Jan 2008 18:54:03 +0000
> > From: Torsten Anders <torsten.anders at plymouth.ac.uk
> > <mailto:torsten.anders at plymouth.ac.uk>>
> > Subject: Re: mozart-users Digest, Vol 15, Issue 19
> > To: Mozart users < users at mozart-oz.org <mailto:users at mozart-oz.org>>
> > Message-ID: <EEA932F8-2FE9-4380-B578-7D182AC898D4 at plymouth.ac.uk
> > <mailto:EEA932F8-2FE9-4380-B578-7D182AC898D4 at plymouth.ac.uk>>
> > Content-Type: text/plain; charset="US-ASCII"; delsp=yes;
> format=flowed
> >
> > Dear Oliver,
> >
> > I just confirmed your problem, although I get a different error
> > message (I tried it on the shell).
> >
> > $ ozengine '/path to/Functor.ozf'
> > Unknown option 'to/Functor.ozf'.
> > usage: /path/emulator.exe <options>
> > -init <file> : init functor
> > -u <url> : application functor
> > -- <args> ...: application arguments
> >
> >
> > Anyway, you may try compiling your Oz application as executable
> > (option -x) and calling the resulting executable directly.
> >
> > Best
> > Torsten
> >
> >
> >
> > ------------------------------------------------------------------------
> >
> >
> _________________________________________________________________________________
> > mozart-users mailing list
> mozart-users at mozart-oz.org
> > http://www.mozart-oz.org/mailman/listinfo/mozart-users
>
>
>
> ------------------------------
>
> _______________________________________________
> mozart-users mailing list
> mozart-users at mozart-oz.org
> http://lists.gforge.info.ucl.ac.be/mailman/listinfo/mozart-users
>
> End of mozart-users Digest, Vol 15, Issue 21
> ********************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.gforge.info.ucl.ac.be/pipermail/mozart-users/attachments/20080122/100cc387/attachment.html
More information about the mozart-users
mailing list