Anthony, With renewed confidence after your thoughtful reply I created a new directory and my 10 line program worked and behaved perfectly.
I believe all your diagnosis is correct and I was simply befuddled. Thank you for helping me over my initial frustration. The power of these 10 lines of code demonstrates web2py will be a great tool in accomplishing my tasks. Sally On Dec 6, 9:33 pm, Anthony <[email protected]> wrote: > > 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

