[slime-devel] Re: Problems with SBCL/CL-PPCRE on Debian/Etch/Testing/clc

"Tobias C. Rittweiler" <tcr@freebits.de> writes:
Nicolas Neuss <neuss@math.uni-karlsruhe.de> writes:
Hello all,
I have an CL-PPCRE that was compiled with an SBCL running in a shell (Debian/common-lisp-controller). Now, I see the error below when trying to load cl-ppcre via SLIME. I suspect that this is a coding issue again (SB-IMPL::*DEFAULT-EXTERNAL-FORMAT* is :latin1, slime-net-coding-system is iso-latin-1-unix).
Did anyone of you run into that problem and know a solution? Apropos: deleting api.fasl makes SLIME loading work, but then the error occurs when loading from an SBCL instance being run from inside a shell.
Thank you, Nicolas
--------------------------------------------------------------------------- The class SB-PRETTY:PRETTY-STREAM was not changed, and there's no guarantee that the loaded code (which expected another layout) will work. [Condition of type SIMPLE-ERROR]
Do you use the `slime-presentation-streams' contrib? What happens when you do not use it?
-T.
You are right, it may be a problem with presentations. Looking at the startup messages, I see the following: ;; loading #P"/var/cache/common-lisp-controller/1000/sbcl/swank/fasl/sbcl-0.9.16-linux-x86/swank-presentations.fasl" ;; loading #P"/var/cache/common-lisp-controller/1000/sbcl/swank/fasl/sbcl-0.9.16-linux-x86/swank-presentation-streams.fasl" WARNING: change in instance length of class PRETTY-STREAM: current length: 25 new length: 27 STYLE-WARNING: redefining MAKE-PRETTY-STREAM in DEFUN STYLE-WARNING: redefining MAYBE-OUTPUT in DEFUN STYLE-WARNING: redefining OUTPUT-LINE in DEFUN STYLE-WARNING: redefining OUTPUT-PARTIAL-LINE in DEFUN STYLE-WARNING: redefining FORCE-PRETTY-OUTPUT in DEFUN which indicates some problem. Could you tell me how to switch off presentations? Thank you, Nicolas

Nicolas Neuss <neuss@math.uni-karlsruhe.de> writes:
You are right, it may be a problem with presentations. Looking at the startup messages, I see the following:
;; loading #P"/var/cache/common-lisp-controller/1000/sbcl/swank/fasl/sbcl-0.9.16-linux-x86/swank-presentations.fasl" ;; loading #P"/var/cache/common-lisp-controller/1000/sbcl/swank/fasl/sbcl-0.9.16-linux-x86/swank-presentation-streams.fasl" [...] which indicates some problem. Could you tell me how to switch off presentations?
Your Slime (and SBCL) version is quite old, and I can't remember how to inhibit installing presentation-streams there (perhaps someone else can..) If you update to CVS, you'll be able to customize it much more easily as much stuff has been split into different contribs which you can disable/enable explicitly. -T.

"Tobias C. Rittweiler" <tcr@freebits.de> writes:
Nicolas Neuss <neuss@math.uni-karlsruhe.de> writes:
You are right, it may be a problem with presentations. Looking at the startup messages, I see the following:
;; loading #P"/var/cache/common-lisp-controller/1000/sbcl/swank/fasl/sbcl-0.9.16-linux-x86/swank-presentations.fasl" ;; loading #P"/var/cache/common-lisp-controller/1000/sbcl/swank/fasl/sbcl-0.9.16-linux-x86/swank-presentation-streams.fasl" [...] which indicates some problem. Could you tell me how to switch off presentations?
Your Slime (and SBCL) version is quite old, and I can't remember how to inhibit installing presentation-streams there (perhaps someone else can..)
Thanks, I should have noticed that. Probably an update to Etch/unstable is all I need. Nicolas

Nicolas Neuss <neuss@math.uni-karlsruhe.de> writes:
"Tobias C. Rittweiler" <tcr@freebits.de> writes:
Nicolas Neuss <neuss@math.uni-karlsruhe.de> writes:
You are right, it may be a problem with presentations. Looking at the startup messages, I see the following:
;; loading #P"/var/cache/common-lisp-controller/1000/sbcl/swank/fasl/sbcl-0.9.16-linux-x86/swank-presentations.fasl" ;; loading #P"/var/cache/common-lisp-controller/1000/sbcl/swank/fasl/sbcl-0.9.16-linux-x86/swank-presentation-streams.fasl" [...] which indicates some problem. Could you tell me how to switch off presentations?
Your Slime (and SBCL) version is quite old, and I can't remember how to inhibit installing presentation-streams there (perhaps someone else can..)
Thanks, I should have noticed that. Probably an update to Etch/unstable is all I need.
Unfortunately, this was not sufficient. The problem does remain with unstable (SBCL 1.0.14, slime (1:20080223-2) unstable). I could not find a way to switch off presentations which are still enabled by default. How is this possible? Do I have to use CVS SLIME? Thank you, Nicolas

Nicolas Neuss <neuss@math.uni-karlsruhe.de> writes:
Unfortunately, this was not sufficient. The problem does remain with unstable (SBCL 1.0.14, slime (1:20080223-2) unstable). I could not find a way to switch off presentations which are still enabled by default. How is this possible? Do I have to use CVS SLIME?
AFAIK, Slime is split into a slime and a swank package in Debian. So perhaps you updated Slime, but not the respective swank package; or both were updated, but the old version is still installed, and the old one is taken up. You may want to contact Peter Van Eynde and ask him for help. If you want to go for vanilla Slime, I recommend to uninstall all slime-related debian packages first. -T.
participants (2)
-
Nicolas Neuss
-
Tobias C. Rittweiler