>
>  after I removed the content of the default index.html and
> added my own 5 lines, I got complaints about (non-existent) line 84.
>
When there is an error in a view file, the line number reported is not the 
line number of the original view file, but the line number of the code 
after the entire view has been translated to Python. The translated code is 
the code shown in the error ticket page, so the line number should match up 
there. This is mentioned 
here: http://web2py.com/book/default/chapter/03#errors.
 

> When I moved my index.html to index.html.hold, I got complaints about
> the content of the now absent file.
>
When a function is called and there is no corresponding view file, if 
generic views are enabled (which they are by default in the 'welcome' app 
for local requests), web2py will use the generic view -- so even if you 
have removed index.html, it will still render whatever is returned by your 
index function. Perhaps that is what is happening here. If you show some 
code and tracebacks, we might be able to help further.

Anthony

Reply via email to