brendonh / pyth

Python text markup and conversion

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rtf reading example broken?

staytuned opened this issue · comments

Hi, I've just cloned repo and tried to run rtf reading example. Error:

Traceback (most recent call last):
File "D:\dev\soft\pyth\rtf15.py", line 11, in
doc = Rtf15Reader.read(open(filename))
File "D:\dev\soft\pyth\pyth\plugins\rtf15\reader.py", line 103, in read
return reader.go()
File "D:\dev\soft\pyth\pyth\plugins\rtf15\reader.py", line 124, in go
self.parse()
File "D:\dev\soft\pyth\pyth\plugins\rtf15\reader.py", line 143, in parse
self.group = self.stack[-1]
IndexError: list index out of range