--> --> -->
 
 
<type 'exceptions.IndexError'>
Python 2.5.2: /usr/bin/python
Wed Apr 23 09:13:28 2014

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/showblog.py in ()
  219     print render_template_file( "blog.html", substitution_dict )
  220 
  221 
  222 if __name__ == "__main__":
  223     renderMainBlogPage()
renderMainBlogPage = <function renderMainBlogPage at 0xe4a320>
 /var/www/showblog.py in renderMainBlogPage()
  141         pageContentLinks = ""
  142     elif tagName:
  143         tagObj = BlogTag.selectBy(name = tagName)[0]
  144         # TODO this part here would be easier if I had used sqlobject's RelatedJoin
  145         rows = EntryToTagLink.selectBy(tag = tagObj.id)
tagObj undefined, global BlogTag = <class 'model.BlogTag'>, BlogTag.selectBy = <bound method DeclarativeMeta.selectBy of <class 'model.BlogTag'>>, name undefined, tagName = 'pictures'
 /usr/lib/python2.5/site-packages/SQLObject-0.10.4-py2.5.egg/sqlobject/sresults.py in __getitem__(self=<SelectResults at b48710>, value=0)
  171             else:
  172                 start = self.ops.get('start', 0) + value
  173                 return list(self.clone(start=start, end=start+1))[0]
  174 
  175     def __iter__(self):
builtin list = <type 'list'>, self = <SelectResults at b48710>, self.clone = <bound method SelectResults.clone of <SelectResults at b48710>>, start = 0, end undefined

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