← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #698733]: [2.0.5] xlrd: ClassNotFoundException ( org.apache.xerces.parsers.SAXParser )

 

Question #698733 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/698733

    Status: Open => Answered

RaiMan proposed the following answer:
I have no solution for you with the current implementation of SikuliX
2.0.5.

1. the bundled Jython slim version does not contain the Xerces project 
2. Using Jython standalone 2.7.2 might not work, due to possible class path clashes
3. Jython 2.7.x generally has a problem using the Xerces project (this is due to a basic problem inside the SAX implementation in the Xerces project)

Nevertheless you might try, to run your scripts with Jython directly,
having SikuliX on the class path (only needed if SikuliX features are
used in the script).

Alternatively, you might delegate the xl... usage to a subprocess of
native Python.

As a consequence I will remove the bundled xl... components from SikuliX in 2.0.6. 
And 2.0.6 will have a solution, to use Jython standalone as the script runner from command line (which will restrict the useable SikuliX API to the core features)

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.