<type 'exceptions.IndexError'>
Python 2.7.10: /usr/bin/python2
Thu Oct 18 00:06:12 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.

 /var/www/artrz.ru/htdocs/src/index.py in ()
    336                                                 "menu": rubricator.html(len(params)>=2 and params[0]=="menu" and re.match("^\d+$", params[1]) and params[1]) }
    337                                 space["title"] = "<br>".join(space["title"].splitlines())
=>  338                                 space.update(page(params))
    339                                 result = template("main").merge(space, loader)
    340                 except:
space = {'banners': [{'id': 1805367818, 'image': 1805368091, 'name': '\xd0\x9a\xd0\xbe\xd0\xbc\xd0\xb8\xd1\x82\xd0\xb5\xd1\x82 \xd0\xbf\xd0\xbe \xd0\xb2\xd0\xbd\xd0\xb5\xd1\x88\xd0\xbd\xd0\xb8\xd0\xbc \xd1\x81\xd0\xb2\xd1\x8f\xd0\xb7\xd1\x8f\xd0\xbc \xd0\xa1\xd0\xb0\xd0\xbd\xd0\xba\xd1\x82-\xd0\x9f\xd0\xb5\xd1\x82\xd0\xb5\xd1\x80\xd0\xb1\xd1\x83\xd1\x80\xd0\xb3\xd0\xb0', 'ref': 'http://www.kvs.spb.ru'}, {'id': 1805367844, 'image': 1804835877, 'name': '\xd0\xa0\xd0\xbe\xd1\x81\xd1\x81\xd0\xb8\xd0\xb9\xd1\x81\xd0\xba\xd0\xb8\xd0\xb9 \xd0\xb3\xd1\x83\xd0\xbc\xd0\xb0\xd0\xbd\xd0\xb8\xd1\x82\xd0\xb0\xd1\x80\xd0\xbd\xd1\x8b\xd0\xb9 \xd0\xbd\xd0\xb0\xd1\x83\xd1\x87\xd0\xbd\xd1\x8b\xd0\xb9 \xd1\x84\xd0\xbe\xd0\xbd\xd0\xb4', 'ref': 'http://www.rfh.ru'}, {'id': 1805367890, 'image': 1804846338, 'name': '\xd0\xa4\xd0\xbe\xd0\xbd\xd0\xb4 &quot;\xd0\x9a\xd0\xbe\xd0\xbd\xd1\x81\xd1\x82\xd0\xb0\xd0\xbd\xd1\x82\xd0\xb8\xd0\xbd\xd0\xbe\xd0\xb2\xd1\x81\xd0\xba\xd0\xb8\xd0\xb9&quot;', 'ref': 'http://www.mbfk.ru'}, {'id': 1804932204, 'image': 1804931868, 'name': '\xd0\x94\xd0\xbe\xd0\xbc-\xd0\xbc\xd1\x83\xd0\xb7\xd0\xb5\xd0\xb9 \xd0\x9c\xd0\xb0\xd1\x80\xd0\xb8\xd0\xbd\xd1\x8b \xd0\xa6\xd0\xb2\xd0\xb5\xd1\x82\xd0\xb0\xd0\xb5\xd0\xb2\xd0\xbe\xd0\xb9', 'ref': 'http://www.dommuseum.ru/'}, {'id': 1804895481, 'image': 1804895658, 'name': '\xd0\x97\xd0\x90\xd0\x9e \xc2\xab\xd0\x90\xd0\xbb\xd1\x8c\xd1\x82-\xd0\xa1\xd0\xbe\xd1\x84\xd1\x82\xc2\xbb \xd0\xb8\xd0\xbd\xd1\x84\xd0\xbe\xd1\x80\xd0\xbc\xd0\xb0\xd1\x86\xd0\xb8\xd0...\xd0\xbc\xd0\xbc\xd1\x83\xd0\xbd\xd0\xb8\xd0\xba\xd0\xb0\xd1\x86\xd0\xb8\xd0\xbe\xd0\xbd\xd0\xbd\xd1\x8b\xd0\xb5 \xd1\x82\xd0\xb5\xd1\x85\xd0\xbd\xd0\xbe\xd0\xbb\xd0\xbe\xd0\xb3\xd0\xb8\xd0\xb8', 'ref': 'http://www.altsoft.spb.ru'}], 'left_links': [{'active': None, 'id': 1805368474, 'image': 1805368485, 'name': '\xd0\xa0\xd1\x83\xd1\x81\xd1\x81\xd0\xba\xd0\xb8\xd0\xb5 \xd0\xb2 \xd0\x98\xd1\x82\xd0\xb0\xd0\xbb\xd0\xb8\xd0\xb8', 'text': 'http://www.russinitalia.it'}, {'active': None, 'id': 1805368262, 'image': 1805368273, 'name': '\xd0\xa0\xd1\x83\xd1\x81\xd1\x81\xd0\xba\xd0\xb8\xd0\xb5 \xd0\x9b\xd0\xb0\xd1\x82\xd0\xb2\xd0\xb8\xd0\xb8', 'text': 'http://www.russkije.lv'}, {'active': None, 'id': 1805368210, 'image': 1805368221, 'name': '\xd0\xa0\xd0\xbe\xd1\x81\xd1\x81\xd0\xb8\xd0\xb9\xd1\x81\xd0\xba\xd0\xbe\xd0\xb5 \xd0\xb7\xd0\xb0\xd1\x80\xd1\x83\xd0\xb1\xd0\xb5\xd0\xb6\xd1\x8c\xd0\xb5 \xd0\xb2\xd0\xbe \xd0\xa4\xd1\x80\xd0\xb0\xd0\xbd\xd1\x86\xd0\xb8\xd0\xb8', 'text': 'http://www.dommuseum.ru/old/?m=dist'}, {'active': None, 'id': 1805368287, 'image': 1805368298, 'name': '\xd0\xa0\xd1\x83\xd1\x81\xd1\x81\xd0\xba\xd0\xb0\xd1\x8f \xd0\xad\xd1\x81\xd1\x82\xd0\xbe\xd0\xbd\xd0\xb8\xd1\x8f', 'text': 'http://russianestonia.eu'}], 'menu': '<div id="menu"><a class="menu_1" href="/menu/180...760.html">\xd0\xa1\xd0\xbe\xd0\xba\xd1\x80\xd0\xb0\xd1\x89\xd0\xb5\xd0\xbd\xd0\xb8\xd1\x8f</a>--></div></div>', 'title': '\xd0\x9f\xd0\xbe \xd0\xb2\xd0\xb0\xd1\x88\xd0\xb5\xd0\xbc\xd1\x83 \xd0\xb7\xd0\xb0\xd0\xbf\xd1\x80\xd0\xbe\xd1\x81\xd1\x83 \xd0\xbd\xd0\xb8\xd1\x87\xd0\xb5\xd0\xb3\xd0\xbe \xd0\xbd\xd0\xb5 \xd0\xbd\xd0\xb0\xd0\xb9\xd0\xb4\xd0\xb5\xd0\xbd\xd0\xbe'}, space.update = <built-in method update of dict object>, page = <function page>, params = ['authors', '1805352963', 'index']
 /var/www/artrz.ru/htdocs/src/index.py in page(params=['authors', '1805352963', 'index'])
    176                                 "articles": al }
    177         elif match("authors", r'\d+'):
