Doesn't the ticket say which file is causing the problem?

On Friday, September 14, 2012 11:43:01 AM UTC-5, rick817 wrote:
>
> I've been trying to compile my app and I get the following backtrace, 
> which doesn't strike me
> as very useful, given that the application has around 100  views. Any 
> hints as to what I can do
> so as to track down the problem?
>
> Cannot compile: there are errors in your app:
>
> 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 "/home/sysadmin/web2py/gluon/admin.py", line 154, in app_compile
>     compile_application(folder)
>   File "/home/sysadmin/web2py/gluon/compileapp.py", line 677, in 
> compile_application
>     compile_views(folder)
>   File "/home/sysadmin/web2py/gluon/compileapp.py", line 440, in compile_views
>     data = parse_template(file, path)
>   File "/home/sysadmin/web2py/gluon/template.py", line 767, in parse_template
>     return str(TemplateParser(text, context=context, path=path, 
> lexers=lexers, delimiters=delimiters))
>   File "/home/sysadmin/web2py/gluon/template.py", line 315, in __str__
>     return self.to_string()
>   File "/home/sysadmin/web2py/gluon/template.py", line 311, in to_string
>     return self.reindent(str(self.content))
>   File "/home/sysadmin/web2py/gluon/template.py", line 393, in reindent
>     self._raise_error('missing "pass" in view', new_text)
>   File "/home/sysadmin/web2py/gluon/template.py", line 403, in _raise_error
>     raise RestrictedError(self.name, text or self.text, message)
> RestrictedError: missing "pass" in view
>
>
>

-- 



Reply via email to