<type 'exceptions.IndexError'>
Python 2.7.5: /usr/bin/python
Fri Dec 15 10:29:43 2017

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/sites/tsdavo.org.ua/htdocs/src/index.py in ()
    187                                 result = template("page").merge({
    188                                                 "menu": get_menu_data(params, model),
=>  189                                                 "page": get_page_data(params, mode, model),
    190                                                 "left_menu": model.get_leftmenu(),
    191                                                 "top_menu": model.get_topmenu(),
get_page_data = <function get_page_data>, params = ['news', '63907800'], mode = FieldStorage(None, None, []), model = <model.Model instance>
 /home/sites/tsdavo.org.ua/htdocs/src/index.py in get_page_data(params=['news', '63907800'], mode=FieldStorage(None, None, []), model=<model.Model instance>)
     66                 return get_doc_page(params[1])
     67         elif match("news", r'\d+'):
=>   68                 r = model.get_news(params[1])
     69                 r["exhibition"] = model.get_exhibition()
     70                 r["news"] = model.get_last_news()
r undefined, model = <model.Model instance>, model.get_news = <bound method Model.get_news of <model.Model instance>>, params = ['news', '63907800']
 /home/sites/tsdavo.org.ua/htdocs/src/model.py in get_news(self=<model.Model instance>, id='63907800')
    527                 try:
    528                         cur.execute("select name#, shortcont#, content# from news n where id=:news_id".replace("#", self.language["id"]), news_id=id)
=>  529                         wd = cur.fetchall()[0]
    530                         r = { "id": id,
    531                                 "name": wd[0] and "<br>".join(wd[0].splitlines()),
wd undefined, cur = <cx_Oracle.Cursor on <cx_Oracle.Connection to KIEV_READER@orcl>>, cur.fetchall = <built-in method fetchall of cx_Oracle.Cursor object>

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