[hunchentoot-devel] create-folder-dispatcher-and-handler and pathname-name & pathname-type

Edi Weitz edi at agharta.de
Mon Nov 9 21:21:36 UTC 2009


What OS are you on?  I just checked and this seems to work as expected
on my machine with LWW and LWL.

Also, how exactly did you specify/generate the value for base-path?

Cheers,
Edi.

On Mon, Nov 9, 2009 at 3:48 PM, Frode V. Fjeld <frode at netfonds.no> wrote:
> Hi, I'm rather new to both hunchentoot and lispworks, so please bear
> with me.
>
> It seems to me that the function create-folder-dispatcher-and-handler
> uses the test (or (pathname-name base-path) (pathname-type base-path))
> to see if base-path is indeed a directory. This fails on my system
> because both pathname accessors return :UNSPECIFIC, where base-path
> indeed names a directory.
>
> TBNL> (values (lisp-implementation-type) (lisp-implementation-version))
> "LispWorks"
> "5.1.2"
>
> Funny thing is, when I do e.g. (pathname-name #p"/foo/bar") at the REPL,
> NIL is returned, where #p"/foo/bar" is cut'n'pasted from the error I get
> from hunchentoot. I had to modify the hunchentoot code to print the
> results from pathname-name to see that :UNSPECIFIC was returned.
>
> --
> Frode V. Fjeld
>
>
> _______________________________________________
> tbnl-devel site list
> tbnl-devel at common-lisp.net
> http://common-lisp.net/mailman/listinfo/tbnl-devel
>
>




More information about the Tbnl-devel mailing list