section map
why the lucky stiff
why at hobix.com
Mon Sep 20 20:30:53 EDT 2004
William Morgan wrote:
> Excerpts from why the lucky stiff's mail of 20 Sep 2004 (EDT):
>
>>Now that you've dipped into the API, what's your feedback? Bliss?
>>Confusion? Anything caused a snag?
>
>
> It's been ok so far; mostly a matter of figuring the darn thing out. The
> only real problem I've been having is that debugging is difficult---the
> error messages don't actually pinpoint the source of the error. E.g., I
> get things like this:
>
> 519$ hobix regen all-thing
> [Building sidebar pages]
> ## Page: /sidebar.html, updated Mon Sep 20 19:45:32 EDT 2004
> /usr/local/stowed/hobix-0.2d/lib/site_ruby/1.8/hobix/out/quick.rb:62:in `load': Error `cannot convert Array into String' in erb /var/www/hobix/skel/sidebar.html.quick. (Hobix::Out::QuickError)
>
> which don't even reference the file, much less the line number,
> containing the mistake.
This problem might be eased if I used a temporary file to store the
compiled ERb document. Then, plugins could `load' instead of `eval'.
I'll figure something out cause this reeally bugs me too.
_why
More information about the Hobix-is-the-way
mailing list