Public bug reported:
If I install jython from aptitude the xml.etree will not work.
Steps to reproduce:
execute jython
> from xml.etree import ElementTree as ET
> ET.iterparse('some_xml_file.xml')
-> result is a traceback that says that xerces is not found.
If I install jython from installer jar distributed at jython.org, this
same command sequence will work.
I managed to get this working, by adding the following line to
/usr/bin/jython:
appendJar('/usr/share/java/xercesImpl.jar');
So it seems to me that the jython script created at installation is
missing a jar that is needed for etree xml operations.
Versions where confirmed:
Ubuntu 12.04.1 LTS
Mint 14
Package version 2.5.2-1
** Affects: jython (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1089418
Title:
xercesImpl.jar missing from classpath on jython 2.5.2-1 start script
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/jython/+bug/1089418/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs