xercesImpl.jar missing from classpath on jython 2.5.2-1 start script
Bug #1089418 reported by
Jussi Malinen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
jython (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
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(
-> 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(
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
To post a comment you must log in.
Oh, my mistake, I reported wrong ubuntu version there.
This problem is verified on these platforms:
Ubuntu 12.10
Mint 14
On Ubuntu 12.04.1 the jython version was 2.5.1-2 where this problem is not present.
Sorry for the confusion.