[plt-scheme] 301.16 Planet Command Line Problem
The problem seems to be in the pack.ss file in the setup collection. In the
pack-plt procedure, the call to simplify-path returns #f for (simplify-path
"." #f) which is in turn passed into mztar where the file-exists? test
errors (since #f is not a path or a string). I'm not sure if this is a new
behavior or not.
In any case, it seems that wrapping the mztar call like this:
(let ((simplified-path (simplify-path path #f)))
(if simplified-path
(mztar (simplify-path path #f) fileout filter
file-mode)))
Fixes the problem, but that might not be the 'correct' fix.
Doug
_____
From: plt-scheme-bounces at list.cs.brown.edu
[mailto:plt-scheme-bounces at list.cs.brown.edu] On Behalf Of Williams, M.
Douglas
Sent: Thursday, May 25, 2006 12:58 PM
To: plt-scheme at list.cs.brown.edu
Subject: [plt-scheme] 301.16 Planet Command Line Problem
With 301.16 when I try to create a planet collection from the command line
with 'planet -c <dir>', I get the following error:
file-exists?: expects argument of type <path or string>; given #f
A .plt with 0 bytes is created.
Doug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20060525/2807b1d3/attachment.html>