I run the same version of Ubuntu, no problems with seeing or generating tickets when I don't get it quite right in the code. Check the permissions on the errors directory for you app?
The errors in views are from when the Python code runs which is after extend, include and translation of HTML etc. into response.write statements. There should be enough in the content of the generated Python to get you close to the right place in the original view code.