id	summary	reporter	owner	description	type	status	priority	component	severity	resolution	keywords	cc	release
1736	getting it to work under Python 2.5	coenen.rob@gmail.com	cdevienne	First my plugin did not work at all (it did not show uo in WebAdmin -> Plugins) Then I figured that b/c I am using Python 2.5 I need to change the import statement si replaced in pagetoodt.py\r\n\r\n#import cElementTree as ElementTree\r\n\r\nwith\r\n\r\nfrom xml.etree.ElementTree import Element, ElementTree # python 2.5\r\n\r\nnote that I am a total Python newbie... at least the plugin shows up in the WebAdmin -> Plugins menu now and it is activated... .but now I have the same problem as described above.\r\n\r\nBut now I get this error:\r\n\r\n{{{\r\nPython Traceback\r\n\r\nTraceback (most recent call last):\r\n  File "/var/lib/python-support/python2.5/trac/web/main.py", line 387, in dispatch_request\r\n    dispatcher.dispatch(req)\r\n  File "/var/lib/python-support/python2.5/trac/web/main.py", line 237, in dispatch\r\n    resp = chosen_handler.process_request(req)\r\n  File "/var/lib/python-support/python2.5/trac/wiki/web_ui.py", line 134, in process_request\r\n    page.text, format, page.name)\r\n  File "/var/lib/python-support/python2.5/trac/mimeview/api.py", line 604, in send_converted\r\n    content, selector)\r\n  File "/var/lib/python-support/python2.5/trac/mimeview/api.py", line 384, in convert_content\r\n    output = converter.convert_content(req, mimetype, content, ck)\r\n  File "build/bdist.linux-i686/egg/pagetoodt/pagetoodt.py", line 30, in convert_content\r\n    archive = zipfile.ZipFile(self.template_filename, 'r')\r\n  File "zipfile.py", line 339, in __init__\r\n    self.fp = open(file, modeDict[mode])\r\nIOError: [Errno 2] No such file or directory: u'/var/www/trac/pwc/attachments/wiki/PageToOdtStyles/empty.odt'\r\n\r\n}}}\r\n	defect	closed	high	PageToOdtPlugin	blocker	fixed	python 2.5		0.10
