
@robby The new drracket:init:original-error-display-handler
is said to be exported by drracket/tool
, which Quickscript require
s, 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?

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

@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.

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?

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"

and you’re sure the bytecode was recompiled?

what if you just go delete it?

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

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

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

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

(and did raco setup quickscript and raco setup)