=>  178                 return { "title": "Автор-составитель: ", "author": model.author(params[1]),
=>  179                                 "articles": model.articles(author=params[1]) }
    180         elif match("orgs", r'\d+'):
global model = <model.Model instance>, model.author = <bound method Model.author of <model.Model instance>>, params = ['authors', '1805352963', 'index'], model.articles = <bound method Model.articles of <model.Model instance>>, author undefined
 /var/www/artrz.ru/htdocs/src/model.py in author(self=<model.Model instance>, aid='1805352963')
    155                 try:    
    156                         ac.execute("select id, name1, to_char(resume1), (select to_char(city) from authors_city where id=a.id and rownum=1), (select image from authors_images where id=a.id and rownum=1) from authors a where a.id=:id", id=aid)
=>  157                         return [{ "id": id, "name": name, "resume": resume, "place": place and self.place(place), "image": image } for id, name, resume, place, image in ac.fetchall()][0]
    158                         #ac.execute("select id, nvl(shortname1, name1) from authors where id=:id", id=aid)
    159                         #return [{ "id": id, "name": name } for id, name in ac.fetchall()][0]
builtin id = <built-in function id>, name undefined, resume undefined, place undefined, self = <model.Model instance>, self.place = <function get_place>, image undefined, ac = <__builtin__.OracleCursor on <cx_Oracle.Connection to encrz@abroad.golf>>, ac.fetchall = <built-in method fetchall of OracleCursor object>

<type 'exceptions.IndexError'>: list index out of range
      args = ('list index out of range',)
      message = 'list index out of range'