I am afraid I have one of those horrible intermittent problems. The system used to work fine, and then this problem arose when it was moved from one node to another. I have rebooted and the system remained. I tried your two tests and it passed both. I rebooted, and the problem has disappeared. I hate not getting to the bottom of problems even when they appear to go away.
Thanks again for your help Niphlod. Clearly it could well be an envelope issue. I had hoped that by explicitly using 'python2.6' the same python would always be used. Peter -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.