Lisp HUG Maillist Archive

BASE-CHAR quickloading "zip" on PersonalEdition

On LispWorks Personal Edition, both MacOS Mojave and Windows 8.1,

(ql:quickload "zip")
...
Error: #\ů is not of type BASE-CHAR.

Is there a workaround? Is this something that will be fixed in the 64 bit version?

-- 
................................................
Christopher Riesbeck (he/him/his)
Associate Professor, Computer Science
McCormick School of Engineering, Northwestern University
Co-director, The Center for Computer Science and Learning Sciences

Home page: https://users.cs.northwestern.edu/~riesbeck/
Calendar: https://users.cs.northwestern.edu/~riesbeck/calendar-weekly.html

Re: BASE-CHAR quickloading "zip" on PersonalEdition

Sorry, meant to include that the error does not occur with Allegro Express or SBCL, at least on my Mac

On 10/17/2019 2:15 PM, Christopher Riesbeck wrote:

On LispWorks Personal Edition, both MacOS Mojave and Windows 8.1,

(ql:quickload "zip")
...
Error: #\ů is not of type BASE-CHAR.

Is there a workaround? Is this something that will be fixed in the 64 bit version?

-- 
................................................
Christopher Riesbeck (he/him/his)
Associate Professor, Computer Science
McCormick School of Engineering, Northwestern University
Co-director, The Center for Computer Science and Learning Sciences

Home page: https://users.cs.northwestern.edu/~riesbeck/
Calendar: https://users.cs.northwestern.edu/~riesbeck/calendar-weekly.html
-- 
................................................
Christopher Riesbeck (he/him/his)
Associate Professor, Computer Science
McCormick School of Engineering, Northwestern University
Co-director, The Center for Computer Science and Learning Sciences

Home page: https://users.cs.northwestern.edu/~riesbeck/
Calendar: https://users.cs.northwestern.edu/~riesbeck/calendar-weekly.html

Re: BASE-CHAR quickloading "zip" on PersonalEdition

It's a typical error when a string does only support characters of type base-char, but one tries to set a string element to a character with a larger character code.

See the variable base-char-code-limit, which is 256 in my LispWorks 7.1.2.

The mentioned character has code 367.

Typical solutions are:

* specify the string-type / element-type to use

* or set the default character-element-type for example with: (lw:set-default-character-element-type 'cl:character)

CL:CHARACTER should support larger character codes - limits depend on the version of LispWorks. See CHAR-CODE-LIMIT.

Regards

Rainer Joswig





Am 17.10.2019 um 21:46 schrieb Tim Bradshaw <tfb@cley.com>:

Isn't this the standard thing of the default external format and some file not having an encoding declaration that LW can grok and/or the default character type not being right?

On 17 Oct 2019, at 20:17, Christopher K Riesbeck <c-riesbeck@northwestern.edu> wrote:

Sorry, meant to include that the error does not occur with Allegro Express or SBCL, at least on my Mac

On 10/17/2019 2:15 PM, Christopher Riesbeck wrote:

On LispWorks Personal Edition, both MacOS Mojave and Windows 8.1,

(ql:quickload "zip")
....
Error: #\ů is not of type BASE-CHAR.

Is there a workaround? Is this something that will be fixed in the 64 bit version?

-- 
.................................................
Christopher Riesbeck (he/him/his)
Associate Professor, Computer Science
McCormick School of Engineering, Northwestern University
Co-director, The Center for Computer Science and Learning Sciences

Home page: https://users.cs.northwestern.edu/~riesbeck/
Calendar: https://users.cs.northwestern.edu/~riesbeck/calendar-weekly.html
-- 
.................................................
Christopher Riesbeck (he/him/his)
Associate Professor, Computer Science
McCormick School of Engineering, Northwestern University
Co-director, The Center for Computer Science and Learning Sciences

Home page: https://users.cs.northwestern.edu/~riesbeck/
Calendar: https://users.cs.northwestern.edu/~riesbeck/calendar-weekly.html

Re: BASE-CHAR quickloading "zip" on PersonalEdition

Thanks, Rainer — that let the load go through.

On Oct 17, 2019, at 3:20 PM, Rainer Joswig <joswig@lisp.de> wrote:

It's a typical error when a string does only support characters of type base-char, but one tries to set a string element to a character with a larger character code.

See the variable base-char-code-limit, which is 256 in my LispWorks 7.1.2.

The mentioned character has code 367.

Typical solutions are:

* specify the string-type / element-type to use

* or set the default character-element-type for example with: (lw:set-default-character-element-type 'cl:character)

CL:CHARACTER should support larger character codes - limits depend on the version of LispWorks. See CHAR-CODE-LIMIT.

Regards

Rainer Joswig





Am 17.10.2019 um 21:46 schrieb Tim Bradshaw <tfb@cley.com>:

Isn't this the standard thing of the default external format and some file not having an encoding declaration that LW can grok and/or the default character type not being right?

On 17 Oct 2019, at 20:17, Christopher K Riesbeck <c-riesbeck@northwestern.edu> wrote:

Sorry, meant to include that the error does not occur with Allegro Express or SBCL, at least on my Mac

On 10/17/2019 2:15 PM, Christopher Riesbeck wrote:

On LispWorks Personal Edition, both MacOS Mojave and Windows 8.1,

(ql:quickload "zip")
...
Error: #\ů is not of type BASE-CHAR.

Is there a workaround? Is this something that will be fixed in the 64 bit version?

-- 
................................................
Christopher Riesbeck (he/him/his)
Associate Professor, Computer Science
McCormick School of Engineering, Northwestern University
Co-director, The Center for Computer Science and Learning Sciences

Home page: https://users.cs.northwestern.edu/~riesbeck/
Calendar: https://users.cs.northwestern.edu/~riesbeck/calendar-weekly.html
-- 
................................................
Christopher Riesbeck (he/him/his)
Associate Professor, Computer Science
McCormick School of Engineering, Northwestern University
Co-director, The Center for Computer Science and Learning Sciences

Home page: https://users.cs.northwestern.edu/~riesbeck/
Calendar: https://users.cs.northwestern.edu/~riesbeck/calendar-weekly.html


------------------
Christopher Riesbeck (he/him/his)
Associate Professor, Computer Science, 
McCormick School of Engineering, Northwestern

Director, MS in Computer Science
Co-director, The Center for Computer Science and Learning Sciences

Home page: https://users.cs.northwestern.edu/~riesbeck
Calendar: https:/users.cs.northwestern.edu/~riesbeck/calendar-weekly.html


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