I have several questions regarding app compiles, but the first one is this:
Error traceback
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
Traceback (most recent call last):
File "/Users/jlundell/VTC/vpeps-web2py/web2py/gluon/restricted.py", line 173,
in restricted
exec ccode in environment
File
"/Users/jlundell/VTC/vpeps-web2py/web2py/applications/admin/controllers/default.py",
line 1061, in <module>
File "/Users/jlundell/VTC/vpeps-web2py/web2py/gluon/globals.py", line 96, in
<lambda>
self._caller = lambda f: f()
File
"/Users/jlundell/VTC/vpeps-web2py/web2py/applications/admin/controllers/default.py",
line 213, in compile_app
c = app_compile(request.args[0], request)
File "/Users/jlundell/VTC/vpeps-web2py/web2py/gluon/admin.py", line 141, in
app_compile
compile_application(folder)
File "/Users/jlundell/VTC/vpeps-web2py/web2py/gluon/compileapp.py", line 520,
in compile_application
compile_views(folder)
File "/Users/jlundell/VTC/vpeps-web2py/web2py/gluon/compileapp.py", line 293,
in compile_views
data = parse_template(file, path)
File "/Users/jlundell/VTC/vpeps-web2py/web2py/gluon/template.py", line 139,
in parse_template
t = os.path.join(path, eval(match.group('name'), context))
File "<string>", line 1, in <module>
NameError: name 'request' is not defined
The match in question is presumably {{extend request.layout}}, right?
--
Subscription settings: http://groups.google.com/group/web2py/subscribe?hl=en