Myghty Template Error

Error: Error(TypeError): 'NoneType' object is unsubscriptable
File: /srv/www/dfb/turniere.fechten.org/htdocs/methods/ausschreibung.psp line 256
Context: 253: saison
254: language
255: </%args><%python>
256: if altersklasse["altersklasse_id"] == 53:
257:   aktext = ('Schüler ' )
258: elif altersklasse["altersklasse_id"] == 52:
259:   aktext = ('Schüler ' )
Traceback: /srv/www/dfb/turniere.fechten.org/htdocs/methods/ausschreibung.psp:256
/srv/www/dfb/turniere.fechten.org/htdocs/methods/ausschreibung.psp:207
/srv/www/dfb/turniere.fechten.org/htdocs/dhandler:17
/srv/www/dfb/turniere.fechten.org/htdocs/autohandler:2
/srv/www/dfb/turniere.fechten.org/bin/turniere.wsgi:12


Original Stack Trace:

Error: Error(TypeError): 'NoneType' object is unsubscriptable
File: /srv/www/dfb/turniere.fechten.org/myghty/obj/main//methods/ausschreibung.psp.py line 690
Context: 687:               # BEGIN CODE BLOCK
688:               # SOURCE LINE 255
689:
690:               if altersklasse["altersklasse_id"] == 53:
691:                 aktext = ('Schüler ' )
692:               elif altersklasse["altersklasse_id"] == 52:
693:                 aktext = ('Schüler ' )
Traceback: /srv/www/dfb/turniere.fechten.org/myghty/obj/main//methods/ausschreibung.psp.py:690
/usr/lib/python2.5/site-packages/Myghty-1.1.1-py2.5.egg/myghty/component.py:128
/usr/lib/python2.5/site-packages/Myghty-1.1.1-py2.5.egg/myghty/request.py:389
/srv/www/dfb/turniere.fechten.org/myghty/obj/main//methods/ausschreibung.psp.py:462
/usr/lib/python2.5/site-packages/Myghty-1.1.1-py2.5.egg/myghty/component.py:128
/usr/lib/python2.5/site-packages/Myghty-1.1.1-py2.5.egg/myghty/request.py:389
/usr/lib/python2.5/site-packages/Myghty-1.1.1-py2.5.egg/myghty/request.py:305
/srv/www/dfb/turniere.fechten.org/myghty/obj/main//dhandler.py:45
/usr/lib/python2.5/site-packages/Myghty-1.1.1-py2.5.egg/myghty/component.py:128
/usr/lib/python2.5/site-packages/Myghty-1.1.1-py2.5.egg/myghty/request.py:389
/usr/lib/python2.5/site-packages/Myghty-1.1.1-py2.5.egg/myghty/request.py:300
/usr/lib/python2.5/site-packages/Myghty-1.1.1-py2.5.egg/myghty/request.py:725
/srv/www/dfb/turniere.fechten.org/myghty/obj/main//autohandler.py:36
/usr/lib/python2.5/site-packages/Myghty-1.1.1-py2.5.egg/myghty/component.py:128
/usr/lib/python2.5/site-packages/Myghty-1.1.1-py2.5.egg/myghty/request.py:389
/usr/lib/python2.5/site-packages/Myghty-1.1.1-py2.5.egg/myghty/request.py:250
/usr/lib/python2.5/site-packages/Myghty-1.1.1-py2.5.egg/myghty/exception.py:61
/usr/lib/python2.5/site-packages/Myghty-1.1.1-py2.5.egg/myghty/request.py:270
/usr/lib/python2.5/site-packages/Myghty-1.1.1-py2.5.egg/myghty/http/HTTPHandler.py:138
/usr/lib/python2.5/site-packages/Myghty-1.1.1-py2.5.egg/myghty/http/WSGIHandler.py:60
/srv/www/dfb/turniere.fechten.org/bin/turniere.wsgi:12