On Monday 28 May 2001 18:05, Tom Schwaller wrote:
> after installation I found a small typo:
> /usr/lib/python2.1/site-packages/TemplateServer/ServletFa
>ctory.py", line 26,
> from Compliler import wrapTemplateCode
> should be
> from Compiler import wrapTemplateCode
Just uploaded a fixed copy. Thanks.
> Maybe one could add an Examples directory in PlateKit and
> uncomment the line
> app.addContext('TemplateExamples',
> appServer.serverSidePath('../PlateKit/Examples'))
> Uses the name PlateKit instead of TemplateServer. So
> after putting PlateKit into the Webware directory one
> would have an out of the box example. just an idea..
That's a good idea. I'll have a look at it now.
This trace indicates that an error handling bug in
AsyncT.A.S or in asyncore is obscuring the real error.
I've never seen this one before. Let me know if you track
it down. Is this also occurring on
http://localhost/wpy/TemplateExamples/communicate.py ?
Cheers,
Tavis
> AsyncThreadedAppServer (5.1-rc3) crashes with
> /usr/sbin/ab -n 100 -c 2
> http://localhost/wpy/TemplateExamples/index.py
>
> handle_error() takes exactly 4 arguments (1 given)
> Error, Exiting AppServer
> Traceback:
>
> exceptions.TypeError
> handle_error() takes exactly 4 arguments (1 given)
> File "WebKit/AsyncThreadedAppServer.py", line 405, in
> run asyncore.loop(2)
> File "/usr/lib/python2.1/asyncore.py", line 194, in
> loop poll_fun (timeout, map)
> File "/usr/lib/python2.1/asyncore.py", line 111, in
> poll obj.handle_error()
> AppServer: Shutting Down AsyncThreadedAppServer
> Shutting down the AppServer
> Application is Shutting Down
> Application has been succesfully shutdown.
> AppServer has been shutdown
> AppServer: All Services have been shutdown
> ThreadedAppServer seems to work ok..
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/webware-discuss