[plt-scheme] Re: Error when installing package : "unexpected value rendered"

From: Noel Welsh (noelwelsh at gmail.com)
Date: Tue Oct 27 12:10:26 EDT 2009

On Mon, Oct 26, 2009 at 3:19 PM, Laurent <laurent.orseau at gmail.com> wrote:
>
> On Sun, Oct 25, 2009 at 15:35, Laurent <laurent.orseau at gmail.com> wrote:
>>
>> Hi all,
>>
>> During the process of installing my package (either from PLaneT or from
>> local source), I get a strange error and I don't know what to do about it:
>>
>> unexpected value rendered: ~e ((font ((class "badlink")) (span ((class
>> "indexlink")) (span ((class "ScmPn")) "(") (span ((class "ScmSym")) (span
>> ((class "ScmStxLink")) "planet")) (span ((class "stt")) " ") (span ((class
>> "ScmSym")) "orseau/lazy-doc:1:2") (span ((class "ScmPn")) ")"))))
>>

These errors are caused by module paths in your docs. I don't know
what is wrong with them, but that might help you fix the problem.  I
also suggest you fix the errors below in your local install, to make
debugging a bit easier.

There are (I think) two bugs in PLT. First is in

scribblings/main/private/make-search.ss

Line 127

[else (error "unexpected value rendered: ~e" e)]

should not have the ~e (or should call format).


The other is in

scribble/html-render.ss

Line 998

I think it should read

`(a (font ([class "badlink"])

Near this line, change the when statement from (when #f to (when #t to
get somewhat more useful debugging info.

HTH,
N.


Posted on the users mailing list.