<html><head><title>Re: [Ironpython-users] SAXReaderNotAvailable: No parsers found</title>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
</head>
<body>
<span style=" font-family:'Courier New'; font-size: 9pt;">I copied xml\sax\expatreader.py  from cpython to ipython lib and ods lib works<br>
<br>
</span><table>
<tr>
<td width=2 bgcolor= #0000ff><br>
</td>
<td><span style=" font-family:'courier new'; font-size: 9pt;">If it's using the generic SAX parser it shouldn't be trying to use expat, but I think that workaround was only added in 2.7.4. Try using a newer version of IronPython and see if that helps.<br>
<br>
- Jeff<br>
<br>
<br>
On Tue, Jul 15, 2014 at 3:08 PM, Slide <</span><a style=" font-family:'courier new'; font-size: 9pt;" href="mailto:slide.o.mix@gmail.com">slide.o.mix@gmail.com</a><span style=" font-family:'courier new'; font-size: 9pt;">> wrote:<br>
I believe that tries to use expat under the covers and IronPython doesn't support expat. It's a native module in CPython, and there is no implementation in IronPython. You can try the implementation from FePy, but it is very old, so it may not run out of the box, you may need to modify it to get it to work (and it doesn't implement everything in pyexpat).<br>
<br>
<br>
On Tue, Jul 15, 2014 at 6:47 AM, <</span><a style=" font-family:'courier new'; font-size: 9pt;" href="mailto:ecinunice@gmail.com">ecinunice@gmail.com</a><span style=" font-family:'courier new'; font-size: 9pt;">> wrote:<br>
Hi I try use simple ods py<br>
</span><a style=" font-family:'courier new'; font-size: 9pt;" href="http://simple-odspy.sourceforge.net/?q=node/9">http://simple-odspy.sourceforge.net/?q=node/9</a><span style=" font-family:'courier new'; font-size: 9pt;"> and get<br>
xml.sax._exceptions.SAXReaderNotAvailable: No parsers found<br>
<br>
Traceback (most recent call last): File<br>
"\IronPython-2.7.3\lib\site-packages\odf\opendocument.py", line 615,<br>
in load File "\IronPython-2.7.3\lib\site-packages\odf\odfmanifest.py",<br>
line 93, in manifestlist File "<string>", line 1, in <module> File<br>
"\IronPython-2.7.3\lib\site-packages\simpleodspy\sodsods.py", line<br>
158, in load File "\IronPython-2.7.3\Lib\xml\sax\__init__.py", line<br>
93, in make_parser xml.sax._exceptions.SAXReaderNotAvailable: No<br>
parsers found<br>
<br>
Is there any workaround? Can i use<br>
</span><a style=" font-family:'courier new'; font-size: 9pt;" href="http://ironpython.codeplex.com/workitem/20023">http://ironpython.codeplex.com/workitem/20023</a><span style=" font-family:'courier new'; font-size: 9pt;"> ?<br>
<br>
_______________________________________________<br>
Ironpython-users mailing list<br>
</span><a style=" font-family:'courier new'; font-size: 9pt;" href="mailto:Ironpython-users@python.org">Ironpython-users@python.org</a><br>
<a style=" font-family:'courier new'; font-size: 9pt;" href="https://mail.python.org/mailman/listinfo/ironpython-users">https://mail.python.org/mailman/listinfo/ironpython-users</a><br>
<br>
<br>
<br>
<span style=" font-family:'courier new'; font-size: 9pt; color: #888888;">-- <br>
Website: </span><a style=" color: #888888; font-family:'courier new'; font-size: 9pt;" href="http://earl-of-code.com">http://earl-of-code.com</a><br>
<br>
<span style=" font-family:'courier new'; font-size: 9pt;">_______________________________________________<br>
Ironpython-users mailing list<br>
</span><a style=" font-family:'courier new'; font-size: 9pt;" href="mailto:Ironpython-users@python.org">Ironpython-users@python.org</a><br>
<a style=" font-family:'courier new'; font-size: 9pt;" href="https://mail.python.org/mailman/listinfo/ironpython-users">https://mail.python.org/mailman/listinfo/ironpython-users</a><br>
</td>
</tr>
</table>
</body></html>