laurent.orseau
2021-4-24 13:04:22

@robby The new drracket:init:original-error-display-handler is said to be exported by drracket/tool, which Quickscript requires, but it still gives me an unbound identifier error message. If I require drracket/tool-lib the error goes away but then I have a linklet mismatch error that doesn’t go away after raco setup quickscript (also, I think plugins are not supposed to require drracket/tool-lib?) What am I doing wrong?


robby
2021-4-24 13:07:05

Oh. Probably I messed that up. Let me look into it


robby
2021-4-24 13:39:58

@laurent.orseau actually, on a closer look, I’m not seeing a problem. I think you may need to run “raco setup” (no arguments). It may be that the dependency that would tell raco setup to recompile enough stuff is a dynamic one? I’m not sure.


robby
2021-4-24 13:41:27

I think that drracket/tool doesn’t export drracket:init:original-error-display-handler. It exports only the signatures. Looks like that’s a documentation bug?


laurent.orseau
2021-4-24 13:57:04

I require drracket/tool-lib, but even after raco setup I can’t get rid of this: Error invoking tool #<path:/home/laurent/Prog/Racket/quickscript/>;("tool.rkt") instantiate-linklet: mismatch; reference to a variable that is uninitialized; possibly, bytecode file needs re-compile because dependencies changed name: idX1691.1 exporting instance: "/usr/share/racket-8.1.0.2/pkgs/drracket/drracket/tool-lib.rkt" importing instance: "/home/laurent/Prog/Racket/quickscript/tool.rkt" context...: body of "/home/laurent/Prog/Racket/quickscript/tool.rkt" /usr/share/racket-8.1.0.2/pkgs/drracket/drracket/private/tools.rkt:294:2 /usr/share/racket-8.1.0.2/pkgs/drracket/drracket/private/tools.rkt:72:0: load/invoke-all-tools .../racket/unit.rkt:996:20 body of "/usr/share/racket-8.1.0.2/pkgs/drracket/drracket/tool-lib.rkt" body of "/usr/share/racket-8.1.0.2/pkgs/drracket/drracket/private/drracket-normal.rkt" body of "/usr/share/racket-8.1.0.2/pkgs/drracket/drracket/drracket.rkt"


robby
2021-4-24 13:58:56

and you’re sure the bytecode was recompiled?


robby
2021-4-24 13:59:02

what if you just go delete it?


laurent.orseau
2021-4-24 14:06:15

hm, the bytecode is not in /usr/share/racket-… Does it sit somewhere else? I downloaded a snapshot release with a unix-style distribution


robby
2021-4-24 14:06:39

The error message suggests that you have it in /home/laurent/Prog/Racket/quickscript/tool.rkt


robby
2021-4-24 14:06:49

/home/laurent/Prog/Racket/quickscript/compiled I mean


laurent.orseau
2021-4-24 14:09:22

So for QS i did delete the compiled directory, but i still get the error


laurent.orseau
2021-4-24 14:14:10

(and did raco setup quickscript and raco setup)