Title: Re: [Ironpython-users] SAXReaderNotAvailable: No parsers found
I copied xml\sax\expatreader.py  from cpython to ipython lib and ods lib works


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.

- Jeff


On Tue, Jul 15, 2014 at 3:08 PM, Slide <
slide.o....@gmail.com> wrote:
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).


On Tue, Jul 15, 2014 at 6:47 AM, <
ecinun...@gmail.com> wrote:
Hi I try use simple ods py
http://simple-odspy.sourceforge.net/?q=node/9 and get
xml.sax._exceptions.SAXReaderNotAvailable: No parsers found

Traceback (most recent call last): File
"\IronPython-2.7.3\lib\site-packages\odf\opendocument.py", line 615,
in load File "\IronPython-2.7.3\lib\site-packages\odf\odfmanifest.py",
line 93, in manifestlist File "<string>", line 1, in <module> File
"\IronPython-2.7.3\lib\site-packages\simpleodspy\sodsods.py", line
158, in load File "\IronPython-2.7.3\Lib\xml\sax\__init__.py", line
93, in make_parser xml.sax._exceptions.SAXReaderNotAvailable: No
parsers found

Is there any workaround? Can i use
http://ironpython.codeplex.com/workitem/20023 ?

_______________________________________________
Ironpython-users mailing list
Ironpython-users@python.org
https://mail.python.org/mailman/listinfo/ironpython-users



--
Website:
http://earl-of-code.com

_______________________________________________
Ironpython-users mailing list
Ironpython-users@python.org
https://mail.python.org/mailman/listinfo/ironpython-users
_______________________________________________
Ironpython-users mailing list
Ironpython-users@python.org
https://mail.python.org/mailman/listinfo/ironpython-users

Reply via email to