I receive the following traceback when trying to run some pretty straightforward code:
Traceback (most recent call last): File "M:\My Documents\EstateCommander\web2py\gluon\restricted.py", line 208, in restricted ccode = compile2(code,layer) File "M:\My Documents\EstateCommander\web2py\gluon\restricted.py", line 193, in compile2 return compile(code.rstrip().replace('\r\n','\n')+'\n', layer, 'exec') File "C:/Users/Mike/Documents/My Dropbox/EstateCommander/web2py/applications/estate/controllers/forms.py" <http://127.0.0.1:8000/admin/default/edit/estate/controllers/forms.py>, line 15 table = TABLE(*rows, _border='0', _align="center", _width="50%") ^ SyntaxError: invalid syntax This is only an error on Windows. The code runs fine on CentOS (Webfaction). Am I missing something here? Here's the full context of the erroring line in case that might help: # create a small table with some data: rows = [THEAD(TR(TH("Key",_width="70%"), TH("Value",_width="30%"))), TBODY(TR(TD("Hello"),TD("60")), TR(TD("World"),TD("40")))] table = TABLE(*rows, _border='0', _align="center", _width="50%") --