lem icon indicating copy to clipboard operation
lem copied to clipboard

quri on lem not loading during quickload

Open rabbibotton opened this issue 2 years ago • 12 comments

When using lem (and no other installation of sbcl) I receive the following error related to quri while quickloading my projects (on any platform, this particular quote from windows)

[package quri.etld] ; ; caught ERROR: ; READ error during COMPILE-FILE: ;
; The file ; #P"C:/msys64/home/g23tl/quicklisp/dists/quicklisp/software/quri-20221106-git/data/effective_tld_names.dat" ; does not exist: ; The system cannot find the file specified. ;
; (in form starting at line: 34, column: 0, position: 1332)

This is a LEM specific issue.

rabbibotton avatar Feb 01 '24 14:02 rabbibotton

Hello! Welcome to Lem. I am not experiencing this issue, we'll need to look for details.

First, quri is already loaded when I start Lem.

(quri:uri "http:hello.com") 

works.

And ql:quickload quri works too.

I'm on Linux, Lem master, Quicklisp is properly installed on my system.

no other installation of sbcl

Are you using Lem on a fresh system, Quicklisp is not installed?

/home/g23tl/

is this your user?

Can you quickload another library?

vindarel avatar Feb 01 '24 22:02 vindarel

The inability to load a project with quri is using the binary packages for Ubuntu and Windows of Lem.

M-x start-lisp-repl (ql:quickload :quri)

image

rabbibotton avatar Feb 02 '24 02:02 rabbibotton

here is same error on Ubuntu

image

rabbibotton avatar Feb 02 '24 02:02 rabbibotton

Is this just broken in your release versions?

rabbibotton avatar Feb 06 '24 20:02 rabbibotton

Strange it's related only to quri. Can you not use it straight away?

 (quri:uri "http:hello.com") 

and can you quickload another library?

vindarel avatar Feb 06 '24 22:02 vindarel

Yes loading other libraries work and the parts of quri that are there work. This may help more;

Couldn't load #P"/home/dbotton/.lem/quicklisp/dists/quicklisp/software/quri-20230618-git/src/etld.fasl": file does not exist. [Condition of type SB-INT:SIMPLE-FILE-ERROR]

The compiled version is missing some of quri but not all. I assume convincing quicklisp to erase any cache for quri and reloading and compiling would solve this. I'll see if I can find what needs to be done.

I would be super neat to use lem on Windows and really any platform as an answer instead of portacle

rabbibotton avatar Feb 07 '24 17:02 rabbibotton

M-x start-lisp-repl

is that the best way to get a repl for dev? Or am I supposed to install my own lisp and slime?

rabbibotton avatar Feb 07 '24 17:02 rabbibotton

Is there a mismatch between your QL version and the one Lem refers to? (I'm not sure what comes with Lem but that may be a clue)

M-x start-lisp-repl

is that the best way to get a repl for dev? Or am I supposed to install my own lisp and slime?

yes and no, that's the way! No need to install something else.

Windows and really any platform

That's the goal! And so far Lem has impressively delivered. Binaries for the three platforms: https://github.com/lem-project/lem/releases/tag/v2.1.0

vindarel avatar Feb 07 '24 23:02 vindarel

"That's the goal! And so far Lem has impressively delivered. Binaries for the three platforms: https://github.com/lem-project/lem/releases/tag/v2.1.0"

That is what I am using - on any one of those try - (ql:quickload :quri) to reproduce my error

rabbibotton avatar Feb 07 '24 23:02 rabbibotton

Using (ql:uninstall :quri) (again in one for the release tarballs) and then (ql:quickload :quri) produces same error as well

I assume the issues is in the actual lisp image being delivered in your releases.

rabbibotton avatar Feb 09 '24 00:02 rabbibotton

Any news on this?

rabbibotton avatar Mar 21 '24 12:03 rabbibotton

I think there are too many restrictions to work on the release version of the lem runtime. I think you need to start a new sbcl with the M-x slime command and quickload in it, or build lem yourself.

cxxxr avatar Mar 23 '24 08:03 cxxxr