Question

I have got Zero division error from nowhere. I don't understand what is the reason for this error. I googled it but couldn't find the answer. In my GAE Log, I have the following text.

    File "C:\Program Files (x86)\Google\google_appengine\lib\jinja2-2.6\jinja2\environment.py", line 894, in render

        return self.environment.handle_exception(exc_info, True)

      File "C:\NyBytt\nybytt-server\templates\admin.html", line 1, in top-level template code

        {% extends "abc.html" %}

ZeroDivisionError: division by zero

Anyone has ever experience this error?

Was it helpful?

Solution

The problem is fixed. The problem was in the template file. I must say, the google log is a bit confusing. The log indicating the error on line 1 i.e in abc.html while the error was in admin.html.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top