--> -->
 
 
<type 'exceptions.TypeError'>
Python 2.7.5: /usr/bin/python
Mon Dec 10 09:40:54 2018

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()
    110    if page_name == "contest_details":
    111          cb = ContestDetails_Builder()
=>  112          contents = cb.build()
    113          print translate(lang, page_name, contents)
    114          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>)
    197 
    198         row = self.cur.fetchone()
=>  199         if row["result_by_bands"]==0:
    200            self.result_by_band=False
    201         
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__'"