Tavis Rudd wrote:
> 
> Hi,
> it's several days after I said 'in the next day', but I've
> finally uploaded a new TemplateServer version.
> 
> http://calrudd.com/TemplateServer/


after installation I found a small typo:

/usr/lib/python2.1/site-packages/TemplateServer/ServletFactory.py", line
26, 
from Compliler import wrapTemplateCode

should be 
from Compiler import wrapTemplateCode

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..

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..

-- 

Tom Schwaller
[EMAIL PROTECTED]
http://www.python.de

_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to