--> -->
 
 
<type 'exceptions.TypeError'>
Python 2.7.5: /usr/bin/python
Fri Feb 22 05:19:59 2019

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /home/opencont/opencontest.org/www/contest/index.py in ()
     22 #print val
     23 
     24 
     25 
=>   26 url.redirect()
url = <module 'url' from '/home/opencont/opencontest.org/www/contest/url.pyc'>, url.redirect = <function redirect>
 /home/opencont/opencontest.org/www/contest/url.py in redirect()
    116    if page_name == "contest_details":
    117          cb = ContestDetails_Builder()
=>  118          contents = cb.build()
    119          print translate(lang, page_name, contents)
    120          return
contents undefined, cb = <contestdetails_builder.ContestDetails_Builder instance>, cb.build = <bound method ContestDetails_Builder.build of <c...details_builder.ContestDetails_Builder instance>>
 /home/opencont/opencontest.org/www/contest/contestdetails_builder.py in build(self=<contestdetails_builder.ContestDetails_Builder instance>)
    200 
    201         row = self.cur.fetchone()
=>  202         if row["result_by_bands"]==0:
    203            self.result_by_band=False
    204         
row = None

<type 'exceptions.TypeError'>: 'NoneType' object has no attribute '__getitem__'
      args = ("'NoneType' object has no attribute '__getitem__'",)
      message = "'NoneType' object has no attribute '__getitem__'"