One piece of context here is that the embedded ECL that Terje is using in the 
iPhone Simulator build (or an iPhone device build) doesn't have the regular 
compiler, only the bytecode compiler. I tried a quick test with the attached 
patch on swank-loader.lisp (CVS HEAD), which changes the swank-loader to simply 
load the swank packages instead of compile/loading them and it works around the 
"Cannot print object readably" error.

It's possible this issue is isolated to situations where only the bytecode 
compiler is active.

Cheers,

-ram


On Monday, May 30, 2011 at 1:58 AM, Terje Norderhaug wrote:

> On May 29, 2011, at 2:54 PM, Juan Jose Garcia-Ripoll wrote:
> > On Sun, May 29, 2011 at 7:51 PM, Terje Norderhaug <te...@in-progress.com 
> > (mailto:te...@in-progress.com)> wrote:
> > Anybody working on a patch for the problem in ECL 11.1.1 reporting "Cannot 
> > print object #<SWANK-BACKEND package> readably"?
> > 
> > Yes, basically the same person who is working on all other ECL issues :-) 
> > One step at a time (it took me quite long to sort out all the cygwin 
> > problems until I produced two bug reports today for the cygwin project)
> 
> I did additional testing to determine how the code in Swank affected the 
> problem. The error happens during in the call (compile-file src :output-file 
> dest :print nil :verbose nil) in a file loaded into an ECL runtime either on 
> the device (iPad) or a device simulator on a Mac. Even the simplest 
> (defpackage :foo) form in the beginning of the file to be compiled provokes 
> the error. Binding *print-readably* NIL before compile-file makes no 
> difference.
> 
> -- Terje Norderhaug
> te...@in-progress.com (mailto:te...@in-progress.com)
> 
> 
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> vRanger cuts backup time in half-while increasing security.
> With the market-leading solution for virtual backup and recovery, 
> you get blazing-fast, flexible, and affordable data protection.
> Download your free trial now. 
> http://p.sf.net/sfu/quest-d2dcopy1
> _______________________________________________
> Ecls-list mailing list
> Ecls-list@lists.sourceforge.net (mailto:Ecls-list@lists.sourceforge.net)
> https://lists.sourceforge.net/lists/listinfo/ecls-list

Attachment: swank-loader-patch.txt
Description: Binary data

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list

Reply via email to