[Lispweb] imho examples (solved)
electro at 1939worldsfair.com
Tue May 20 22:21:30 CDT 2003
Chris Baker <electro at 1939worldsfair.com> writes:
> First, let me apologize in advance if this is not an appropriate forum
> for this.
> I'm trying to get up to speed using IMHO. I've tried both running the
> latest debian package (1.3.0) and running the latest CVS. I'm able to
> run testapp1, so it works in theory, but not most of the other
> examples. For example, if I run echo-app, I get
> #<IMHO::ECHO-APP (4841EA25)>: An error occured during processing:
> Type-error in KERNEL::OBJECT-NOT-TYPE-ERROR-HANDLER: NIL is not of type VECTOR
> More generally, how does one go about debugging problems like this?
> Is there a way to get a backtrace? I've tried setting
> *debug-on-errors* to t, but that doesn't seem to help. It looks like
> the stuff in test-harness.lisp might be apropos, but I can't figure
> out how to use it.
Just wanted to let everyone know that got all this resolved. For
testapp2 and introspect, I didn't have template-root set correctly.
For testapp3, it didn't recognize static-string, so I changed it to
text-area, and it worked fine. For echo-app, area in class echoer was
getting initialized to nil, so I changed
(write-string area stream)
(write-string area stream))
in the render-html method, and everything was fine.
Thanks to all who replied,
20:02:59 up 43 days, 4:56, 2 users, load average: 0.09, 0.06, 0.02
More information about the lispweb