[Openmcl-devel] Probe-file returns a file, load fails!
Gary King
gwking at cs.umass.edu
Sun Jan 11 09:18:36 PST 2004
I'm trying to load a file specified by a logical pathname. Probe-file
returns an existing physical pathname:
> 1 > (probe-file #4P"eksl-utils:source;load-preferences.lisp")
> #P"/Volumes/Users/gwking/CVS/CVS/utils/dev/load-preferences.lisp"
But when I try to load the file, I get an error:
> 1 > (load #4P"eksl-utils:source;load-preferences.lisp")
> > Error: File #4P"eksl-utils:source;load-preferences.lisp" does not
> exist.
> > While executing: "Unknown"
> > Type :POP to abort.
> Type :? for other options.
The translations are as follow:
> 2 > (logical-pathname-translations "eksl-utils")
> ((#4P"EKSL-UTILS:eksl;**;*.*.*" #P"utils/dev/**/")
> (#4P"EKSL-UTILS:source;**;*.*.*" #P"utils/dev/**/")
> (#4P"EKSL-UTILS:binary;**;*.*.*" #P"utils/dev/bin-ppc-openmcl/**/")
> (#4P"EKSL-UTILS:ktibinary;**;*.*.*"
> #P"utils/dev/bin-ppc-openmcl-mac-KTI/**/")
> (#4P"EKSL-UTILS:appearance;**;*.*.*" #P"utils/dev/Appearance
> Manager/**/") (#4P"EKSL-UTILS:contrib;**;*.*.*"
> #P"utils/dev/contrib/**/") (#4P"EKSL-UTILS:lift;**;*.*.*"
> #P"LIFT/DEV/**/") (#4P"EKSL-UTILS:**;*.*.*" #P"utils/dev/**/"))
I doesn't seem to be a case problem (and shouldn't be anyways, AFAIK):
> 2 > (load "EKSL-UTILS:source;load-preferences.lisp")
> > Error: File "EKSL-UTILS:source;load-preferences.lisp" does not exist.
> > While executing: "Unknown"
> > Type :POP to abort.
> Type :? for other options.
What I have done wrong!
Thanks,
--
Gary Warren King, Lab Manager
EKSL East, University of Massachusetts * 413 577 0176
Many that live deserve death. And some die that deserve life. Can you
give that to them? Then be not too eager to deal out death in the name
of justice, fearing for your own safety. Even the wise cannot see all
ends.
-- Gandalf, the Two Towers
More information about the Openmcl-devel
mailing list