Lisp HUG Maillist Archive

Re: reading #s in delivered application

Hi Dmitriy,
this was exactly the solution.
Thank you for this advice.
Best regards,
Frank

> -----Ursprüngliche Nachricht-----
> Von: "Dmitriy Ivanov" <divanov@aha.ru>
> Gesendet: 17.05.09 08:54:57
> An: "Frank Schorr" <franks-muc@web.de>
> CC: <lisp-hug@lispworks.com>
> Betreff: Re: reading #s in delivered application


> 
> Hello Frank,
> 
> 
> | My delivered application should read a structure written in a file as
> | "#S(RESULT :QUERY ...", but breaks with "Error: RESULT is not a proper
> | structure name." The package in which the structure is defined is added
> | to :packages-to-keep and :structure-packages-to-keep
> | the symbol result is added to
> | :keep-symbols and :keep-symbol-names
> | and
> |  :keep-structure-info :slots
> | is also defined in the call to deliver. delivery level is 0 (on windows
> | 5.0.2)
> | 
> | What am I missing ?
> 
> As :keep-structure-info is implied by :structure-packages-to-keep and
> :keep-lisp-reader is T by default on level 0, I can only advise to ensure
> that you are reading the file in the proper package, e.g.
> 
> (let ((*package* (find-package "my-package")))
>    (read stream ...))
> --
> Sincerely,
> Dmitriy Ivanov
> lisp.ystok.ru
> 
> 


__________________________________________________________________________
Verschicken Sie SMS direkt vom Postfach aus - in alle deutschen und viele 
ausländische Netze zum gleichen Preis! 
https://produkte.web.de/webde_sms/sms




Updated at: 2020-12-10 08:41 UTC