OK, so I've had multiple scheduled tasks running for years that use 
response.render('path/to/template.html', dict(var= 'something')) to help 
build email bodies and it has been working perfectly. Now when I try to 
upgrade to the latest web2py trunk (was on 2.13.4 - yeah I'm a bit behind) 
all that has stopped working.  Below is the error I'm getting
File "C:\FMSC Webapps\web2py_master\gluon\globals.py", line 437, in render
    self._view_environment.update(self._vars)
AttributeError: 'NoneType' object has no attribute 'update'

Why isn't this working anymore? Has some backwards compatibility breaking 
change been made to the scheduler environment? Any advice would be much 
appreciated.

-Brian

PS. I've 
seen 
https://groups.google.com/forum/#!searchin/web2py/response.render$20scheduler|sort:relevance/web2py/UsUvODL07zs/HrcCsxQcCQAJ
 
which would seem related but I'm unable to get it working by just adding 
from gluon.template import render

-- 
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.

Reply via email to