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 <[EMAIL PROTECTED]>
> Subject: Re: mozart-users Digest, Vol 15, Issue 20
> To: Mozart users <[EMAIL PROTECTED]>
> Message-ID: <[EMAIL PROTECTED]>
> 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 <[EMAIL PROTECTED]
> >     <mailto:[EMAIL PROTECTED]>>
> >     Subject: Re: mozart-users Digest, Vol 15, Issue 19
> >     To: Mozart users < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
> >     Message-ID: <[EMAIL PROTECTED]
> >     <mailto:[EMAIL PROTECTED]>>
> >     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
> [email protected]
> > http://www.mozart-oz.org/mailman/listinfo/mozart-users
>
>
>
> ------------------------------
>
> _______________________________________________
> mozart-users mailing list
> [email protected]
> http://lists.gforge.info.ucl.ac.be/mailman/listinfo/mozart-users
>
> End of mozart-users Digest, Vol 15, Issue 21
> ********************************************
>
_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to