Sorry, I forgot to add the error-message:

[error] script [ T13 ] stopped with error in line 3
[error] java.lang.ClassNotFoundException ( org.apache.xerces.parsers.SAXParser )
[error] --- Traceback --- error source first
line: module ( function ) statement 
91: expat (  __init__ )     self._reader = 
XMLReaderFactory.createXMLReader(_xerces_parser_name)
59: expat (  ParserCreate )     return XMLParser(encoding, namespace_separator)
1480: ElementTree (  __init__ )     parser = expat.ParserCreate(encoding, "}")
1312: ElementTree (  XML )     parser = XMLParser(target=TreeBuilder())
3: main (  <module> )     myroot = ET.fromstring(data)
[error] --- Traceback --- end --------------

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1917722

Title:
  myroot = ET.fromstring(data) generates an error using SikuliX 2.0.5
  IDE

Status in Sikuli:
  New

Bug description:
  Hello,

  the following program generates an error in version 2.0.5 :

  import xml.etree.ElementTree as ET
  data="<food><item 
name='breakfast'>Idly</item><price>$2.5</price><description>   Two idlys with 
chutney   </description><calories>553</calories></food>"
  myroot = ET.fromstring(data)

  print(myroot.tag)

  Version 2.0.4 works as expected.

  Regards
  Rolf

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1917722/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to