Seemed to install fine on Feisty Ubuntu 7:04, on python 2.5.
Running rtf2xml at the command line produced this traceback:
Traceback (most recent call last):
File "/usr/bin/rtf2xml", line 68, in <module>
import rtf2xml.ParseRtf
File "/usr/lib/python2.5/site-packages/rtf2xml/ParseRtf.py", line 96, in <module>
import rtf2xml.process_tokens,rtf2xml.delete_info
File "/usr/lib/python2.5/site-packages/rtf2xml/process_tokens.py", line 20, in <module>
import profile
ImportError: No module named profile
I commented out the imports in both process_tokens.py and correct_unicode.py (the only places this occurs), reinstalled, and it runs from the command line again.
It's probably because I don't have profile installed or something like that. I'm not a python expert, so I'm afraid I can't comment any further on what this bug is.
Filed at https://gitlab.com/mcepl/rtf2xml/issues/4 ... not that I would promise to fix it, but this project seems to be quite dead, so pushing whole project to modern repository won't hurt much.
This is weird, looking like an invalid bug … according to https://docs.python.org/2.7/library/profile.html profile module should be part of the standard library since Python 2.4.