Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

quri on lem not loading during quickload #1285

Open
rabbibotton opened this issue Feb 1, 2024 · 12 comments
Open

quri on lem not loading during quickload #1285

rabbibotton opened this issue Feb 1, 2024 · 12 comments
Labels
waiting response The issue is waiting for the response of the author.

Comments

@rabbibotton
Copy link

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.

@vindarel
Copy link
Collaborator

vindarel commented Feb 1, 2024

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?

@rabbibotton
Copy link
Author

rabbibotton commented Feb 2, 2024

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
Copy link
Author

here is same error on Ubuntu

image

@rabbibotton
Copy link
Author

Is this just broken in your release versions?

@vindarel vindarel added the waiting response The issue is waiting for the response of the author. label Feb 6, 2024
@vindarel
Copy link
Collaborator

vindarel commented Feb 6, 2024

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?

@rabbibotton
Copy link
Author

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
Copy link
Author

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?

@vindarel
Copy link
Collaborator

vindarel commented Feb 7, 2024

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

@rabbibotton
Copy link
Author

"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
Copy link
Author

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
Copy link
Author

Any news on this?

@cxxxr
Copy link
Member

cxxxr commented Mar 23, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting response The issue is waiting for the response of the author.
Projects
None yet
Development

No branches or pull requests

3 participants