From: ey15
Subject: LispWorks for Windows delivery
Date: 
Message-ID: <7fevuo$h8b$1@news.liv.ac.uk>
When turning lisp code into stand alone executables I have been
able to successfully deliver at level 4, which has reduced the
image size from just over 16M to just under 8M.  Everyting works
fine.  However, when I go to level 5 I get a message box which
says

"Undefined function #:REA called with arguments (#<#:LAT 204B9a14>)."

I've had a long look through the Delivery manual, but can't figure
this one out.

Thanks,

Marcus.

From: Robert Monfera
Subject: Re: LispWorks for Windows delivery
Date: 
Message-ID: <371BC4AA.7AA7557E@fisec.com>
Marcus,

I can't offer specific help.  I noticed delivery can be mysterious. 
Even at the lowest level, when using GUI, error handling is not ideal
(the black console often does come in).  Does not this happen to you,
even in the development environment?

Have you specified that the condition system is retained
(:keep-conditions, which is not in the doc)?

I posted to the ng a few months ago on my issue, no answer.  Maybe we
should form a desperate coalition of LWW users who actually want to
deliver?

BTW, which version are you using?  Do you use GUI and classes?

Regards
Robert

ey15 wrote:
> 
> When turning lisp code into stand alone executables I have been
> able to successfully deliver at level 4, which has reduced the
> image size from just over 16M to just under 8M.  Everyting works
> fine.  However, when I go to level 5 I get a message box which
> says
> 
> "Undefined function #:REA called with arguments (#<#:LAT 204B9a14>)."
> 
> I've had a long look through the Delivery manual, but can't figure
> this one out.
> 
> Thanks,
> 
> Marcus.
From: Arthur Lemmens
Subject: Re: LispWorks for Windows delivery
Date: 
Message-ID: <371CF356.C773E944@simplex.nl>
ey15 wrote:
>
> When turning lisp code into stand alone executables I have been
> able to successfully deliver at level 4, which has reduced the
> image size from just over 16M to just under 8M.  Everyting works
> fine.  However, when I go to level 5 I get a message box which
> says
>
> "Undefined function #:REA called with arguments (#<#:LAT 204B9a14>)."
>
> I've had a long look through the Delivery manual, but can't figure
> this one out.

Yes, severity level 5 seems to be quite hard to get right when 
using the CAPI. You could try using level 4 and including :COMPACT T.
On my most recent project this reduced the file size from 7.4 MB to
5.9 MB, without causing any trouble.

Robert Monfera wrote:
>
> I can't offer specific help.  I noticed delivery can be mysterious.
> Even at the lowest level, when using GUI, error handling is not ideal
> (the black console often does come in).  Does not this happen to you,
> even in the development environment?

With LWW 4.14, this happens very rarely to me.
I would be interested to know when this happens to you (but maybe 
this is more appropriate for the lww mailing list).
 
> Have you specified that the condition system is retained
> (:keep-conditions, which is not in the doc)?

Actually, it's in section 6.3.2. of the Delivery User Guide.

Arthur Lemmens
From: Rainer Joswig
Subject: LWW mailing list, Re: LispWorks for Windows delivery
Date: 
Message-ID: <joswig-2004990347540001@194.163.195.67>
In article <·················@fisec.com>, ·······@fisec.com wrote:

> Marcus,
> 
> I can't offer specific help.  I noticed delivery can be mysterious. 
> Even at the lowest level, when using GUI, error handling is not ideal
> (the black console often does come in).  Does not this happen to you,
> even in the development environment?
> 
> Have you specified that the condition system is retained
> (:keep-conditions, which is not in the doc)?
> 
> I posted to the ng a few months ago on my issue, no answer.  Maybe we
> should form a desperate coalition of LWW users who actually want to
> deliver?
> 
> BTW, which version are you using?  Do you use GUI and classes?
> 
> Regards
> Robert

For those interested, there is a mailing list
for LispWorks for Windows users:

"lww at lisp.de"

Subscribe via "lww-request at lisp.de"

It is a forum for discussing LWW problems and solutions.
Currently it is a bit low volume...
From: Nick Levine
Subject: Re: LispWorks for Windows delivery
Date: 
Message-ID: <371DD046.1E78310A@harlequin.co.uk>
Marcus,

You have two problems here: (a) to find out which symbols are refered to
by the enigmatic #:REA and #:LAT, and (b) to then figure out why a
function which was apparently defined at level 4 ceased to be defined at
level 5.

First things first - see the description in documentation of the
delivery-keyword :symbol-names-action. Its default value (hint: use the
function LW:DELIVER-KEYWORDS to obtain definitive default values) is

     (>= *delivery-level* 5)

Try adding

    :symbol-names-action nil

to your delivery script. This will retain full symbol-names, and with
luck will allow you to proceed with debugging the delivery process.
However, if retaining symbol-names makes the problem go away, but you
still want to shave a bit off the image by expunging symbol-names, then
you should set

    :symbol-names-action :dump

and add an error handler to the delivered image to call the function

    MM::RECOVER-NAME-FROM-FILE

to convert the enigmatic uninterned symbols (or their names) into the
names of the symbols which they originally represented.

- nick




ey15 wrote:

> When turning lisp code into stand alone executables I have been
> able to successfully deliver at level 4, which has reduced the
> image size from just over 16M to just under 8M.  Everyting works
> fine.  However, when I go to level 5 I get a message box which
> says
>
> "Undefined function #:REA called with arguments (#<#:LAT 204B9a14>)."
>
> I've had a long look through the Delivery manual, but can't figure
> this one out.
>
> Thanks,
>
> Marcus.