Discussion:
[Larceny-users] [bug] bad error form in file-modification-time
Marco Maggi
2010-09-19 05:54:45 UTC
Permalink
While trying a modified version of COMPILE-STALE-LIBRARIES,
I got this bug from checkout 6420:

Error: no handler for exception #<record &compound-condition>
Compound condition has these components:
#<record &error>
#<record &who>
who : "file-modification-time: \""
#<record &message>
message : "auxiliary-syntaxes.larceny.sls"
#<record &irritants>
irritants : ("\" does not exist.")

I think it comes from "lib/Standard/file-system.sch" line
18 or "lib/Base/io.sch" line 86.
--
Marco Maggi
w***@ccs.neu.edu
2010-09-20 16:01:45 UTC
Permalink
Post by Marco Maggi
While trying a modified version of COMPILE-STALE-LIBRARIES,
Error: no handler for exception #<record &compound-condition>
#<record &error>
#<record &who>
who : "file-modification-time: \""
#<record &message>
message : "auxiliary-syntaxes.larceny.sls"
#<record &irritants>
irritants : ("\" does not exist.")
I think it comes from "lib/Standard/file-system.sch" line
18 or "lib/Base/io.sch" line 86.
Thanks.

I'm not clear on how to interpret your report. Are you

(1) Are you just reporting a poor error message?
(2) Are you saying the file exists but isn't found?
(3) Are you saying something's wrong with compile-stale-libraries ?

Depending on the nature of the bug report, the operating system
you're using might also be relevant.

Will
Marco Maggi
2010-09-20 18:21:13 UTC
Permalink
Post by w***@ccs.neu.edu
I'm not clear on how to interpret your report.
I am saying that:

(error "file-modification-time: \"" fn "\" does not exist.")

in the places I listed should probably be:

(error (string-append "file-modification-time: \"" fn "\" does not exist."))

else that wrong error message shows when the file does not
exist.
--
Marco Maggi
Loading...