you have 2.7 while webfaction sits on 2.6 ? On Wednesday, November 13, 2013 8:29:01 AM UTC+1, Pascal Polleunus wrote: > > Hi, > In models/db.py, I do this settings = local_import("settings") > > In modules/settings.py, there's the following lines: > > FOO = "abc" > BAR = "{}def".format(FOO) > > > When I execute this command on my server (WebFaction): > > web2py.py --no-banner -S app_name -M -N -R > applications/app_name/cron/jobs.py > > there's a error: > > File "applications/app_name/modules/settings.py", line 2, in <module> > BAR = "{}def".format(FOO) > ValueError: zero length field name in format > > > On my local environment it works fine. > > Any idea why? > > Thanks in advance, > Pascal >
-- 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/groups/opt_out.