--> -->
 
 
RuntimeError
Python 2.4.3: /usr/bin/python
Fri Feb 3 23:08:06 2012

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /home/httpd/www.tummy.com/python-lib/jotweb2/jotweb_mod_python.py in handler(req=<mp_request object>, context={'default': <object object>, 'entrystamp': 'jafo_20091209_035743', 'jotweb': {'http': {'req': <mp_request object>, 'request': <mp_request object>, 'response': {'cacheseconds': {}, 'content_type': 'text/html', 'pagebuffer': None, 'status': 200, 'statuscodes': {'HTTP_ACCEPTED': 202, 'HTTP_BAD_GATEWAY': 502, 'HTTP_BAD_REQUEST': 400, 'HTTP_CONFLICT': 409, 'HTTP_CONTINUE': 100, 'HTTP_CREATED': 201, 'HTTP_EXPECTATION_FAILED': 417, 'HTTP_FAILED_DEPENDENCY': 424, 'HTTP_FORBIDDEN': 403, 'HTTP_GATEWAY_TIME_OUT': 504, ...}, 'uri_only_cacheseconds': {}}}, 'persistent': {'jotweb': {'cleanup': [], 'requests_handled': 0}}}, 'loop': {}, 'nothing': None, 'repeat': {}, 'sitecode': <module 'sitecode' from '/home/httpd/www.tummy.com/html/../code/sitecode.py'>, 'templates': {'contactform': {'form': [('version', '1.5'), ('mode', 'html'), ('setPosition', (1, 0)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/contactform.html'), ('startTag', ('div', [...])), ('rawtextBeginScope', ('\n ', 3, (...), 0, {...})), ('startTag', ('form', [...])), ('rawtextBeginScope', ('\n <table width="100%">\n <tr><th align="le...area name="QuestionOrComment" rows="6" cols="60">', 63, (...), 0, {...})), ('insertText', (<PathExpr standard:'form/QuestionOrComment'>, [...])), ('rawtextBeginScope', ('</textarea>\n </td></tr>\n\n <tr><th alig...r><td>\n <h3>Services</h3>\n ', 12, (...), 1, {...})), ('startTag', ('input', [...])), ('rawtextBeginScope', ('Postfix<br />\n ', 12, (...), 1, {...})), ('startTag', ('input', [...])), ('rawtextBeginScope', ('Python<br />\n ', 12, (...), 1, {...})), ('startTag', ('input', [...])), ('rawtextBeginScope', ('System Administration<br />\n </td>\n\n ..."top">\n <h3>Products</h3>\n ', 12, (...), 1, {...})), ('startTag', ('input', [...])), ('rawtextBeginScope', ('Managed Hosting<br />\n </td>\n\n <...>\n <h3>Service Packs</h3>\n ', 12, (...), 1, {...})), ('startTag', ('input', [...])), ('rawtextBeginScope', ('Virtual SysAdmin<br />\n </td></tr></tabl... <td><b>Name *</b></td>\n <td>', 19, (...), 1, {...})), ...], 'formwrapper': [('version', '1.5'), ('mode', 'html'), ('setPosition', (113, 0)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/contactform.html'), ('startTag', ('div', [...])), ('rawtextBeginScope', ('\n\n ', 3, (...), 0, {...})), ('setLocal', ('form', <PathExpr standard:'sitecode/contact/postform'>)), ('startTag', ('div', [...])), ('rawtextBeginScope', ('\n <!-- figure out the form mode -->\n ', 6, (...), 0, {...})), ('setGlobal', ('formcomplete', <PythonExpr True>)), ('optTag', ('span', '', None, 1, [...], [])), ('rawtextBeginScope', ('\n ', 6, (...), 1, {...})), ('condition', (<PathExpr standard:'form/geterrors|not:form/submit'>, [...])), ('rawtextBeginScope', ('\n\n <!-- display form -->\n ', 6, (...), 1, {...})), ('condition', (<NotExpr 'formcomplete'>, [...])), ('rawtextBeginScope', ('\n\n <!-- process form -->\n ', 6, (...), 1, {...})), ('condition', (<PathExpr standard:'formcomplete'>, [...])), ('endScope', ()), ('endScope', ()), ('rawtextColumn', ('\n\n </div>\n</div>', 6))]}, 'main': {'data': [('version', '1.5'), ('mode', 'html'), ('setPosition', (1, 0)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/main.html'), ('beginScope', {'metal:define-macro': 'data', 'tal:omit-tag': ''}), ('optTag', ('div', '', None, 0, [...], [...])), ('endScope', ())]}, 'orderform': {'esignature': [('version', '1.5'), ('mode', 'html'), ('setPosition', (179, 0)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/orderform.html'), ('startTag', ('div', [...])), ('rawtextBeginScope', ('\n <table><tr><td>\n <p />Customer represents ...en the form is loaded\n @@@\n\n <p />Signature: ', 19, (...), 0, {...})), ('startEndTag', ('input', [...])), ('endScope', ()), ('rawtextColumn', ('\n <p /><b>Entering name is equivalent to a han...ritten\n signature.\n </td></tr></table>\n</div>', 6))], 'form': [('version', '1.5'), ('mode', 'html'), ('setPosition', (1, 0)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/orderform.html'), ('startTag', ('div', [...])), ('rawtextBeginScope', ('\n ', 3, (...), 0, {...})), ('startTag', ('form', [...])), ('rawtextColumn', ('\n <table width="100%">\n <tr><th align="le... <!-- start of Products section -->\n ', 9)), ('setPosition', (9, 9)), ('defineSlot', ('products', [...])), ('setPosition', (9, 63)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/orderform.html'), ('rawtextBeginScope', ('\n <!-- end of Products section -->\n ...Required field">*</acronym></td>\n <td>', 16, (...), 0, {...})), ('startTag', ('input', [...])), ('rawtextBeginScope', ('</td>\n </tr>\n <tr>\n <td>Organization</td>\n <td>', 16, (...), 1, {...})), ('startTag', ('input', [...])), ('rawtextBeginScope', ('</td>\n </tr>\n <tr>\n <... <td><textarea name="Address" rows="4" cols="30">', 60, (...), 1, {...})), ('insertText', (<PathExpr standard:'form/Address'>, [...])), ('rawtextBeginScope', ('</textarea></td>\n </tr>\n <tr>\n ...><textarea name="ShipAddress" rows="4" cols="30">', 64, (...), 1, {...})), ('insertText', (<PathExpr standard:'form/ShipAddress'>, [...])), ...], 'formwrapper': [('version', '1.5'), ('mode', 'html'), ('setPosition', (139, 0)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/orderform.html'), ('startTag', ('div', [...])), ('rawtextBeginScope', ('\n\n ', 3, (...), 0, {...})), ('setLocal', ('form', <PathExpr standard:'sitecode/ordering/postform'>)), ('startTag', ('div', [...])), ('rawtextBeginScope', ('\n <!-- figure out the form mode -->\n ', 6, (...), 0, {...})), ('setGlobal', ('formcomplete', <PythonExpr True>)), ('optTag', ('span', '', None, 1, [...], [])), ('rawtextBeginScope', ('\n ', 6, (...), 1, {...})), ('condition', (<PathExpr standard:'form/geterrors|not:form/submit'>, [...])), ('rawtextBeginScope', ('\n\n <!-- display form -->\n ', 6, (...), 1, {...})), ('condition', (<NotExpr 'formcomplete'>, [...])), ('rawtextBeginScope', ('\n\n <!-- process form -->\n ', 6, (...), 1, {...})), ('condition', (<PathExpr standard:'formcomplete'>, [...])), ('endScope', ()), ('endScope', ()), ('rawtextColumn', ('\n\n </div>\n</div>', 6))]}, 'vpmcontact': {'form': [('version', '1.5'), ('mode', 'html'), ('setPosition', (1, 0)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/vpmcontact.html'), ('startTag', ('div', [...])), ('rawtextBeginScope', ('\n ', 3, (...), 0, {...})), ('startTag', ('form', [...])), ('rawtextBeginScope', ('\n <table width="100%">\n <tr>\n\n <center>...tion, please let us know:\n\t\t\t\t<p />\n\n ', 12, (...), 0, {...})), ('startEndTag', ('input', [...])), ('rawtextBeginScope', ('Red Hat Advanced Server<br />\n ', 12, (...), 1, {...})), ('startEndTag', ('input', [...])), ('rawtextBeginScope', ('Fedora Core 2<br />\n ', 12, (...), 1, {...})), ('startEndTag', ('input', [...])), ('rawtextBeginScope', ('Fedora Core 1<br />\n ', 12, (...), 1, {...})), ('startEndTag', ('input', [...])), ('rawtextBeginScope', ('CentOS/CentOS Server 3.4<br />\n ', 12, (...), 1, {...})), ('startEndTag', ('input', [...])), ('rawtextBeginScope', ('Debian Woody<br />\n ', 12, (...), 1, {...})), ('startEndTag', ('input', [...])), ('rawtextBeginScope', ('Debian Sarge<br />\n ', 12, (...), 1, {...})), ...], 'formwrapper': [('version', '1.5'), ('mode', 'html'), ('setPosition', (90, 0)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/vpmcontact.html'), ('startTag', ('div', [...])), ('rawtextBeginScope', ('\n\n ', 3, (...), 0, {...})), ('setLocal', ('form', <PathExpr standard:'sitecode/contact/vpmpostform'>)), ('startTag', ('div', [...])), ('rawtextBeginScope', ('\n <!-- figure out the form mode -->\n ', 6, (...), 0, {...})), ('setGlobal', ('formcomplete', <PythonExpr True>)), ('optTag', ('span', '', None, 1, [...], [])), ('rawtextBeginScope', ('\n ', 6, (...), 1, {...})), ('condition', (<PathExpr standard:'form/geterrors|not:form/submit'>, [...])), ('rawtextBeginScope', ('\n\n <!-- display form -->\n ', 6, (...), 1, {...})), ('condition', (<NotExpr 'formcomplete'>, [...])), ('rawtextBeginScope', ('\n\n <!-- process form -->\n ', 6, (...), 1, {...})), ('condition', (<PathExpr standard:'formcomplete'>, [...])), ('endScope', ()), ('endScope', ()), ('rawtextColumn', ('\n\n </div>\n</div>', 6))]}}})
  185 
  186         try:
  187                 return(handler_main(req, context))
  188         except:
  189                 #  mail tracebacks to the specified address
global handler_main = <function handler_main>, req = <mp_request object>, context = {'default': <object object>, 'entrystamp': 'jafo_20091209_035743', 'jotweb': {'http': {'req': <mp_request object>, 'request': <mp_request object>, 'response': {'cacheseconds': {}, 'content_type': 'text/html', 'pagebuffer': None, 'status': 200, 'statuscodes': {'HTTP_ACCEPTED': 202, 'HTTP_BAD_GATEWAY': 502, 'HTTP_BAD_REQUEST': 400, 'HTTP_CONFLICT': 409, 'HTTP_CONTINUE': 100, 'HTTP_CREATED': 201, 'HTTP_EXPECTATION_FAILED': 417, 'HTTP_FAILED_DEPENDENCY': 424, 'HTTP_FORBIDDEN': 403, 'HTTP_GATEWAY_TIME_OUT': 504, ...}, 'uri_only_cacheseconds': {}}}, 'persistent': {'jotweb': {'cleanup': [], 'requests_handled': 0}}}, 'loop': {}, 'nothing': None, 'repeat': {}, 'sitecode': <module 'sitecode' from '/home/httpd/www.tummy.com/html/../code/sitecode.py'>, 'templates': {'contactform': {'form': [('version', '1.5'), ('mode', 'html'), ('setPosition', (1, 0)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/contactform.html'), ('startTag', ('div', [...])), ('rawtextBeginScope', ('\n ', 3, (...), 0, {...})), ('startTag', ('form', [...])), ('rawtextBeginScope', ('\n <table width="100%">\n <tr><th align="le...area name="QuestionOrComment" rows="6" cols="60">', 63, (...), 0, {...})), ('insertText', (<PathExpr standard:'form/QuestionOrComment'>, [...])), ('rawtextBeginScope', ('</textarea>\n </td></tr>\n\n <tr><th alig...r><td>\n <h3>Services</h3>\n ', 12, (...), 1, {...})), ('startTag', ('input', [...])), ('rawtextBeginScope', ('Postfix<br />\n ', 12, (...), 1, {...})), ('startTag', ('input', [...])), ('rawtextBeginScope', ('Python<br />\n ', 12, (...), 1, {...})), ('startTag', ('input', [...])), ('rawtextBeginScope', ('System Administration<br />\n </td>\n\n ..."top">\n <h3>Products</h3>\n ', 12, (...), 1, {...})), ('startTag', ('input', [...])), ('rawtextBeginScope', ('Managed Hosting<br />\n </td>\n\n <...>\n <h3>Service Packs</h3>\n ', 12, (...), 1, {...})), ('startTag', ('input', [...])), ('rawtextBeginScope', ('Virtual SysAdmin<br />\n </td></tr></tabl... <td><b>Name *</b></td>\n <td>', 19, (...), 1, {...})), ...], 'formwrapper': [('version', '1.5'), ('mode', 'html'), ('setPosition', (113, 0)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/contactform.html'), ('startTag', ('div', [...])), ('rawtextBeginScope', ('\n\n ', 3, (...), 0, {...})), ('setLocal', ('form', <PathExpr standard:'sitecode/contact/postform'>)), ('startTag', ('div', [...])), ('rawtextBeginScope', ('\n <!-- figure out the form mode -->\n ', 6, (...), 0, {...})), ('setGlobal', ('formcomplete', <PythonExpr True>)), ('optTag', ('span', '', None, 1, [...], [])), ('rawtextBeginScope', ('\n ', 6, (...), 1, {...})), ('condition', (<PathExpr standard:'form/geterrors|not:form/submit'>, [...])), ('rawtextBeginScope', ('\n\n <!-- display form -->\n ', 6, (...), 1, {...})), ('condition', (<NotExpr 'formcomplete'>, [...])), ('rawtextBeginScope', ('\n\n <!-- process form -->\n ', 6, (...), 1, {...})), ('condition', (<PathExpr standard:'formcomplete'>, [...])), ('endScope', ()), ('endScope', ()), ('rawtextColumn', ('\n\n </div>\n</div>', 6))]}, 'main': {'data': [('version', '1.5'), ('mode', 'html'), ('setPosition', (1, 0)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/main.html'), ('beginScope', {'metal:define-macro': 'data', 'tal:omit-tag': ''}), ('optTag', ('div', '', None, 0, [...], [...])), ('endScope', ())]}, 'orderform': {'esignature': [('version', '1.5'), ('mode', 'html'), ('setPosition', (179, 0)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/orderform.html'), ('startTag', ('div', [...])), ('rawtextBeginScope', ('\n <table><tr><td>\n <p />Customer represents ...en the form is loaded\n @@@\n\n <p />Signature: ', 19, (...), 0, {...})), ('startEndTag', ('input', [...])), ('endScope', ()), ('rawtextColumn', ('\n <p /><b>Entering name is equivalent to a han...ritten\n signature.\n </td></tr></table>\n</div>', 6))], 'form': [('version', '1.5'), ('mode', 'html'), ('setPosition', (1, 0)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/orderform.html'), ('startTag', ('div', [...])), ('rawtextBeginScope', ('\n ', 3, (...), 0, {...})), ('startTag', ('form', [...])), ('rawtextColumn', ('\n <table width="100%">\n <tr><th align="le... <!-- start of Products section -->\n ', 9)), ('setPosition', (9, 9)), ('defineSlot', ('products', [...])), ('setPosition', (9, 63)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/orderform.html'), ('rawtextBeginScope', ('\n <!-- end of Products section -->\n ...Required field">*</acronym></td>\n <td>', 16, (...), 0, {...})), ('startTag', ('input', [...])), ('rawtextBeginScope', ('</td>\n </tr>\n <tr>\n <td>Organization</td>\n <td>', 16, (...), 1, {...})), ('startTag', ('input', [...])), ('rawtextBeginScope', ('</td>\n </tr>\n <tr>\n <... <td><textarea name="Address" rows="4" cols="30">', 60, (...), 1, {...})), ('insertText', (<PathExpr standard:'form/Address'>, [...])), ('rawtextBeginScope', ('</textarea></td>\n </tr>\n <tr>\n ...><textarea name="ShipAddress" rows="4" cols="30">', 64, (...), 1, {...})), ('insertText', (<PathExpr standard:'form/ShipAddress'>, [...])), ...], 'formwrapper': [('version', '1.5'), ('mode', 'html'), ('setPosition', (139, 0)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/orderform.html'), ('startTag', ('div', [...])), ('rawtextBeginScope', ('\n\n ', 3, (...), 0, {...})), ('setLocal', ('form', <PathExpr standard:'sitecode/ordering/postform'>)), ('startTag', ('div', [...])), ('rawtextBeginScope', ('\n <!-- figure out the form mode -->\n ', 6, (...), 0, {...})), ('setGlobal', ('formcomplete', <PythonExpr True>)), ('optTag', ('span', '', None, 1, [...], [])), ('rawtextBeginScope', ('\n ', 6, (...), 1, {...})), ('condition', (<PathExpr standard:'form/geterrors|not:form/submit'>, [...])), ('rawtextBeginScope', ('\n\n <!-- display form -->\n ', 6, (...), 1, {...})), ('condition', (<NotExpr 'formcomplete'>, [...])), ('rawtextBeginScope', ('\n\n <!-- process form -->\n ', 6, (...), 1, {...})), ('condition', (<PathExpr standard:'formcomplete'>, [...])), ('endScope', ()), ('endScope', ()), ('rawtextColumn', ('\n\n </div>\n</div>', 6))]}, 'vpmcontact': {'form': [('version', '1.5'), ('mode', 'html'), ('setPosition', (1, 0)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/vpmcontact.html'), ('startTag', ('div', [...])), ('rawtextBeginScope', ('\n ', 3, (...), 0, {...})), ('startTag', ('form', [...])), ('rawtextBeginScope', ('\n <table width="100%">\n <tr>\n\n <center>...tion, please let us know:\n\t\t\t\t<p />\n\n ', 12, (...), 0, {...})), ('startEndTag', ('input', [...])), ('rawtextBeginScope', ('Red Hat Advanced Server<br />\n ', 12, (...), 1, {...})), ('startEndTag', ('input', [...])), ('rawtextBeginScope', ('Fedora Core 2<br />\n ', 12, (...), 1, {...})), ('startEndTag', ('input', [...])), ('rawtextBeginScope', ('Fedora Core 1<br />\n ', 12, (...), 1, {...})), ('startEndTag', ('input', [...])), ('rawtextBeginScope', ('CentOS/CentOS Server 3.4<br />\n ', 12, (...), 1, {...})), ('startEndTag', ('input', [...])), ('rawtextBeginScope', ('Debian Woody<br />\n ', 12, (...), 1, {...})), ('startEndTag', ('input', [...])), ('rawtextBeginScope', ('Debian Sarge<br />\n ', 12, (...), 1, {...})), ...], 'formwrapper': [('version', '1.5'), ('mode', 'html'), ('setPosition', (90, 0)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/vpmcontact.html'), ('startTag', ('div', [...])), ('rawtextBeginScope', ('\n\n ', 3, (...), 0, {...})), ('setLocal', ('form', <PathExpr standard:'sitecode/contact/vpmpostform'>)), ('startTag', ('div', [...])), ('rawtextBeginScope', ('\n <!-- figure out the form mode -->\n ', 6, (...), 0, {...})), ('setGlobal', ('formcomplete', <PythonExpr True>)), ('optTag', ('span', '', None, 1, [...], [])), ('rawtextBeginScope', ('\n ', 6, (...), 1, {...})), ('condition', (<PathExpr standard:'form/geterrors|not:form/submit'>, [...])), ('rawtextBeginScope', ('\n\n <!-- display form -->\n ', 6, (...), 1, {...})), ('condition', (<NotExpr 'formcomplete'>, [...])), ('rawtextBeginScope', ('\n\n <!-- process form -->\n ', 6, (...), 1, {...})), ('condition', (<PathExpr standard:'formcomplete'>, [...])), ('endScope', ()), ('endScope', ()), ('rawtextColumn', ('\n\n </div>\n</div>', 6))]}}}
 /home/httpd/www.tummy.com/python-lib/jotweb2/jotweb_mod_python.py in handler_main(req=<mp_request object>, context={'default': <object object>, 'entrystamp': 'jafo_20091209_035743', 'jotweb': {'http': {'req': <mp_request object>, 'request': <mp_request object>, 'response': {'cacheseconds': {}, 'content_type': 'text/html', 'pagebuffer': None, 'status': 200, 'statuscodes': {'HTTP_ACCEPTED': 202, 'HTTP_BAD_GATEWAY': 502, 'HTTP_BAD_REQUEST': 400, 'HTTP_CONFLICT': 409, 'HTTP_CONTINUE': 100, 'HTTP_CREATED': 201, 'HTTP_EXPECTATION_FAILED': 417, 'HTTP_FAILED_DEPENDENCY': 424, 'HTTP_FORBIDDEN': 403, 'HTTP_GATEWAY_TIME_OUT': 504, ...}, 'uri_only_cacheseconds': {}}}, 'persistent': {'jotweb': {'cleanup': [], 'requests_handled': 0}}}, 'loop': {}, 'nothing': None, 'repeat': {}, 'sitecode': <module 'sitecode' from '/home/httpd/www.tummy.com/html/../code/sitecode.py'>, 'templates': {'contactform': {'form': [('version', '1.5'), ('mode', 'html'), ('setPosition', (1, 0)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/contactform.html'), ('startTag', ('div', [...])), ('rawtextBeginScope', ('\n ', 3, (...), 0, {...})), ('startTag', ('form', [...])), ('rawtextBeginScope', ('\n <table width="100%">\n <tr><th align="le...area name="QuestionOrComment" rows="6" cols="60">', 63, (...), 0, {...})), ('insertText', (<PathExpr standard:'form/QuestionOrComment'>, [...])), ('rawtextBeginScope', ('</textarea>\n </td></tr>\n\n <tr><th alig...r><td>\n <h3>Services</h3>\n ', 12, (...), 1, {...})), ('startTag', ('input', [...])), ('rawtextBeginScope', ('Postfix<br />\n ', 12, (...), 1, {...})), ('startTag', ('input', [...])), ('rawtextBeginScope', ('Python<br />\n ', 12, (...), 1, {...})), ('startTag', ('input', [...])), ('rawtextBeginScope', ('System Administration<br />\n </td>\n\n ..."top">\n <h3>Products</h3>\n ', 12, (...), 1, {...})), ('startTag', ('input', [...])), ('rawtextBeginScope', ('Managed Hosting<br />\n </td>\n\n <...>\n <h3>Service Packs</h3>\n ', 12, (...), 1, {...})), ('startTag', ('input', [...])), ('rawtextBeginScope', ('Virtual SysAdmin<br />\n </td></tr></tabl... <td><b>Name *</b></td>\n <td>', 19, (...), 1, {...})), ...], 'formwrapper': [('version', '1.5'), ('mode', 'html'), ('setPosition', (113, 0)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/contactform.html'), ('startTag', ('div', [...])), ('rawtextBeginScope', ('\n\n ', 3, (...), 0, {...})), ('setLocal', ('form', <PathExpr standard:'sitecode/contact/postform'>)), ('startTag', ('div', [...])), ('rawtextBeginScope', ('\n <!-- figure out the form mode -->\n ', 6, (...), 0, {...})), ('setGlobal', ('formcomplete', <PythonExpr True>)), ('optTag', ('span', '', None, 1, [...], [])), ('rawtextBeginScope', ('\n ', 6, (...), 1, {...})), ('condition', (<PathExpr standard:'form/geterrors|not:form/submit'>, [...])), ('rawtextBeginScope', ('\n\n <!-- display form -->\n ', 6, (...), 1, {...})), ('condition', (<NotExpr 'formcomplete'>, [...])), ('rawtextBeginScope', ('\n\n <!-- process form -->\n ', 6, (...), 1, {...})), ('condition', (<PathExpr standard:'formcomplete'>, [...])), ('endScope', ()), ('endScope', ()), ('rawtextColumn', ('\n\n </div>\n</div>', 6))]}, 'main': {'data': [('version', '1.5'), ('mode', 'html'), ('setPosition', (1, 0)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/main.html'), ('beginScope', {'metal:define-macro': 'data', 'tal:omit-tag': ''}), ('optTag', ('div', '', None, 0, [...], [...])), ('endScope', ())]}, 'orderform': {'esignature': [('version', '1.5'), ('mode', 'html'), ('setPosition', (179, 0)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/orderform.html'), ('startTag', ('div', [...])), ('rawtextBeginScope', ('\n <table><tr><td>\n <p />Customer represents ...en the form is loaded\n @@@\n\n <p />Signature: ', 19, (...), 0, {...})), ('startEndTag', ('input', [...])), ('endScope', ()), ('rawtextColumn', ('\n <p /><b>Entering name is equivalent to a han...ritten\n signature.\n </td></tr></table>\n</div>', 6))], 'form': [('version', '1.5'), ('mode', 'html'), ('setPosition', (1, 0)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/orderform.html'), ('startTag', ('div', [...])), ('rawtextBeginScope', ('\n ', 3, (...), 0, {...})), ('startTag', ('form', [...])), ('rawtextColumn', ('\n <table width="100%">\n <tr><th align="le... <!-- start of Products section -->\n ', 9)), ('setPosition', (9, 9)), ('defineSlot', ('products', [...])), ('setPosition', (9, 63)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/orderform.html'), ('rawtextBeginScope', ('\n <!-- end of Products section -->\n ...Required field">*</acronym></td>\n <td>', 16, (...), 0, {...})), ('startTag', ('input', [...])), ('rawtextBeginScope', ('</td>\n </tr>\n <tr>\n <td>Organization</td>\n <td>', 16, (...), 1, {...})), ('startTag', ('input', [...])), ('rawtextBeginScope', ('</td>\n </tr>\n <tr>\n <... <td><textarea name="Address" rows="4" cols="30">', 60, (...), 1, {...})), ('insertText', (<PathExpr standard:'form/Address'>, [...])), ('rawtextBeginScope', ('</textarea></td>\n </tr>\n <tr>\n ...><textarea name="ShipAddress" rows="4" cols="30">', 64, (...), 1, {...})), ('insertText', (<PathExpr standard:'form/ShipAddress'>, [...])), ...], 'formwrapper': [('version', '1.5'), ('mode', 'html'), ('setPosition', (139, 0)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/orderform.html'), ('startTag', ('div', [...])), ('rawtextBeginScope', ('\n\n ', 3, (...), 0, {...})), ('setLocal', ('form', <PathExpr standard:'sitecode/ordering/postform'>)), ('startTag', ('div', [...])), ('rawtextBeginScope', ('\n <!-- figure out the form mode -->\n ', 6, (...), 0, {...})), ('setGlobal', ('formcomplete', <PythonExpr True>)), ('optTag', ('span', '', None, 1, [...], [])), ('rawtextBeginScope', ('\n ', 6, (...), 1, {...})), ('condition', (<PathExpr standard:'form/geterrors|not:form/submit'>, [...])), ('rawtextBeginScope', ('\n\n <!-- display form -->\n ', 6, (...), 1, {...})), ('condition', (<NotExpr 'formcomplete'>, [...])), ('rawtextBeginScope', ('\n\n <!-- process form -->\n ', 6, (...), 1, {...})), ('condition', (<PathExpr standard:'formcomplete'>, [...])), ('endScope', ()), ('endScope', ()), ('rawtextColumn', ('\n\n </div>\n</div>', 6))]}, 'vpmcontact': {'form': [('version', '1.5'), ('mode', 'html'), ('setPosition', (1, 0)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/vpmcontact.html'), ('startTag', ('div', [...])), ('rawtextBeginScope', ('\n ', 3, (...), 0, {...})), ('startTag', ('form', [...])), ('rawtextBeginScope', ('\n <table width="100%">\n <tr>\n\n <center>...tion, please let us know:\n\t\t\t\t<p />\n\n ', 12, (...), 0, {...})), ('startEndTag', ('input', [...])), ('rawtextBeginScope', ('Red Hat Advanced Server<br />\n ', 12, (...), 1, {...})), ('startEndTag', ('input', [...])), ('rawtextBeginScope', ('Fedora Core 2<br />\n ', 12, (...), 1, {...})), ('startEndTag', ('input', [...])), ('rawtextBeginScope', ('Fedora Core 1<br />\n ', 12, (...), 1, {...})), ('startEndTag', ('input', [...])), ('rawtextBeginScope', ('CentOS/CentOS Server 3.4<br />\n ', 12, (...), 1, {...})), ('startEndTag', ('input', [...])), ('rawtextBeginScope', ('Debian Woody<br />\n ', 12, (...), 1, {...})), ('startEndTag', ('input', [...])), ('rawtextBeginScope', ('Debian Sarge<br />\n ', 12, (...), 1, {...})), ...], 'formwrapper': [('version', '1.5'), ('mode', 'html'), ('setPosition', (90, 0)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/vpmcontact.html'), ('startTag', ('div', [...])), ('rawtextBeginScope', ('\n\n ', 3, (...), 0, {...})), ('setLocal', ('form', <PathExpr standard:'sitecode/contact/vpmpostform'>)), ('startTag', ('div', [...])), ('rawtextBeginScope', ('\n <!-- figure out the form mode -->\n ', 6, (...), 0, {...})), ('setGlobal', ('formcomplete', <PythonExpr True>)), ('optTag', ('span', '', None, 1, [...], [])), ('rawtextBeginScope', ('\n ', 6, (...), 1, {...})), ('condition', (<PathExpr standard:'form/geterrors|not:form/submit'>, [...])), ('rawtextBeginScope', ('\n\n <!-- display form -->\n ', 6, (...), 1, {...})), ('condition', (<NotExpr 'formcomplete'>, [...])), ('rawtextBeginScope', ('\n\n <!-- process form -->\n ', 6, (...), 1, {...})), ('condition', (<PathExpr standard:'formcomplete'>, [...])), ('endScope', ()), ('endScope', ()), ('rawtextColumn', ('\n\n </div>\n</div>', 6))]}}})
  363                         else:
  364                                 pt = PageTemplateFile(req.filename)
  365                                 pagebuffer = pt.pt_render(context)
  366                                 response['pagebuffer'] = pagebuffer
  367                 except SystemExit:
pagebuffer = None, pt = <zope.pagetemplate.pagetemplatefile.PageTemplateFile object>, pt.pt_render = <bound method PageTemplateFile.pt_render of <zop...mplate.pagetemplatefile.PageTemplateFile object>>, context = {'default': <object object>, 'entrystamp': 'jafo_20091209_035743', 'jotweb': {'http': {'req': <mp_request object>, 'request': <mp_request object>, 'response': {'cacheseconds': {}, 'content_type': 'text/html', 'pagebuffer': None, 'status': 200, 'statuscodes': {'HTTP_ACCEPTED': 202, 'HTTP_BAD_GATEWAY': 502, 'HTTP_BAD_REQUEST': 400, 'HTTP_CONFLICT': 409, 'HTTP_CONTINUE': 100, 'HTTP_CREATED': 201, 'HTTP_EXPECTATION_FAILED': 417, 'HTTP_FAILED_DEPENDENCY': 424, 'HTTP_FORBIDDEN': 403, 'HTTP_GATEWAY_TIME_OUT': 504, ...}, 'uri_only_cacheseconds': {}}}, 'persistent': {'jotweb': {'cleanup': [], 'requests_handled': 0}}}, 'loop': {}, 'nothing': None, 'repeat': {}, 'sitecode': <module 'sitecode' from '/home/httpd/www.tummy.com/html/../code/sitecode.py'>, 'templates': {'contactform': {'form': [('version', '1.5'), ('mode', 'html'), ('setPosition', (1, 0)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/contactform.html'), ('startTag', ('div', [...])), ('rawtextBeginScope', ('\n ', 3, (...), 0, {...})), ('startTag', ('form', [...])), ('rawtextBeginScope', ('\n <table width="100%">\n <tr><th align="le...area name="QuestionOrComment" rows="6" cols="60">', 63, (...), 0, {...})), ('insertText', (<PathExpr standard:'form/QuestionOrComment'>, [...])), ('rawtextBeginScope', ('</textarea>\n </td></tr>\n\n <tr><th alig...r><td>\n <h3>Services</h3>\n ', 12, (...), 1, {...})), ('startTag', ('input', [...])), ('rawtextBeginScope', ('Postfix<br />\n ', 12, (...), 1, {...})), ('startTag', ('input', [...])), ('rawtextBeginScope', ('Python<br />\n ', 12, (...), 1, {...})), ('startTag', ('input', [...])), ('rawtextBeginScope', ('System Administration<br />\n </td>\n\n ..."top">\n <h3>Products</h3>\n ', 12, (...), 1, {...})), ('startTag', ('input', [...])), ('rawtextBeginScope', ('Managed Hosting<br />\n </td>\n\n <...>\n <h3>Service Packs</h3>\n ', 12, (...), 1, {...})), ('startTag', ('input', [...])), ('rawtextBeginScope', ('Virtual SysAdmin<br />\n </td></tr></tabl... <td><b>Name *</b></td>\n <td>', 19, (...), 1, {...})), ...], 'formwrapper': [('version', '1.5'), ('mode', 'html'), ('setPosition', (113, 0)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/contactform.html'), ('startTag', ('div', [...])), ('rawtextBeginScope', ('\n\n ', 3, (...), 0, {...})), ('setLocal', ('form', <PathExpr standard:'sitecode/contact/postform'>)), ('startTag', ('div', [...])), ('rawtextBeginScope', ('\n <!-- figure out the form mode -->\n ', 6, (...), 0, {...})), ('setGlobal', ('formcomplete', <PythonExpr True>)), ('optTag', ('span', '', None, 1, [...], [])), ('rawtextBeginScope', ('\n ', 6, (...), 1, {...})), ('condition', (<PathExpr standard:'form/geterrors|not:form/submit'>, [...])), ('rawtextBeginScope', ('\n\n <!-- display form -->\n ', 6, (...), 1, {...})), ('condition', (<NotExpr 'formcomplete'>, [...])), ('rawtextBeginScope', ('\n\n <!-- process form -->\n ', 6, (...), 1, {...})), ('condition', (<PathExpr standard:'formcomplete'>, [...])), ('endScope', ()), ('endScope', ()), ('rawtextColumn', ('\n\n </div>\n</div>', 6))]}, 'main': {'data': [('version', '1.5'), ('mode', 'html'), ('setPosition', (1, 0)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/main.html'), ('beginScope', {'metal:define-macro': 'data', 'tal:omit-tag': ''}), ('optTag', ('div', '', None, 0, [...], [...])), ('endScope', ())]}, 'orderform': {'esignature': [('version', '1.5'), ('mode', 'html'), ('setPosition', (179, 0)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/orderform.html'), ('startTag', ('div', [...])), ('rawtextBeginScope', ('\n <table><tr><td>\n <p />Customer represents ...en the form is loaded\n @@@\n\n <p />Signature: ', 19, (...), 0, {...})), ('startEndTag', ('input', [...])), ('endScope', ()), ('rawtextColumn', ('\n <p /><b>Entering name is equivalent to a han...ritten\n signature.\n </td></tr></table>\n</div>', 6))], 'form': [('version', '1.5'), ('mode', 'html'), ('setPosition', (1, 0)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/orderform.html'), ('startTag', ('div', [...])), ('rawtextBeginScope', ('\n ', 3, (...), 0, {...})), ('startTag', ('form', [...])), ('rawtextColumn', ('\n <table width="100%">\n <tr><th align="le... <!-- start of Products section -->\n ', 9)), ('setPosition', (9, 9)), ('defineSlot', ('products', [...])), ('setPosition', (9, 63)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/orderform.html'), ('rawtextBeginScope', ('\n <!-- end of Products section -->\n ...Required field">*</acronym></td>\n <td>', 16, (...), 0, {...})), ('startTag', ('input', [...])), ('rawtextBeginScope', ('</td>\n </tr>\n <tr>\n <td>Organization</td>\n <td>', 16, (...), 1, {...})), ('startTag', ('input', [...])), ('rawtextBeginScope', ('</td>\n </tr>\n <tr>\n <... <td><textarea name="Address" rows="4" cols="30">', 60, (...), 1, {...})), ('insertText', (<PathExpr standard:'form/Address'>, [...])), ('rawtextBeginScope', ('</textarea></td>\n </tr>\n <tr>\n ...><textarea name="ShipAddress" rows="4" cols="30">', 64, (...), 1, {...})), ('insertText', (<PathExpr standard:'form/ShipAddress'>, [...])), ...], 'formwrapper': [('version', '1.5'), ('mode', 'html'), ('setPosition', (139, 0)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/orderform.html'), ('startTag', ('div', [...])), ('rawtextBeginScope', ('\n\n ', 3, (...), 0, {...})), ('setLocal', ('form', <PathExpr standard:'sitecode/ordering/postform'>)), ('startTag', ('div', [...])), ('rawtextBeginScope', ('\n <!-- figure out the form mode -->\n ', 6, (...), 0, {...})), ('setGlobal', ('formcomplete', <PythonExpr True>)), ('optTag', ('span', '', None, 1, [...], [])), ('rawtextBeginScope', ('\n ', 6, (...), 1, {...})), ('condition', (<PathExpr standard:'form/geterrors|not:form/submit'>, [...])), ('rawtextBeginScope', ('\n\n <!-- display form -->\n ', 6, (...), 1, {...})), ('condition', (<NotExpr 'formcomplete'>, [...])), ('rawtextBeginScope', ('\n\n <!-- process form -->\n ', 6, (...), 1, {...})), ('condition', (<PathExpr standard:'formcomplete'>, [...])), ('endScope', ()), ('endScope', ()), ('rawtextColumn', ('\n\n </div>\n</div>', 6))]}, 'vpmcontact': {'form': [('version', '1.5'), ('mode', 'html'), ('setPosition', (1, 0)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/vpmcontact.html'), ('startTag', ('div', [...])), ('rawtextBeginScope', ('\n ', 3, (...), 0, {...})), ('startTag', ('form', [...])), ('rawtextBeginScope', ('\n <table width="100%">\n <tr>\n\n <center>...tion, please let us know:\n\t\t\t\t<p />\n\n ', 12, (...), 0, {...})), ('startEndTag', ('input', [...])), ('rawtextBeginScope', ('Red Hat Advanced Server<br />\n ', 12, (...), 1, {...})), ('startEndTag', ('input', [...])), ('rawtextBeginScope', ('Fedora Core 2<br />\n ', 12, (...), 1, {...})), ('startEndTag', ('input', [...])), ('rawtextBeginScope', ('Fedora Core 1<br />\n ', 12, (...), 1, {...})), ('startEndTag', ('input', [...])), ('rawtextBeginScope', ('CentOS/CentOS Server 3.4<br />\n ', 12, (...), 1, {...})), ('startEndTag', ('input', [...])), ('rawtextBeginScope', ('Debian Woody<br />\n ', 12, (...), 1, {...})), ('startEndTag', ('input', [...])), ('rawtextBeginScope', ('Debian Sarge<br />\n ', 12, (...), 1, {...})), ...], 'formwrapper': [('version', '1.5'), ('mode', 'html'), ('setPosition', (90, 0)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/vpmcontact.html'), ('startTag', ('div', [...])), ('rawtextBeginScope', ('\n\n ', 3, (...), 0, {...})), ('setLocal', ('form', <PathExpr standard:'sitecode/contact/vpmpostform'>)), ('startTag', ('div', [...])), ('rawtextBeginScope', ('\n <!-- figure out the form mode -->\n ', 6, (...), 0, {...})), ('setGlobal', ('formcomplete', <PythonExpr True>)), ('optTag', ('span', '', None, 1, [...], [])), ('rawtextBeginScope', ('\n ', 6, (...), 1, {...})), ('condition', (<PathExpr standard:'form/geterrors|not:form/submit'>, [...])), ('rawtextBeginScope', ('\n\n <!-- display form -->\n ', 6, (...), 1, {...})), ('condition', (<NotExpr 'formcomplete'>, [...])), ('rawtextBeginScope', ('\n\n <!-- process form -->\n ', 6, (...), 1, {...})), ('condition', (<PathExpr standard:'formcomplete'>, [...])), ('endScope', ()), ('endScope', ()), ('rawtextColumn', ('\n\n </div>\n</div>', 6))]}}}
 /home/httpd/www.tummy.com/python-lib/zope/pagetemplate/pagetemplate.py in pt_render(self=<zope.pagetemplate.pagetemplatefile.PageTemplateFile object>, namespace={'default': <object object>, 'entrystamp': 'jafo_20091209_035743', 'jotweb': {'http': {'req': <mp_request object>, 'request': <mp_request object>, 'response': {'cacheseconds': {}, 'content_type': 'text/html', 'pagebuffer': None, 'status': 200, 'statuscodes': {'HTTP_ACCEPTED': 202, 'HTTP_BAD_GATEWAY': 502, 'HTTP_BAD_REQUEST': 400, 'HTTP_CONFLICT': 409, 'HTTP_CONTINUE': 100, 'HTTP_CREATED': 201, 'HTTP_EXPECTATION_FAILED': 417, 'HTTP_FAILED_DEPENDENCY': 424, 'HTTP_FORBIDDEN': 403, 'HTTP_GATEWAY_TIME_OUT': 504, ...}, 'uri_only_cacheseconds': {}}}, 'persistent': {'jotweb': {'cleanup': [], 'requests_handled': 0}}}, 'loop': {}, 'nothing': None, 'repeat': {}, 'sitecode': <module 'sitecode' from '/home/httpd/www.tummy.com/html/../code/sitecode.py'>, 'templates': {'contactform': {'form': [('version', '1.5'), ('mode', 'html'), ('setPosition', (1, 0)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/contactform.html'), ('startTag', ('div', [...])), ('rawtextBeginScope', ('\n ', 3, (...), 0, {...})), ('startTag', ('form', [...])), ('rawtextBeginScope', ('\n <table width="100%">\n <tr><th align="le...area name="QuestionOrComment" rows="6" cols="60">', 63, (...), 0, {...})), ('insertText', (<PathExpr standard:'form/QuestionOrComment'>, [...])), ('rawtextBeginScope', ('</textarea>\n </td></tr>\n\n <tr><th alig...r><td>\n <h3>Services</h3>\n ', 12, (...), 1, {...})), ('startTag', ('input', [...])), ('rawtextBeginScope', ('Postfix<br />\n ', 12, (...), 1, {...})), ('startTag', ('input', [...])), ('rawtextBeginScope', ('Python<br />\n ', 12, (...), 1, {...})), ('startTag', ('input', [...])), ('rawtextBeginScope', ('System Administration<br />\n </td>\n\n ..."top">\n <h3>Products</h3>\n ', 12, (...), 1, {...})), ('startTag', ('input', [...])), ('rawtextBeginScope', ('Managed Hosting<br />\n </td>\n\n <...>\n <h3>Service Packs</h3>\n ', 12, (...), 1, {...})), ('startTag', ('input', [...])), ('rawtextBeginScope', ('Virtual SysAdmin<br />\n </td></tr></tabl... <td><b>Name *</b></td>\n <td>', 19, (...), 1, {...})), ...], 'formwrapper': [('version', '1.5'), ('mode', 'html'), ('setPosition', (113, 0)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/contactform.html'), ('startTag', ('div', [...])), ('rawtextBeginScope', ('\n\n ', 3, (...), 0, {...})), ('setLocal', ('form', <PathExpr standard:'sitecode/contact/postform'>)), ('startTag', ('div', [...])), ('rawtextBeginScope', ('\n <!-- figure out the form mode -->\n ', 6, (...), 0, {...})), ('setGlobal', ('formcomplete', <PythonExpr True>)), ('optTag', ('span', '', None, 1, [...], [])), ('rawtextBeginScope', ('\n ', 6, (...), 1, {...})), ('condition', (<PathExpr standard:'form/geterrors|not:form/submit'>, [...])), ('rawtextBeginScope', ('\n\n <!-- display form -->\n ', 6, (...), 1, {...})), ('condition', (<NotExpr 'formcomplete'>, [...])), ('rawtextBeginScope', ('\n\n <!-- process form -->\n ', 6, (...), 1, {...})), ('condition', (<PathExpr standard:'formcomplete'>, [...])), ('endScope', ()), ('endScope', ()), ('rawtextColumn', ('\n\n </div>\n</div>', 6))]}, 'main': {'data': [('version', '1.5'), ('mode', 'html'), ('setPosition', (1, 0)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/main.html'), ('beginScope', {'metal:define-macro': 'data', 'tal:omit-tag': ''}), ('optTag', ('div', '', None, 0, [...], [...])), ('endScope', ())]}, 'orderform': {'esignature': [('version', '1.5'), ('mode', 'html'), ('setPosition', (179, 0)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/orderform.html'), ('startTag', ('div', [...])), ('rawtextBeginScope', ('\n <table><tr><td>\n <p />Customer represents ...en the form is loaded\n @@@\n\n <p />Signature: ', 19, (...), 0, {...})), ('startEndTag', ('input', [...])), ('endScope', ()), ('rawtextColumn', ('\n <p /><b>Entering name is equivalent to a han...ritten\n signature.\n </td></tr></table>\n</div>', 6))], 'form': [('version', '1.5'), ('mode', 'html'), ('setPosition', (1, 0)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/orderform.html'), ('startTag', ('div', [...])), ('rawtextBeginScope', ('\n ', 3, (...), 0, {...})), ('startTag', ('form', [...])), ('rawtextColumn', ('\n <table width="100%">\n <tr><th align="le... <!-- start of Products section -->\n ', 9)), ('setPosition', (9, 9)), ('defineSlot', ('products', [...])), ('setPosition', (9, 63)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/orderform.html'), ('rawtextBeginScope', ('\n <!-- end of Products section -->\n ...Required field">*</acronym></td>\n <td>', 16, (...), 0, {...})), ('startTag', ('input', [...])), ('rawtextBeginScope', ('</td>\n </tr>\n <tr>\n <td>Organization</td>\n <td>', 16, (...), 1, {...})), ('startTag', ('input', [...])), ('rawtextBeginScope', ('</td>\n </tr>\n <tr>\n <... <td><textarea name="Address" rows="4" cols="30">', 60, (...), 1, {...})), ('insertText', (<PathExpr standard:'form/Address'>, [...])), ('rawtextBeginScope', ('</textarea></td>\n </tr>\n <tr>\n ...><textarea name="ShipAddress" rows="4" cols="30">', 64, (...), 1, {...})), ('insertText', (<PathExpr standard:'form/ShipAddress'>, [...])), ...], 'formwrapper': [('version', '1.5'), ('mode', 'html'), ('setPosition', (139, 0)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/orderform.html'), ('startTag', ('div', [...])), ('rawtextBeginScope', ('\n\n ', 3, (...), 0, {...})), ('setLocal', ('form', <PathExpr standard:'sitecode/ordering/postform'>)), ('startTag', ('div', [...])), ('rawtextBeginScope', ('\n <!-- figure out the form mode -->\n ', 6, (...), 0, {...})), ('setGlobal', ('formcomplete', <PythonExpr True>)), ('optTag', ('span', '', None, 1, [...], [])), ('rawtextBeginScope', ('\n ', 6, (...), 1, {...})), ('condition', (<PathExpr standard:'form/geterrors|not:form/submit'>, [...])), ('rawtextBeginScope', ('\n\n <!-- display form -->\n ', 6, (...), 1, {...})), ('condition', (<NotExpr 'formcomplete'>, [...])), ('rawtextBeginScope', ('\n\n <!-- process form -->\n ', 6, (...), 1, {...})), ('condition', (<PathExpr standard:'formcomplete'>, [...])), ('endScope', ()), ('endScope', ()), ('rawtextColumn', ('\n\n </div>\n</div>', 6))]}, 'vpmcontact': {'form': [('version', '1.5'), ('mode', 'html'), ('setPosition', (1, 0)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/vpmcontact.html'), ('startTag', ('div', [...])), ('rawtextBeginScope', ('\n ', 3, (...), 0, {...})), ('startTag', ('form', [...])), ('rawtextBeginScope', ('\n <table width="100%">\n <tr>\n\n <center>...tion, please let us know:\n\t\t\t\t<p />\n\n ', 12, (...), 0, {...})), ('startEndTag', ('input', [...])), ('rawtextBeginScope', ('Red Hat Advanced Server<br />\n ', 12, (...), 1, {...})), ('startEndTag', ('input', [...])), ('rawtextBeginScope', ('Fedora Core 2<br />\n ', 12, (...), 1, {...})), ('startEndTag', ('input', [...])), ('rawtextBeginScope', ('Fedora Core 1<br />\n ', 12, (...), 1, {...})), ('startEndTag', ('input', [...])), ('rawtextBeginScope', ('CentOS/CentOS Server 3.4<br />\n ', 12, (...), 1, {...})), ('startEndTag', ('input', [...])), ('rawtextBeginScope', ('Debian Woody<br />\n ', 12, (...), 1, {...})), ('startEndTag', ('input', [...])), ('rawtextBeginScope', ('Debian Sarge<br />\n ', 12, (...), 1, {...})), ...], 'formwrapper': [('version', '1.5'), ('mode', 'html'), ('setPosition', (90, 0)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/vpmcontact.html'), ('startTag', ('div', [...])), ('rawtextBeginScope', ('\n\n ', 3, (...), 0, {...})), ('setLocal', ('form', <PathExpr standard:'sitecode/contact/vpmpostform'>)), ('startTag', ('div', [...])), ('rawtextBeginScope', ('\n <!-- figure out the form mode -->\n ', 6, (...), 0, {...})), ('setGlobal', ('formcomplete', <PythonExpr True>)), ('optTag', ('span', '', None, 1, [...], [])), ('rawtextBeginScope', ('\n ', 6, (...), 1, {...})), ('condition', (<PathExpr standard:'form/geterrors|not:form/submit'>, [...])), ('rawtextBeginScope', ('\n\n <!-- display form -->\n ', 6, (...), 1, {...})), ('condition', (<NotExpr 'formcomplete'>, [...])), ('rawtextBeginScope', ('\n\n <!-- process form -->\n ', 6, (...), 1, {...})), ('condition', (<PathExpr standard:'formcomplete'>, [...])), ('endScope', ()), ('endScope', ()), ('rawtextColumn', ('\n\n </div>\n</div>', 6))]}}}, source=False, sourceAnnotations=False, showtal=False)
  118         TALInterpreter(self._v_program, self._v_macros,
  119                        context, output, tal=not source, showtal=showtal,
  120                        strictinsert=0, sourceAnnotations=sourceAnnotations)()
  121         return output.getvalue()
  122 
strictinsert undefined, sourceAnnotations = False
 /home/httpd/www.tummy.com/python-lib/zope/tal/talinterpreter.py in __call__(self=<zope.tal.talinterpreter.TALInterpreter object>)
  234         assert self.scopeLevel == 0
  235         assert self.i18nContext.parent is None
  236         self.interpret(self.program)
  237         assert self.level == 0
  238         assert self.scopeLevel == 0
self = <zope.tal.talinterpreter.TALInterpreter object>, self.interpret = <bound method TALInterpreter.interpret of <zope.tal.talinterpreter.TALInterpreter object>>, self.program = [('version', '1.5'), ('mode', 'html'), ('setSourceFile', '/home/httpd/www.tummy.com/html/journals/entries/virtual-entry.html'), ('setPosition', (1, 0)), ('beginScope', {'tal:omit-tag': '', 'tal:replace': 'jotweb/http/response/uri_only_cacheseconds/80000'}), ('insertText', (<PathExpr standard:'jotweb/http/response/uri_only_cacheseconds/80000'>, [('optTag', ('span', '', None, 1, [...], []))])), ('rawtextBeginScope', ('\n', 0, (2, 0), 1, {'tal:define': 'global entry sitecode/journals/getentry'})), ('setGlobal', ('entry', <PathExpr standard:'sitecode/journals/getentry'>)), ('startEndTag', ('span', [('tal:define', 'global entry sitecode/journals/getentry', 'tal')])), ('endScope', ()), ('rawtextColumn', ('\n\n', 0)), ('setPosition', (4, 0)), ('useMacro', ('templates/main/data', <PathExpr standard:'templates/main/data'>, {'body': [('setPosition', (...)), ('setSourceFile', '/home/httpd/www.tummy.com/html/journals/entries/virtual-entry.html'), ('beginScope', {...}), ('optTag', (...)), ('endScope', ())], 'extraheaders': [('setPosition', (...)), ('setSourceFile', '/home/httpd/www.tummy.com/html/journals/entries/virtual-entry.html'), ('beginScope', {...}), ('optTag', (...)), ('endScope', ())], 'title': [('setPosition', (...)), ('setSourceFile', '/home/httpd/www.tummy.com/html/journals/entries/virtual-entry.html'), ('beginScope', {...}), ('optTag', (...)), ('endScope', ())]}, [('beginScope', {'metal:use-macro': 'templates/main/data', 'tal:omit-tag': ''}), ('optTag', ('div', '', None, 0, [...], [...])), ('endScope', ())])), ('setPosition', (82, 0)), ('setSourceFile', '/home/httpd/www.tummy.com/html/journals/entries/virtual-entry.html'), ('rawtextColumn', ('\n', 0))]
 /home/httpd/www.tummy.com/python-lib/zope/tal/talinterpreter.py in interpret(self=<zope.tal.talinterpreter.TALInterpreter object>, program=[('version', '1.5'), ('mode', 'html'), ('setSourceFile', '/home/httpd/www.tummy.com/html/journals/entries/virtual-entry.html'), ('setPosition', (1, 0)), ('beginScope', {'tal:omit-tag': '', 'tal:replace': 'jotweb/http/response/uri_only_cacheseconds/80000'}), ('insertText', (<PathExpr standard:'jotweb/http/response/uri_only_cacheseconds/80000'>, [('optTag', ('span', '', None, 1, [...], []))])), ('rawtextBeginScope', ('\n', 0, (2, 0), 1, {'tal:define': 'global entry sitecode/journals/getentry'})), ('setGlobal', ('entry', <PathExpr standard:'sitecode/journals/getentry'>)), ('startEndTag', ('span', [('tal:define', 'global entry sitecode/journals/getentry', 'tal')])), ('endScope', ()), ('rawtextColumn', ('\n\n', 0)), ('setPosition', (4, 0)), ('useMacro', ('templates/main/data', <PathExpr standard:'templates/main/data'>, {'body': [('setPosition', (...)), ('setSourceFile', '/home/httpd/www.tummy.com/html/journals/entries/virtual-entry.html'), ('beginScope', {...}), ('optTag', (...)), ('endScope', ())], 'extraheaders': [('setPosition', (...)), ('setSourceFile', '/home/httpd/www.tummy.com/html/journals/entries/virtual-entry.html'), ('beginScope', {...}), ('optTag', (...)), ('endScope', ())], 'title': [('setPosition', (...)), ('setSourceFile', '/home/httpd/www.tummy.com/html/journals/entries/virtual-entry.html'), ('beginScope', {...}), ('optTag', (...)), ('endScope', ())]}, [('beginScope', {'metal:use-macro': 'templates/main/data', 'tal:omit-tag': ''}), ('optTag', ('div', '', None, 0, [...], [...])), ('endScope', ())])), ('setPosition', (82, 0)), ('setSourceFile', '/home/httpd/www.tummy.com/html/journals/entries/virtual-entry.html'), ('rawtextColumn', ('\n', 0))])
  309             else:
  310                 for (opcode, args) in program:
  311                     handlers[opcode](self, args)
  312         finally:
  313             self.level = oldlevel
handlers = {'<attrAction>': <function attrAction_tal>, 'beginI18nContext': <function do_beginI18nContext>, 'beginScope': <function do_beginScope_tal>, 'condition': <function do_condition>, 'defineMacro': <function do_defineMacro>, 'defineSlot': <function do_defineSlot>, 'endI18nContext': <function do_endI18nContext>, 'endScope': <function do_endScope>, 'evaluateCode': <function do_evaluateCode>, 'fillSlot': <function do_fillSlot>, ...}, opcode = 'useMacro', self = <zope.tal.talinterpreter.TALInterpreter object>, args = ('templates/main/data', <PathExpr standard:'templates/main/data'>, {'body': [('setPosition', (10, 3)), ('setSourceFile', '/home/httpd/www.tummy.com/html/journals/entries/virtual-entry.html'), ('beginScope', {'metal:fill-slot': 'body', 'tal:omit-tag': ''}), ('optTag', ('div', '', None, 0, [(...)], [(...), (...), (...), (...), (...), (...)])), ('endScope', ())], 'extraheaders': [('setPosition', (7, 3)), ('setSourceFile', '/home/httpd/www.tummy.com/html/journals/entries/virtual-entry.html'), ('beginScope', {'metal:fill-slot': 'extraheaders', 'tal:omit-tag': ''}), ('optTag', ('div', '', None, 0, [(...)], [(...)])), ('endScope', ())], 'title': [('setPosition', (5, 3)), ('setSourceFile', '/home/httpd/www.tummy.com/html/journals/entries/virtual-entry.html'), ('beginScope', {'metal:fill-slot': 'title', 'tal:omit-tag': ''}), ('optTag', ('div', '', None, 0, [(...)], [(...), (...), (...), (...), (...)])), ('endScope', ())]}, [('beginScope', {'metal:use-macro': 'templates/main/data', 'tal:omit-tag': ''}), ('optTag', ('div', '', None, 0, [('startTag', (...))], [('rawtextColumn', (...)), ('setPosition', (...)), ('fillSlot', (...)), ('rawtextColumn', (...)), ('setPosition', (...)), ('fillSlot', (...)), ('rawtextColumn', (...)), ('setPosition', (...)), ('fillSlot', (...)), ('rawtextColumn', (...))])), ('endScope', ())])
 /home/httpd/www.tummy.com/python-lib/zope/tal/talinterpreter.py in do_useMacro(self=<zope.tal.talinterpreter.TALInterpreter object>, (macroName='templates/main/data', macroExpr=<PathExpr standard:'templates/main/data'>, compiledSlots={'body': [('setPosition', (10, 3)), ('setSourceFile', '/home/httpd/www.tummy.com/html/journals/entries/virtual-entry.html'), ('beginScope', {'metal:fill-slot': 'body', 'tal:omit-tag': ''}), ('optTag', ('div', '', None, 0, [('startTag', (...))], [('rawtextBeginScope', (...)), ('condition', (...)), ('rawtextBeginScope', (...)), ('condition', (...)), ('endScope', ()), ('rawtextColumn', (...))])), ('endScope', ())], 'extraheaders': [('setPosition', (7, 3)), ('setSourceFile', '/home/httpd/www.tummy.com/html/journals/entries/virtual-entry.html'), ('beginScope', {'metal:fill-slot': 'extraheaders', 'tal:omit-tag': ''}), ('optTag', ('div', '', None, 0, [('startTag', (...))], [('rawtextColumn', (...))])), ('endScope', ())], 'title': [('setPosition', (5, 3)), ('setSourceFile', '/home/httpd/www.tummy.com/html/journals/entries/virtual-entry.html'), ('beginScope', {'metal:fill-slot': 'title', 'tal:omit-tag': ''}), ('optTag', ('div', '', None, 0, [('startTag', (...))], [('setPosition', (...)), ('beginScope', {...}), ('insertText', (...)), ('endScope', ()), ('rawtextOffset', (...))])), ('endScope', ())]}, block=[('beginScope', {'metal:use-macro': 'templates/main/data', 'tal:omit-tag': ''}), ('optTag', ('div', '', None, 0, [('startTag', ('div', [...]))], [('rawtextColumn', ('\n ', 3)), ('setPosition', (5, 3)), ('fillSlot', ('title', [...])), ('rawtextColumn', ('\n ', 3)), ('setPosition', (7, 3)), ('fillSlot', ('extraheaders', [...])), ('rawtextColumn', ('\n ', 3)), ('setPosition', (10, 3)), ('fillSlot', ('body', [...])), ('rawtextColumn', ('\n', 0))])), ('endScope', ())]))
  786 
  787         prev_source = self.sourceFile
  788         self.interpret(macro)
  789         if self.sourceFile != prev_source:
  790             self.engine.setSourceFile(prev_source)
self = <zope.tal.talinterpreter.TALInterpreter object>, self.interpret = <bound method TALInterpreter.interpret of <zope.tal.talinterpreter.TALInterpreter object>>, macro = [('version', '1.5'), ('mode', 'html'), ('setPosition', (1, 0)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/main.html'), ('beginScope', {'metal:define-macro': 'data', 'tal:omit-tag': ''}), ('optTag', ('div', '', None, 0, [('startTag', ('div', [...]))], [('rawtextBeginScope', ('\n <!-- start of template/data -->\n ', 3, (...), 0, {...})), ('insertText', (<PathExpr standard:'jotweb/http/response/uri_only_cacheseconds/80000'>, [...])), ('endScope', ()), ('rawtextColumn', ('\n <?xml version="1.0" encoding="utf-8"?>\n <!..." xml:lang="en-US">\n <head>\n <title>', 16)), ('setPosition', (9, 16)), ('defineSlot', ('title', [...])), ('setPosition', (9, 64)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/main.html'), ('rawtextColumn', ('</title>\n <link rel="SHORTCUT ICON" href..." href="/normal.css" type="text/css" />\n ', 9)), ('setPosition', (12, 9)), ('defineSlot', ('extraheaders', [...])), ('setPosition', (12, 63)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/main.html'), ('rawtextBeginScope', ('\n </head>\n\n <body>\n ', 9, (...), 0, {...})), ('insertStructure', (<PathExpr standard:'sitecode/misc/getGoogleScript'>, {}, [...])), ('rawtextBeginScope', ('\n\n <!-- Shadow Beneath Header -->\n ... <div class="navbar" id="navbar">\n\n ', 12, (...), 1, {...})), ('insertStructure', (<PathExpr standard:'sitecode/navbar/navbar'>, {}, [...])), ('endScope', ()), ('rawtextColumn', ('\n\n &nbsp;<br />\n &nbsp;<br />\n ...class="content">\n <!-- Body -->\n ', 9)), ('setPosition', (76, 9)), ...])), ('endScope', ())]
 /home/httpd/www.tummy.com/python-lib/zope/tal/talinterpreter.py in interpret(self=<zope.tal.talinterpreter.TALInterpreter object>, program=[('version', '1.5'), ('mode', 'html'), ('setPosition', (1, 0)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/main.html'), ('beginScope', {'metal:define-macro': 'data', 'tal:omit-tag': ''}), ('optTag', ('div', '', None, 0, [('startTag', ('div', [...]))], [('rawtextBeginScope', ('\n <!-- start of template/data -->\n ', 3, (...), 0, {...})), ('insertText', (<PathExpr standard:'jotweb/http/response/uri_only_cacheseconds/80000'>, [...])), ('endScope', ()), ('rawtextColumn', ('\n <?xml version="1.0" encoding="utf-8"?>\n <!..." xml:lang="en-US">\n <head>\n <title>', 16)), ('setPosition', (9, 16)), ('defineSlot', ('title', [...])), ('setPosition', (9, 64)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/main.html'), ('rawtextColumn', ('</title>\n <link rel="SHORTCUT ICON" href..." href="/normal.css" type="text/css" />\n ', 9)), ('setPosition', (12, 9)), ('defineSlot', ('extraheaders', [...])), ('setPosition', (12, 63)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/main.html'), ('rawtextBeginScope', ('\n </head>\n\n <body>\n ', 9, (...), 0, {...})), ('insertStructure', (<PathExpr standard:'sitecode/misc/getGoogleScript'>, {}, [...])), ('rawtextBeginScope', ('\n\n <!-- Shadow Beneath Header -->\n ... <div class="navbar" id="navbar">\n\n ', 12, (...), 1, {...})), ('insertStructure', (<PathExpr standard:'sitecode/navbar/navbar'>, {}, [...])), ('endScope', ()), ('rawtextColumn', ('\n\n &nbsp;<br />\n &nbsp;<br />\n ...class="content">\n <!-- Body -->\n ', 9)), ('setPosition', (76, 9)), ...])), ('endScope', ())])
  309             else:
  310                 for (opcode, args) in program:
  311                     handlers[opcode](self, args)
  312         finally:
  313             self.level = oldlevel
handlers = {'<attrAction>': <function attrAction_tal>, 'beginI18nContext': <function do_beginI18nContext>, 'beginScope': <function do_beginScope_tal>, 'condition': <function do_condition>, 'defineMacro': <function do_defineMacro>, 'defineSlot': <function do_defineSlot>, 'endI18nContext': <function do_endI18nContext>, 'endScope': <function do_endScope>, 'evaluateCode': <function do_evaluateCode>, 'fillSlot': <function do_fillSlot>, ...}, opcode = 'optTag', self = <zope.tal.talinterpreter.TALInterpreter object>, args = ('div', '', None, 0, [('startTag', ('div', [('metal:define-macro', 'data', 'metal'), ('tal:omit-tag', '', 'tal')]))], [('rawtextBeginScope', ('\n <!-- start of template/data -->\n ', 3, (3, 3), 0, {'tal:omit-tag': '', 'tal:replace': 'jotweb/http/response/uri_only_cacheseconds/80000'})), ('insertText', (<PathExpr standard:'jotweb/http/response/uri_only_cacheseconds/80000'>, [('optTag', (...))])), ('endScope', ()), ('rawtextColumn', ('\n <?xml version="1.0" encoding="utf-8"?>\n <!..." xml:lang="en-US">\n <head>\n <title>', 16)), ('setPosition', (9, 16)), ('defineSlot', ('title', [('startTag', (...)), ('rawtextOffset', (...))])), ('setPosition', (9, 64)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/main.html'), ('rawtextColumn', ('</title>\n <link rel="SHORTCUT ICON" href..." href="/normal.css" type="text/css" />\n ', 9)), ('setPosition', (12, 9)), ('defineSlot', ('extraheaders', [('beginScope', {...}), ('optTag', (...)), ('endScope', ())])), ('setPosition', (12, 63)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/main.html'), ('rawtextBeginScope', ('\n </head>\n\n <body>\n ', 9, (16, 9), 0, {'tal:omit-tag': '', 'tal:replace': 'structure sitecode/misc/getGoogleScript'})), ('insertStructure', (<PathExpr standard:'sitecode/misc/getGoogleScript'>, {}, [('optTag', (...))])), ('rawtextBeginScope', ('\n\n <!-- Shadow Beneath Header -->\n ... <div class="navbar" id="navbar">\n\n ', 12, (67, 12), 1, {'tal:omit-tag': '', 'tal:replace': 'structure sitecode/navbar/navbar'})), ('insertStructure', (<PathExpr standard:'sitecode/navbar/navbar'>, {}, [('optTag', (...))])), ('endScope', ()), ('rawtextColumn', ('\n\n &nbsp;<br />\n &nbsp;<br />\n ...class="content">\n <!-- Body -->\n ', 9)), ('setPosition', (76, 9)), ...])
 /home/httpd/www.tummy.com/python-lib/zope/tal/talinterpreter.py in do_optTag_tal(self=<zope.tal.talinterpreter.TALInterpreter object>, stuff=('div', '', None, 0, [('startTag', ('div', [('metal:define-macro', 'data', 'metal'), ('tal:omit-tag', '', 'tal')]))], [('rawtextBeginScope', ('\n <!-- start of template/data -->\n ', 3, (3, 3), 0, {'tal:omit-tag': '', 'tal:replace': 'jotweb/http/response/uri_only_cacheseconds/80000'})), ('insertText', (<PathExpr standard:'jotweb/http/response/uri_only_cacheseconds/80000'>, [('optTag', (...))])), ('endScope', ()), ('rawtextColumn', ('\n <?xml version="1.0" encoding="utf-8"?>\n <!..." xml:lang="en-US">\n <head>\n <title>', 16)), ('setPosition', (9, 16)), ('defineSlot', ('title', [('startTag', (...)), ('rawtextOffset', (...))])), ('setPosition', (9, 64)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/main.html'), ('rawtextColumn', ('</title>\n <link rel="SHORTCUT ICON" href..." href="/normal.css" type="text/css" />\n ', 9)), ('setPosition', (12, 9)), ('defineSlot', ('extraheaders', [('beginScope', {...}), ('optTag', (...)), ('endScope', ())])), ('setPosition', (12, 63)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/main.html'), ('rawtextBeginScope', ('\n </head>\n\n <body>\n ', 9, (16, 9), 0, {'tal:omit-tag': '', 'tal:replace': 'structure sitecode/misc/getGoogleScript'})), ('insertStructure', (<PathExpr standard:'sitecode/misc/getGoogleScript'>, {}, [('optTag', (...))])), ('rawtextBeginScope', ('\n\n <!-- Shadow Beneath Header -->\n ... <div class="navbar" id="navbar">\n\n ', 12, (67, 12), 1, {'tal:omit-tag': '', 'tal:replace': 'structure sitecode/navbar/navbar'})), ('insertStructure', (<PathExpr standard:'sitecode/navbar/navbar'>, {}, [('optTag', (...))])), ('endScope', ()), ('rawtextColumn', ('\n\n &nbsp;<br />\n &nbsp;<br />\n ...class="content">\n <!-- Body -->\n ', 9)), ('setPosition', (76, 9)), ...]))
  480         if cexpr is not None and (cexpr == '' or
  481                                   self.engine.evaluateBoolean(cexpr)):
  482             self.no_tag(stuff[-2], stuff[-1])
  483         else:
  484             self.do_optTag(stuff)
self = <zope.tal.talinterpreter.TALInterpreter object>, self.no_tag = <bound method TALInterpreter.no_tag of <zope.tal.talinterpreter.TALInterpreter object>>, stuff = ('div', '', None, 0, [('startTag', ('div', [('metal:define-macro', 'data', 'metal'), ('tal:omit-tag', '', 'tal')]))], [('rawtextBeginScope', ('\n <!-- start of template/data -->\n ', 3, (3, 3), 0, {'tal:omit-tag': '', 'tal:replace': 'jotweb/http/response/uri_only_cacheseconds/80000'})), ('insertText', (<PathExpr standard:'jotweb/http/response/uri_only_cacheseconds/80000'>, [('optTag', (...))])), ('endScope', ()), ('rawtextColumn', ('\n <?xml version="1.0" encoding="utf-8"?>\n <!..." xml:lang="en-US">\n <head>\n <title>', 16)), ('setPosition', (9, 16)), ('defineSlot', ('title', [('startTag', (...)), ('rawtextOffset', (...))])), ('setPosition', (9, 64)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/main.html'), ('rawtextColumn', ('</title>\n <link rel="SHORTCUT ICON" href..." href="/normal.css" type="text/css" />\n ', 9)), ('setPosition', (12, 9)), ('defineSlot', ('extraheaders', [('beginScope', {...}), ('optTag', (...)), ('endScope', ())])), ('setPosition', (12, 63)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/main.html'), ('rawtextBeginScope', ('\n </head>\n\n <body>\n ', 9, (16, 9), 0, {'tal:omit-tag': '', 'tal:replace': 'structure sitecode/misc/getGoogleScript'})), ('insertStructure', (<PathExpr standard:'sitecode/misc/getGoogleScript'>, {}, [('optTag', (...))])), ('rawtextBeginScope', ('\n\n <!-- Shadow Beneath Header -->\n ... <div class="navbar" id="navbar">\n\n ', 12, (67, 12), 1, {'tal:omit-tag': '', 'tal:replace': 'structure sitecode/navbar/navbar'})), ('insertStructure', (<PathExpr standard:'sitecode/navbar/navbar'>, {}, [('optTag', (...))])), ('endScope', ()), ('rawtextColumn', ('\n\n &nbsp;<br />\n &nbsp;<br />\n ...class="content">\n <!-- Body -->\n ', 9)), ('setPosition', (76, 9)), ...])
 /home/httpd/www.tummy.com/python-lib/zope/tal/talinterpreter.py in no_tag(self=<zope.tal.talinterpreter.TALInterpreter object>, start=[('startTag', ('div', [('metal:define-macro', 'data', 'metal'), ('tal:omit-tag', '', 'tal')]))], program=[('rawtextBeginScope', ('\n <!-- start of template/data -->\n ', 3, (3, 3), 0, {'tal:omit-tag': '', 'tal:replace': 'jotweb/http/response/uri_only_cacheseconds/80000'})), ('insertText', (<PathExpr standard:'jotweb/http/response/uri_only_cacheseconds/80000'>, [('optTag', ('span', '', None, 1, [...], []))])), ('endScope', ()), ('rawtextColumn', ('\n <?xml version="1.0" encoding="utf-8"?>\n <!..." xml:lang="en-US">\n <head>\n <title>', 16)), ('setPosition', (9, 16)), ('defineSlot', ('title', [('startTag', ('div', [...])), ('rawtextOffset', ('Title Placeholder</div>', 23))])), ('setPosition', (9, 64)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/main.html'), ('rawtextColumn', ('</title>\n <link rel="SHORTCUT ICON" href..." href="/normal.css" type="text/css" />\n ', 9)), ('setPosition', (12, 9)), ('defineSlot', ('extraheaders', [('beginScope', {'metal:define-slot': 'extraheaders', 'tal:omit-tag': ''}), ('optTag', ('div', '', None, 0, [...], [])), ('endScope', ())])), ('setPosition', (12, 63)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/main.html'), ('rawtextBeginScope', ('\n </head>\n\n <body>\n ', 9, (16, 9), 0, {'tal:omit-tag': '', 'tal:replace': 'structure sitecode/misc/getGoogleScript'})), ('insertStructure', (<PathExpr standard:'sitecode/misc/getGoogleScript'>, {}, [('optTag', ('span', '', None, 1, [...], []))])), ('rawtextBeginScope', ('\n\n <!-- Shadow Beneath Header -->\n ... <div class="navbar" id="navbar">\n\n ', 12, (67, 12), 1, {'tal:omit-tag': '', 'tal:replace': 'structure sitecode/navbar/navbar'})), ('insertStructure', (<PathExpr standard:'sitecode/navbar/navbar'>, {}, [('optTag', ('span', '', None, 1, [...], []))])), ('endScope', ()), ('rawtextColumn', ('\n\n &nbsp;<br />\n &nbsp;<br />\n ...class="content">\n <!-- Body -->\n ', 9)), ('setPosition', (76, 9)), ...])
  462         self.interpret(start)
  463         self.restoreOutputState(state)
  464         self.interpret(program)
  465 
  466     def do_optTag(self, (name, cexpr, tag_ns, isend, start, program),
self = <zope.tal.talinterpreter.TALInterpreter object>, self.interpret = <bound method TALInterpreter.interpret of <zope.tal.talinterpreter.TALInterpreter object>>, program = [('rawtextBeginScope', ('\n <!-- start of template/data -->\n ', 3, (3, 3), 0, {'tal:omit-tag': '', 'tal:replace': 'jotweb/http/response/uri_only_cacheseconds/80000'})), ('insertText', (<PathExpr standard:'jotweb/http/response/uri_only_cacheseconds/80000'>, [('optTag', ('span', '', None, 1, [...], []))])), ('endScope', ()), ('rawtextColumn', ('\n <?xml version="1.0" encoding="utf-8"?>\n <!..." xml:lang="en-US">\n <head>\n <title>', 16)), ('setPosition', (9, 16)), ('defineSlot', ('title', [('startTag', ('div', [...])), ('rawtextOffset', ('Title Placeholder</div>', 23))])), ('setPosition', (9, 64)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/main.html'), ('rawtextColumn', ('</title>\n <link rel="SHORTCUT ICON" href..." href="/normal.css" type="text/css" />\n ', 9)), ('setPosition', (12, 9)), ('defineSlot', ('extraheaders', [('beginScope', {'metal:define-slot': 'extraheaders', 'tal:omit-tag': ''}), ('optTag', ('div', '', None, 0, [...], [])), ('endScope', ())])), ('setPosition', (12, 63)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/main.html'), ('rawtextBeginScope', ('\n </head>\n\n <body>\n ', 9, (16, 9), 0, {'tal:omit-tag': '', 'tal:replace': 'structure sitecode/misc/getGoogleScript'})), ('insertStructure', (<PathExpr standard:'sitecode/misc/getGoogleScript'>, {}, [('optTag', ('span', '', None, 1, [...], []))])), ('rawtextBeginScope', ('\n\n <!-- Shadow Beneath Header -->\n ... <div class="navbar" id="navbar">\n\n ', 12, (67, 12), 1, {'tal:omit-tag': '', 'tal:replace': 'structure sitecode/navbar/navbar'})), ('insertStructure', (<PathExpr standard:'sitecode/navbar/navbar'>, {}, [('optTag', ('span', '', None, 1, [...], []))])), ('endScope', ()), ('rawtextColumn', ('\n\n &nbsp;<br />\n &nbsp;<br />\n ...class="content">\n <!-- Body -->\n ', 9)), ('setPosition', (76, 9)), ...]
 /home/httpd/www.tummy.com/python-lib/zope/tal/talinterpreter.py in interpret(self=<zope.tal.talinterpreter.TALInterpreter object>, program=[('rawtextBeginScope', ('\n <!-- start of template/data -->\n ', 3, (3, 3), 0, {'tal:omit-tag': '', 'tal:replace': 'jotweb/http/response/uri_only_cacheseconds/80000'})), ('insertText', (<PathExpr standard:'jotweb/http/response/uri_only_cacheseconds/80000'>, [('optTag', ('span', '', None, 1, [...], []))])), ('endScope', ()), ('rawtextColumn', ('\n <?xml version="1.0" encoding="utf-8"?>\n <!..." xml:lang="en-US">\n <head>\n <title>', 16)), ('setPosition', (9, 16)), ('defineSlot', ('title', [('startTag', ('div', [...])), ('rawtextOffset', ('Title Placeholder</div>', 23))])), ('setPosition', (9, 64)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/main.html'), ('rawtextColumn', ('</title>\n <link rel="SHORTCUT ICON" href..." href="/normal.css" type="text/css" />\n ', 9)), ('setPosition', (12, 9)), ('defineSlot', ('extraheaders', [('beginScope', {'metal:define-slot': 'extraheaders', 'tal:omit-tag': ''}), ('optTag', ('div', '', None, 0, [...], [])), ('endScope', ())])), ('setPosition', (12, 63)), ('setSourceFile', '/home/httpd/www.tummy.com/html/../templates/main.html'), ('rawtextBeginScope', ('\n </head>\n\n <body>\n ', 9, (16, 9), 0, {'tal:omit-tag': '', 'tal:replace': 'structure sitecode/misc/getGoogleScript'})), ('insertStructure', (<PathExpr standard:'sitecode/misc/getGoogleScript'>, {}, [('optTag', ('span', '', None, 1, [...], []))])), ('rawtextBeginScope', ('\n\n <!-- Shadow Beneath Header -->\n ... <div class="navbar" id="navbar">\n\n ', 12, (67, 12), 1, {'tal:omit-tag': '', 'tal:replace': 'structure sitecode/navbar/navbar'})), ('insertStructure', (<PathExpr standard:'sitecode/navbar/navbar'>, {}, [('optTag', ('span', '', None, 1, [...], []))])), ('endScope', ()), ('rawtextColumn', ('\n\n &nbsp;<br />\n &nbsp;<br />\n ...class="content">\n <!-- Body -->\n ', 9)), ('setPosition', (76, 9)), ...])
  309             else:
  310                 for (opcode, args) in program:
  311                     handlers[opcode](self, args)
  312         finally:
  313             self.level = oldlevel
handlers = {'<attrAction>': <function attrAction_tal>, 'beginI18nContext': <function do_beginI18nContext>, 'beginScope': <function do_beginScope_tal>, 'condition': <function do_condition>, 'defineMacro': <function do_defineMacro>, 'defineSlot': <function do_defineSlot>, 'endI18nContext': <function do_endI18nContext>, 'endScope': <function do_endScope>, 'evaluateCode': <function do_evaluateCode>, 'fillSlot': <function do_fillSlot>, ...}, opcode = 'insertStructure', self = <zope.tal.talinterpreter.TALInterpreter object>, args = (<PathExpr standard:'sitecode/navbar/navbar'>, {}, [('optTag', ('span', '', None, 1, [('startEndTag', (...))], []))])
 /home/httpd/www.tummy.com/python-lib/zope/tal/talinterpreter.py in do_insertStructure_tal(self=<zope.tal.talinterpreter.TALInterpreter object>, (expr=<PathExpr standard:'sitecode/navbar/navbar'>, repldict={}, block=[('optTag', ('span', '', None, 1, [('startEndTag', ('span', [...]))], []))]))
  664 
  665     def do_insertStructure_tal(self, (expr, repldict, block)):
  666         structure = self.engine.evaluateStructure(expr)
  667         if structure is None:
  668             return
structure undefined, self = <zope.tal.talinterpreter.TALInterpreter object>, self.engine = <zope.tales.tales.Context object>, self.engine.evaluateStructure = <bound method Context.evaluate of <zope.tales.tales.Context object>>, expr = <PathExpr standard:'sitecode/navbar/navbar'>
 /home/httpd/www.tummy.com/python-lib/zope/tales/tales.py in evaluate(self=<zope.tales.tales.Context object>, expression=<PathExpr standard:'sitecode/navbar/navbar'>)
  696         __traceback_supplement__ = (
  697            TALESTracebackSupplement, self, expression)
  698         return expression(self)
  699 
  700     evaluateValue = evaluate
expression = <PathExpr standard:'sitecode/navbar/navbar'>, self = <zope.tales.tales.Context object>
 /home/httpd/www.tummy.com/python-lib/zope/tales/expressions.py in __call__(self=<PathExpr standard:'sitecode/navbar/navbar'>, econtext=<zope.tales.tales.Context object>)
  199         if self._name == 'exists':
  200             return self._exists(econtext)
  201         return self._eval(econtext)
  202 
  203     def __str__(self):
self = <PathExpr standard:'sitecode/navbar/navbar'>, self._eval = <bound method PathExpr._eval of <PathExpr standard:'sitecode/navbar/navbar'>>, econtext = <zope.tales.tales.Context object>
 /home/httpd/www.tummy.com/python-lib/zope/tales/expressions.py in _eval(self=<PathExpr standard:'sitecode/navbar/navbar'>, econtext=<zope.tales.tales.Context object>)
  193         # Call the object if it is callable.
  194         if hasattr(ob, '__call__'):
  195             return ob()
  196         return ob
  197 
ob = <function navbar>
 /home/httpd/www.tummy.com/code/navbar.py in navbar()
  189         context = jotwebutils.getContext()
  190         uri = context['jotweb']['http']['req'].uri
  191         return(buildnavbar(uri))
  192 
  193 
global buildnavbar = <function buildnavbar>, uri = '/journals/entries/jafo_20091209_035743'
 /home/httpd/www.tummy.com/code/navbar.py in buildnavbar(uri='/journals/entries/jafo_20091209_035743')
  150 #####################
  151 def buildnavbar(uri):
  152         from twisted.web import microdom
  153         s = '<doc>' + menuSource + '</doc>'
  154         p = microdom.parseString(s)
twisted undefined, microdom undefined
 /usr/lib/python2.4/site-packages/twisted/web/microdom.py
   28 
   29 # Twisted Imports
   30 from twisted.web.sux import XMLParser, ParseError
   31 from twisted.python.util import InsensitiveDict
   32 
twisted undefined, XMLParser undefined, ParseError undefined
 /usr/lib/python2.4/site-packages/twisted/web/sux.py
   21 """
   22 
   23 from twisted.internet.protocol import Protocol, FileWrapper
   24 from twisted.python.reflect import prefixedMethodNames
   25 
twisted undefined, Protocol undefined, FileWrapper undefined
 /usr/lib/python2.4/site-packages/twisted/internet/protocol.py
   23 
   24 
   25 class Factory:
   26     """This is a factory which produces protocols.
   27 
Factory undefined
 /home/httpd/www.tummy.com/python-lib/zope/interface/advice.py in advise(name='Factory', bases=(), cdict={'__doc__': 'This is a factory which produces protocols.\n\n ...col of the class given in\n self.protocol.\n ', '__module__': 'twisted.internet.protocol', 'buildProtocol': <function buildProtocol>, 'doStart': <function doStart>, 'doStop': <function doStop>, 'noisy': True, 'numPorts': 0, 'protocol': None, 'startFactory': <function startFactory>, 'stopFactory': <function stopFactory>})
  130 
  131         # this lets the callback replace the class completely, if it wants to
  132         return callback(newClass)
  133 
  134     # introspection data only, not used by inner function
callback = <function _implements_advice>, newClass = <class twisted.internet.protocol.Factory>
 /home/httpd/www.tummy.com/python-lib/zope/interface/declarations.py in _implements_advice(cls=<class twisted.internet.protocol.Factory>)
  543     interfaces, classImplements = cls.__dict__['__implements_advice_data__']
  544     del cls.__implements_advice_data__
  545     classImplements(cls, *interfaces)
  546     return cls
  547 
classImplements = <function classImplements>, cls = <class twisted.internet.protocol.Factory>, interfaces = (<InterfaceClass twisted.internet.interfaces.IProtocolFactory>,)
 /home/httpd/www.tummy.com/python-lib/zope/interface/declarations.py in classImplements(cls=<class twisted.internet.protocol.Factory>, *interfaces=(<InterfaceClass twisted.internet.interfaces.IProtocolFactory>,))
  519       """
  520 
  521     spec = implementedBy(cls)
  522     spec.declared += tuple(_normalizeargs(interfaces))
  523 
spec undefined, global implementedBy = <built-in function implementedBy>, cls = <class twisted.internet.protocol.Factory>
 /home/httpd/www.tummy.com/python-lib/zope/interface/declarations.py in implementedByFallback(cls=<class twisted.internet.protocol.Factory>)
  362 
  363     try:
  364         spec = cls.__dict__.get('__implemented__')
  365     except AttributeError:
  366         
spec undefined, cls = <class twisted.internet.protocol.Factory>, cls.__dict__ = {'__doc__': 'This is a factory which produces protocols.\n\n ...col of the class given in\n self.protocol.\n ', '__module__': 'twisted.internet.protocol', 'buildProtocol': <function buildProtocol>, 'doStart': <function doStart>, 'doStop': <function doStop>, 'noisy': True, 'numPorts': 0, 'protocol': None, 'startFactory': <function startFactory>, 'stopFactory': <function stopFactory>}, cls.__dict__.get = <built-in method get of dict object>

RuntimeError: class.__dict__ not accessible in restricted mode
      args = ('class.__dict__ not accessible in restricted mode',)