Hi All,

I am relatively new to web2py. I built a small application it works
perfectly fine, but when I try to compile the applications it results
in an error. It would be great if some one could let me know where i
am going wrong !!!

Here is the trace:

Traceback (most recent call last):
  File "/cube/apps/web2py/gluon/admin.py", line 143, in app_compile
    compile_application(folder)
  File "/cube/apps/web2py/gluon/compileapp.py", line 498, in
compile_application
    compile_views(folder)
  File "/cube/apps/web2py/gluon/compileapp.py", line 272, in
compile_views
    data = parse_template(file, path)
  File "/cube/apps/web2py/gluon/template.py", line 820, in
parse_template
    return str(TemplateParser(text, context=context, path=path,
lexers=lexers, delimiters=delimiters))
  File "/cube/apps/web2py/gluon/template.py", line 309, in __init__
    self.parse(text)
  File "/cube/apps/web2py/gluon/template.py", line 793, in parse
    self.extend(extend)
  File "/cube/apps/web2py/gluon/template.py", line 464, in extend
    text = self._get_file_text(filename)
  File "/cube/apps/web2py/gluon/template.py", line 440, in
_get_file_text
    self._raise_error('Unable to open included view file: ' +
filepath)
  File "/cube/apps/web2py/gluon/template.py", line 412, in
_raise_error
    raise restricted.RestrictedError(self.name, self.text, message)
RestrictedError

Thanks

Reply via email to