SaxNotRecognizedException - XMLRPC server --- fixed in 2.0.6

Asked by Ali

********* tracked on GitHub
https://github.com/RaiMan/SikuliX1/issues/426
--------------------------------

Hello,

I developped XMLRPC server based in Python and I can call Sikuli's function ( V1.1.3). I have this system since many years and it works fine.
actually, I'm trying to upgrade to Sikuli2.0.5. with Java 17. When I call any function with client XMLRPC (ex: function with only return "text") I have this error :

 xmlrpc.client.Fault: <Fault 1: "<type 'org.xml.sax.SAXException'>:org.xml.sax.SAXException: SAX2 driver class org.apache.xerces.parsers.SAXParser not found\njava.lang.ClassNotFoundException: org.apache.xerces.parsers.SAXParser">

I added xerces-2_6_2.jar to extension file of sikuli I got this error:

xmlrpc.client.Fault: <Fault 1: "<type 'org.xml.sax.SAXNotRecognizedException'>:org.xml.sax.SAXNotRecognizedException: Feature 'http://xml.org/sax/features/use-entity-resolver2' is not recognized.">
just with functoin that return a string I have this error.

Could you help me please ?

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

I am sorry, but this is a problem with Jython 2.7.2 also with other features relying SAXParser.

You have to stick with the running solution, until you might again try with 2.0.6 (no date commitment).

Revision history for this message
Ali (abou3131) said :
#2

thanks for your reply.
I'm trying to update the version to use OCR detection.

Revision history for this message
RaiMan (raimund-hocke) said :
#3

as mentioned: no solution currently.

watch the GitHub-issue for a possible workaround.

Revision history for this message
Ali (abou3131) said :
#4

thanks.

Can you help with this problem?

Provide an answer of your own, or ask Ali for more information if necessary.

To post a message you must log in.