Ticket #68 (closed defect)
errors during half-arsed attempt to setup tool
Reported by: | anonymous | Owned by: | clements |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | clements/no-brainer.plt | Keywords: | |
Cc: | Version: | (1 2) | |
Racket Version: | 4.1.2 |
Description
Hi, I tried:
(require (planet "[file]" ("clements" "no-brainer.plt" 1 2)))
which gives the error:
. planet: ill-formed module path in: (planet "[file]" ("clements" "no-brainer.plt" 1 2))
then I thought "perhaps it needs a file to check", so I tried
(require (planet "anaphoric-cond.ss" ("clements" "no-brainer.plt" 1 2)))
which caused:
#%app: pattern variable cannot be used outside of a template #%app: pattern variable cannot be used outside of a template setup-plt: error: during making for <planet>/clements/no-brainer.plt/1/2 (No-Brainer) setup-plt: #%app: pattern variable cannot be used outside of a template setup-plt: error: during making for <planet>/clements/no-brainer.plt/1/2/private setup-plt: #%app: pattern variable cannot be used outside of a template open-input-file: cannot open input file: "/home/xxxx/.plt-scheme/planet/300/4.1.0.3/cache/clements/no-brainer.plt/1/2/anaphoric-cond.ss" (No such file or directory; errno=2)
Now when I start drscheme it pops up a box saying
Error invoking tool #<path:/home/xxxx/.plt-scheme/planet/300/4.1.0.3/cache/clements/no-brainer.plt/1/2>;("no-brainer-tool.ss") ...xxx/.plt-scheme/planet/300/4.1.0.3/cache/clements/no-brainer.plt/1/2/private/build-arity-table.ss:141:12: #%app: pattern variable cannot be used outside of a template at: #%app in: (#%app apply append (map recur-non-tail (syntax->list (syntax exprs)))) === context === /home/xxxx/plt41compile/plt-4.1.0.3/collects/drscheme/private/tools.ss:248:4 /home/xxxx/plt41compile/plt-4.1.0.3/collects/drscheme/private/tools.ss:60:0: load/invoke-all-tools
But there is now a tool called "I have no brain" installed, even though it doesn't do anything!
I've also tried
(require (planet "no-brainer-tool.ss" ("clements" "no-brainer.plt" 1 2)))
at the REPL in drscheme, which causes
#%app: pattern variable cannot be used outside of a template in: #%app
Change History
Note: See
TracTickets for help on using
tickets.