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

From: Laurent (laurent.orseau at gmail.com)
Date: Tue Oct 27 15:03:02 EDT 2009

EUREKA!

After hours of struggling, I finally found that my mistake was that my scrbl
headers looked like :
@(defmodule/this-package package)
@title[#:tag "package"]{Package Utilities}

whereas they should (must!) look like:
@title[#:tag "package"]{Package Utilities}
@(defmodule/this-package package)

It seems the installer does not like defmodule/this-package after the title.
Because of the tag?

The package has been updated and uploaded and is now fully functional.
Probably.

Thanks for the help,
Hope this package will save some time to some of you now,
Laurent


On Tue, Oct 27, 2009 at 17:10, Noel Welsh <noelwelsh at gmail.com> wrote:

> 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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20091027/37415db3/attachment.html>

Posted on the users mailing list.