Menu

#137 ech2javadoc exception in SVG-to-SVG translation

open
5
2012-03-22
2012-03-22
Tom Smith
No

Run 'mvn site' on examples/queueManager for one example of this problem:

Exception encountered in SVG-to-SVG translation of: /Users/tsmith/cantata/HEAD/cantatasrc/EChartsSipServlet/examples/queueManager/src/main/ech/com/att/example/queueManager/ManageCallerMachine.ech
Unhandled exception in thread started by <function doctranslatesvg at 0x7153b0>
Traceback (most recent call last):
File "/Users/tsmith/cantata/HEAD/cantatasrc/EChartsSipServlet/examples/queueManager/target/edk/lib/docmachine/docmachine.py", line 519, in doctranslatesvg
ech2javadoc: writing /Users/tsmith/cantata/HEAD/cantatasrc/EChartsSipServlet/examples/queueManager/target/site/apidocs/com/att/example/queueManager/doc-files/ManageCallerMachine.svg
parser.parse(dotout)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/sax/xmlreader.py", line 125, in parse
self.close()
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/sax/expatreader.py", line 217, in close
self.feed("", isFinal = 1)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/sax/expatreader.py", line 211, in feed
self._err_handler.fatalError(exc)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/sax/handler.py", line 38, in fatalError
raise exception
xml.sax._exceptions.SAXParseException: <fdopen>:1:0: no element found
Exception encountered in SVG-to-SVG translation of: /Users/tsmith/cantata/HEAD/cantatasrc/EChartsSipServlet/examples/queueManager/src/main/ech/com/att/example/queueManager/QueueManagerMachine.ech
Unhandled exception in thread started by <function doctranslatesvg at 0x7153b0>
Traceback (most recent call last):
File "/Users/tsmith/cantata/HEAD/cantatasrc/EChartsSipServlet/examples/queueManager/target/edk/lib/docmachine/docmachine.py", line 519, in doctranslatesvg
ech2javadoc: writing /Users/tsmith/cantata/HEAD/cantatasrc/EChartsSipServlet/examples/queueManager/target/site/apidocs/com/att/example/queueManager/doc-files/QueueManagerMachine.svg
parser.parse(dotout)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/sax/xmlreader.py", line 125, in parse
self.close()
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/sax/expatreader.py", line 217, in close
self.feed("", isFinal = 1)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/sax/expatreader.py", line 211, in feed
self._err_handler.fatalError(exc)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/sax/handler.py", line 38, in fatalError
raise exception
xml.sax._exceptions.SAXParseException: <fdopen>:1:0: no element found

Discussion

  • Gregory W Bond

    Gregory W Bond - 2012-03-27

    tom- please update the description with the version of graphviz you are using

    greg

     
  • Tom Smith

    Tom Smith - 2012-03-27

    $ dot -V
    dot - Graphviz version 2.14.1 (Fri Nov 9 08:19:38 GMT 2007)

     
  • Philip Isenhour

    Philip Isenhour - 2012-03-27

    I haven't been able to reproduce this with 2.28.0 or 2.16.1. yaris has 2.28.0.

     

Log in to post a comment.