mdbergmann / cl-gserver

Sento - Actor framework featuring actors and agents for easy access to state and asynchronous operations.

Home Page:https://mdbergmann.github.io/cl-gserver/index.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrong character name: NEXT-LINE

ijitai opened this issue · comments

commented

`CL-USER 11 > (ql:quickload "sento")
To load "sento":
Load 1 ASDF system:
sento
; Loading "sento"
[package str]

**++++ Error between functions:
Wrong character name: NEXT-LINE.
...
; *** 1 error detected, no fasl file produced.
Error: COMPILE-FILE-ERROR while compiling #<ASDF/LISP-ACTION:CL-SOURCE-FILE "str" "str">
`

Lispworks 8.01 M1 mbp

This looks like an issue in cl-str package on LispWorks.
Please raise issue on https://github.com/vindarel/cl-str.
This also happens when loading ‚str‘ alone.

Indeed, it's a bug with LispWorks :S It's fixed, but folks using the latest Quicklisp release (Feb, 2023) will hit it. To pick the fix, you have to clone cl-str to your ~/quicklisp/local-projects, or to downgrade the QL release.

Or, in fact, since the change is small, you can go to cl-str's source (M-. in Slime, somewhere in ~/quicklisp/dists/quicklisp/software/cl-str-202302xx/) and change the whitespace list to this:

(defvar *whitespaces* (list #\Backspace #\Tab #\Linefeed #\Newline #\Vt #\Page
                            #\Return #\Space #\Rubout
                            #+sbcl #\Next-Line #-sbcl (code-char 133)  ;; <- for LW
                            #\No-break_space)

edit: or again, use Ultralisp to get the latest version. https://ultralisp.org/projects/vindarel/cl-str

Thanks for the workaround.
I'd close this ticket for the time being.