--> --> -->
 
 
<type 'exceptions.IndexError'>
Python 2.5.2: /usr/bin/python
Fri May 16 14:50:33 2008

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /www/patrick/poststreet/src/poststreet.cgi in ()
  286         REQUEST_ACTION=REQUEST_URI[len(cfg["cgiURL"]):].lstrip("/")
  287     else:
  288         raise Exception("Don't know how to process URL")
  289     output_stories(REQUEST_ACTION)
  290     
output_stories = <function output_stories at 0x85ea534>, REQUEST_ACTION = 'archives/000128.html'
 /www/patrick/poststreet/src/poststreet.cgi in output_stories(action='archives/000128.html')
  250         entries = get_tag_stories("/".join(actions[1:]))
  251     else:
  252         category, entries, singleEntry = get_category_stories("/".join(actions))
  253 
  254 
category = None, entries undefined, singleEntry = False, global get_category_stories = <function get_category_stories at 0x85ea4c4>, "/".join undefined, actions = ['archives', '000128.html']
 /www/patrick/poststreet/src/poststreet.cgi in get_category_stories(storypath='archives/000128.html')
  192     category = None
  193     for cat in actions:
  194         category = Category.select(AND(Category.q.name==cat, Category.q.parent==category))[0]
  195     # now, we know the category, go through and get all of the children
  196     catIds = [x.id for x in category.allChildren()]
category = None, global Category = <class 'db.Category'>, Category.select = <bound method DeclarativeMeta.select of <class 'db.Category'>>, global AND = <function AND at 0x8451304>, Category.q = category, Category.q.name = category.name, cat = 'archives', Category.q.parent = category.parent_id
 /usr/lib/python2.5/site-packages/SQLObject-0.10.0-py2.5.egg/sqlobject/sresults.py in __getitem__(self=<SelectResults at 860c28c>, 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 860c28c>, self.clone = <bound method SelectResults.clone of <SelectResults at 860c28c>>, start = 0, end undefined

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