[plt-scheme] Tool module the wrong shape?

From: Grant Rettke (grettke at acm.org)
Date: Tue May 22 22:12:21 EDT 2007

Hi folks,

I'm working on a tool and started by copying the sample tool in the user manual:


When I run "Setup PLT.exe" I get an error:

C:\Program Files\PLT>"Setup PLT.exe"
setup-plt: Setup version is 370 [3m]
setup-plt: Available variants: 3m
setup-plt: Main collection path is C:\Program Files\PLT\collects
setup-plt: Collection search path is
setup-plt:   C:\Documents and Settings\grettke\Application Data\PLT Scheme\370\c
setup-plt:   C:\Program Files\PLT\collects
setup-plt: Warning: get-info: info file does not contain a module of the right s
hape: "C:\Documents and Settings\grettke\Application Data\PLT Scheme\370\collect

The two files are copy and paste out of the manual, though. Here they
are, info.ss and tools.ss

; $LastChangedDate$
; $LastChangedRevision$
; $HeadURL$
(module drsyncnsave (lib "infotab.ss" "setup")
  (define name "DrSyncnsave")
  (define tools (list (list "tool.ss"))))

; $LastChangedDate$
; $LastChangedRevision$
; $HeadURL$
; $LastChangedDate$
; $LastChangedRevision$
; $HeadURL$
(module drsyncnsave mzscheme
  (require (lib "tool.ss" "drscheme")
           (lib "mred.ss" "mred")
           (lib "unitsig.ss"))

  (provide tool@)

  (define tool@
    (unit/sig drscheme:tool-exports^
      (import drscheme:tool^)
      (define (phase1)
        (message-box "tool example" "phase1"))
      (define (phase2)
        (message-box "tool example" "phase2")))))

What am I doing wrong?

Posted on the users mailing list.