When running sbcl in a console without slime I get the following error when requiring clpython:
This is SBCL 1.0.16.debian, an implementation of ANSI Common Lisp. More information about SBCL is available at http://www.sbcl.org/.
SBCL is free software, provided as is, with absolutely no warranty. It is mostly in the public domain; some portions are provided under BSD-style licenses. See the CREDITS and COPYING files in the distribution for more information. ; loading system definition from ; /usr/lib/sbcl/sb-bsd-sockets/sb-bsd-sockets.asd into #<PACKAGE "ASDF0"> ; registering #<SYSTEM SB-BSD-SOCKETS {AB53C41}> as SB-BSD-SOCKETS ; registering #<SYSTEM SB-BSD-SOCKETS-TESTS {ACC3309}> as SB-BSD-SOCKETS-TESTS * (require 'clpython)
; loading system definition from /home/jdn/.sbcl/systems/closer-mop.asd into ; #<PACKAGE "ASDF0"> ; registering #<SYSTEM #:CLOSER-MOP {B116399}> as CLOSER-MOP ; loading system definition from /home/jdn/.sbcl/systems/lw-compat.asd into ; #<PACKAGE "ASDF0"> ; registering #<SYSTEM #:LW-COMPAT {B247471}> as LW-COMPAT WARNING: change in instance length of class SB-PRETTY:PRETTY-STREAM: current length: 25 compile time length: 27
debugger invoked on a SIMPLE-ERROR in thread #<THREAD "initial thread" {A884589}>: The class SB-PRETTY:PRETTY-STREAM was not changed, and there's no guarantee that the loaded code (which expected another layout) will work.
Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.
restarts (invokable by number or by possibly-abbreviated name): 0: [RETRY ] Retry performing #<ASDF:LOAD-OP NIL {A9A44A1}> on #<ASDF:CL-SOURCE-FILE "yacc" {A9A44B1}>. 1: [ACCEPT] Continue, treating #<ASDF:LOAD-OP NIL {A9A44A1}> on #<ASDF:CL-SOURCE-FILE "yacc" {A9A44B1}> as having been successful. 2: [ABORT ] Exit debugger, returning to top level.
(SB-KERNEL::CHECK-LAYOUT #<SB-KERNEL:LAYOUT for SB-PRETTY:PRETTY-STREAM {950DC29}> #<SB-KERNEL:STRUCTURE-CLASSOID SB-PRETTY:PRETTY-STREAM> 27 #(#<SB-KERNEL:LAYOUT for T {905F621}> #<SB-KERNEL:LAYOUT for STRUCTURE-OBJECT {905F659}> #<SB-KERNEL:LAYOUT for STREAM {91A51C1}> #<SB-KERNEL:LAYOUT for SB-KERNEL:ANSI-STREAM {905FB69}>) 4 0)
which seems to be a problem with lw-compat. When using clpython with slime this error doesn't occur and I get:
********************************** End CLPython test Errors detected in this test: 14 UNEXPECTED: 10 Successes this test:695 ; ; compilation unit finished ; caught 12 fatal ERROR conditions ; caught 3 WARNING conditions ; caught 22 STYLE-WARNING conditions ; printed 23 notes
when running the test suite (Ubuntu 7.10 on both amd64 and x86 systems).
Jason