[web2py] Syntax error - can not find solution

2012-04-13 Thread Jose
Hi all I have an application that works fine on my development machine (tested with versions 1.99.4, 1.99.7, trunk and another version (I forget) in alwaysdata) In WebFaction I have version 1.99.7 and the application throws a syntax error: Traceback (most recent call last): File

Re: [web2py] Syntax error - can not find solution

2012-04-13 Thread Bruno Rocha
The problem is the Python Version, to pass arguments after one list unpacking *works you need to run Python 2.7+ to solve your ptoblem an run it on webfaction Python you need to replace retorno = DIV(*works, _id='submenu2') with this: retorno = DIV(*works, **{_id:'submenu2'}) On Fri, Apr

Re: [web2py] Syntax error - can not find solution

2012-04-13 Thread Jose
Thanks Bruno. It works perfect