View Single Post
Old 06-03-2008, 03:48 PM   #61
kergoth
Junior Member
kergoth began at the beginning.
 
Posts: 6
Karma: 10
Join Date: May 2008
Device: Sony PRS-505
I'm getting an error trying to use this:

Code:
clarson@foul mine home#mv!187caf1$ pi_format.py mine.conf 
Traceback (most recent call last):
  File "/home/clarson/Desktop/pi/pi/bin/pi_format.py", line 59, in <module>
    test_all(sys.argv[1])
  File "/home/clarson/Desktop/pi/pi/bin/pi_format.py", line 15, in test_all
    doc = pi.Doc(conf)
  File "/home/clarson/Desktop/pi/pi/bin/pi.py", line 1091, in __init__
    self.get_avg_page_stat()
  File "/home/clarson/Desktop/pi/pi/bin/pi.py", line 1144, in get_avg_page_stat
    self.avg_lh = middle(avg_lhs)
  File "/home/clarson/Desktop/pi/pi/bin/pi.py", line 58, in middle
    return sl[(len(sl) + 1) / 2]
IndexError: list index out of range
kergoth is offline   Reply With Quote