After researching this I found some bugs in the signal handler in the server 
script. Here's a fix:
handler_vars = (
    tools.config,
    locals().get("tinySocket"),
    locals().get("httpd"),
    locals().get("netsvc"),
    sys,
)
def handler(signum, frame, vars=handler_vars):
    config, tinySocket, httpd, netsvc, sys = vars
    if config['netrpc']:
        tinySocket.stop()
    if config['xmlrpc']:
        httpd.stop()
    netsvc.Agent.quit()
    if config['pidfile']:
        os.unlink(config['pidfile'])
    sys.exit(0)
Replace the 'handler' function near line 242 in tinyerp-server.py with this 
code. HTH

~ Daniel





_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman/listinfo/tinyerp-users

Reply via email to