unable to run producer_config.xcfg

16 views
Skip to first unread message

jaimi...@gmail.com

unread,
Jul 25, 2013, 7:52:04 AM7/25/13
to augustu...@googlegroups.com
Hi,

when I try the command Augustus producer_config.xcfg I get errors as below.
What am I doing wrong?

Thanks in advance,
Jaimini.

 Augustus producer_config.xcfg
/usr/lib/python2.6/site-packages/augustus/core/xmlbase.py:629: DeprecationWarning: Note to self: remember to change all xml.exists() to xml.contains()
  warnings.warn("Note to self: remember to change all xml.exists() to xml.contains()", DeprecationWarning)
root     : INFO     Loading PMML model.
Traceback (most recent call last):
  File "/usr/bin/Augustus", line 171, in <module>
    main(config)
  File "/usr/lib/python2.6/site-packages/augustus/engine/mainloop.py", line 532, in main
    mainLoop = MainLoop(configuration, dataStream=dataStream, rethrowExceptions=rethrowExceptions)
  File "/usr/lib/python2.6/site-packages/augustus/engine/mainloop.py", line 150, in __init__
    self.model = xmlbase.loadfile(fileLocation, pmml.X_ODG_PMML, lineNumbers=True)
  File "/usr/lib/python2.6/site-packages/augustus/core/xmlbase.py", line 1628, in loadfile
    return load(file(fileName), base, validation, dropSpecial, lineNumbers)
  File "/usr/lib/python2.6/site-packages/augustus/core/xmlbase.py", line 1807, in load
    parser.parse(stream)
  File "/usr/lib64/python2.6/xml/sax/expatreader.py", line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/usr/lib64/python2.6/xml/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/usr/lib64/python2.6/xml/sax/expatreader.py", line 207, in feed
    self._parser.Parse(data, isFinal)
  File "/usr/lib64/python2.6/xml/sax/expatreader.py", line 304, in end_element
    self._cont_handler.endElement(name)
  File "/usr/lib/python2.6/site-packages/augustus/core/xmlbase.py", line 1728, in endElement
    raise XMLValidationError("%sXMLValidationError: %s." % (stacktrace, str(err)))
augustus.core.xmlbase.XMLValidationError: Below is a traceback to the line that caused the actual exception.
  File "/usr/lib/python2.6/site-packages/augustus/core/xmlbase.py", line 1721, in endElement
    last.validate(recurse=False, exception=True)
  File "/usr/lib/python2.6/site-packages/augustus/core/xmlbase.py", line 872, in validate
    self.xsd.validate(self)
  File "/usr/lib/python2.6/site-packages/augustus/core/xmlbase.py", line 1579, in validate
    xml.post_validate()
  File "/usr/lib/python2.6/site-packages/augustus/core/pmml41.py", line 1656, in post_validate
    pmmlApply.top_validate_transformationDictionary(self.transformationDictionary)
  File "/usr/lib/python2.6/site-packages/augustus/core/pmml41.py", line 7092, in top_validate_transformationDictionary
    raise PMMLValidationError("Apply function \"%s\" not recognized (not built-in and not user-defined)" % function)
XMLValidationError: Apply function "formatDateTime" not recognized (not built-in and not user-defined).

Collin Bennett

unread,
Jul 25, 2013, 11:44:10 AM7/25/13
to augustu...@googlegroups.com, jaimi...@gmail.com
Can you tell me which version of Augustus you are using?  Is it 0.5.3.0?

Collin.
Reply all
Reply to author
Forward
0 new messages