[Seaside] Re: tutorial bug report

C. David Shaffer cdshaffer at acm.org
Tue Oct 19 15:35:41 CEST 2004


C. David Shaffer wrote:

> You need to load the KomHttpServer package from SqueakMap.  Also, 
> you'll have to fix WAKom b/c it has a bogus value for its service i-var:


Oops, sorry, I see that you already did that part.  So, all you have to 
do it fix WAKom as described below.  Sorry for not reading your e-mail 
completely ;-)

>
> WAKom inspect   (find the service i-var and change it to nil...)
>
> Now, re-try WAKom startOn: 9090 and all should be well.
>
>
> Basically, what happened was when you evaluated WAKom class>>startOn: 
> it sent createService.  If you look at that method it tries to find a 
> HttpServer of some sort.  In your case it failed and the method 
> defaulted to returning self (the WAKom class) which got stored in the 
> service i-var.  A quick fix would be to add (self error: 'No server 
> found') to the end of WAKom class>>createService.
>
> Hope this helps.
>
> David
>
>
>
>


-- 
C. David Shaffer
http://www.cs.westminster.edu/~shaffer
http://www.shaffer-consulting.com



More information about the Seaside mailing list