--> -->
 
 
IndexError
Python 2.4.3: /usr/bin/python
Sun May 20 04:18:11 2012

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/content/44/7259844/html/index.py
   14 
   15 page = Page(home_url)
   16 page.articles.load(page_request)
   17 
   18 print page.toHTML().encode("utf_8")
page = <include.Page instance>, page.toHTML = <bound method Page.toHTML of <include.Page instance>>, ).encode undefined
 /home/content/44/7259844/html/include.py in toHTML(self=<include.Page instance>)
  135         
  136         def toHTML(self):
  137                 return Template(u"""
  138 <!DOCTYPE html> 
  139 <html lang="hu">
global Template = <class 'string.Template'>, ).substitute = <unbound method Template.substitute>, builtin dict = <type 'dict'>, home undefined, global website_title = 'kdani.com', home_url undefined, self = <include.Page instance>, self.home_url = 'http://kdani.com', title undefined, self.getTitle = <bound method Page.getTitle of <include.Page instance>>, articles undefined, self.articles = <include.Articles instance>, self.articles.toHTML = <bound method Articles.toHTML of <include.Articles instance>>
 /home/content/44/7259844/html/include.py in getTitle(self=<include.Page instance>)
  129         
  130         def getTitle(self):
  131                 return website_title + " - " + self.articles.getTitle()
  132         
  133         def __init__(self, home_url):
global website_title = 'kdani.com', self = <include.Page instance>, self.articles = <include.Articles instance>, self.articles.getTitle = <bound method Articles.getTitle of <include.Articles instance>>
 /home/content/44/7259844/html/include.py in getTitle(self=<include.Articles instance>)
   73         
   74         def getTitle(self):
   75                 return self.articles[0].getTitle()
   76         
   77         def load(self, request_url = ""):
self = <include.Articles instance>, self.articles = [], ].getTitle undefined

IndexError: list index out of range
      args = ('list index out of range',)