Daniel Richard G. schrieb am 10.08.2012 um 16:51 (-0400):

> Can't reproduce here. It's not a Python-version thing; I can run
> generator.py just fine with 2.4.4.
> 
> (To Michael Ludwig: You didn't see a stack trace or anything? Could
> you poke around generator.py to see why it's returning non-zero?)

No stack trace. Here's the full output on STDOUT:

Found 1607 functions in libxml2-api.xml
Found 55 functions in libxml2-python-api.xml
Generated 889 wrapper functions, 557 failed, 216 skipped

Missing type converters: 
xmlRelaxNGValidityErrorFunc *:2  xmlXPathObjectPtr:22  const htmlEntityDesc *:2 
 xmlOutputMatchCallback:1  xmlElementContentPtr *:1  size_t:2  
xmlSchematronValidCtxtPtr:3  xmlParserInputBufferCreateFilenameFunc:2  
xmlSchemaValType:2  xmlSchemaSAXPlugPtr:1  xmlSchemaWildcardPtr:1  
xmlXIncludeCtxtPtr:4  xmlRelaxNGValidityErrorFunc:2  xmlSAXHandler *:4  ...:1  
xmlShellReadlineFunc:1  xmlDict *:1  xmlAutomataPtr:19  unsigned long:1  
xmlParserInputPtr:17  xmlCatalogAllow:2  xmlExpNodePtr:3  xmlElementContent *:1 
 xmlCharEncodingOutputFunc:1  xmlDictPtr:12  xmlTextWriterPtr:77  const 
htmlElemDesc *:1  xmlChRangeGroup *:1  xmlIDPtr:1  xmlXPathFuncLookupFunc:1  
xmlInputMatchCallback:1  xmlElementTablePtr:2  xmlChar **:16  
xmlXPathCompExprPtr:6  xmlTextReaderErrorFunc:1  xmlExternalEntityLoader:2  
xmlNotationTablePtr:2  xmlXPathVariableLookupFunc:1  xmlParserNodeInfoPtr:1  
xmlExpCtxtPtr:14  xmlPatternPtr:8  xmlC14NIsVisibleCallback:1  
xmlDeregisterNodeFunc:2  va_list:1  xmlSchemaTypePtr:9  htmlStatus:1  
xmlRegisterNodeFunc:2  xmlAttributeType:2  xmlRefPtr:1  xmlCharEncodingHandler 
*:4  xmlNotationPtr:3  xmlRegExecCallbacks:1  xmlNsPtr *:1  xmlLocationSetPtr:6 
 xmlEnumerationPtr:5  xmlModulePtr:4  xmlEnumerationPtr *:2  xmlShellCtxtPtr:10 
 xlinkNodeDetectFunc:2  xmlRefTablePtr:1  xmlStreamCtxtPtr:6  
xmlSchemaValidityErrorFunc *:2  xmlAttributeTablePtr:2  
xmlSchematronParserCtxtPtr:5  xmlCatalogPrefer:1  xmlParserNodeInfoSeqPtr:3  
xmlSchematronPtr:2  xmlNodePtr *:2  xmlInputReadCallback:7  xmlBufPtr:5  char 
**:5  xmlCharEncoding:13  xmlRegExecCtxtPtr:5  xmlElementContentType:2  void 
*:87  xmlTextReaderErrorFunc *:1  xmlSAXHandlerPtr *:1  
xmlEntityReferenceFunc:1  xmlDocPtr *:1  xmlStructuredErrorFunc:5  
xmlBufferAllocationScheme:3  xmlSchemaValidityErrorFunc:2  xmlDOMWrapCtxtPtr:6  
xmlOutputWriteCallback:1  xmlSchemaFacetPtr:7  xlinkHandlerPtr:2  
xmlSchemaValPtr:13  htmlElemDesc *:3  xmlCharEncodingHandlerPtr:7  
xmlCharEncodingInputFunc:1  xmlFeature:1  const xmlParserNodeInfo *:1  
xmlNodeSetPtr:32  xmlEntitiesTablePtr:3  xmlIDTablePtr:1  xmlXPathFunction:4  
xmlOutputBufferCreateFilenameFunc:2  xmlElementContentPtr:8  
xmlElementTypeVal:1  xlinkType:1  xmlGenericErrorFunc *:1 

And then on SDTERR:

Aborted

The script runs to completion before "Aborted" happens.

$ python -v generator.py
…
# cleanup sys
# cleanup __builtin__
# cleanup ints: 24 unfreed ints
# cleanup floats
Aborted

I don't know Python well.

Maybe due to some libraries being loaded in wrong versions?
-- 
Michael Ludwig
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
https://mail.gnome.org/mailman/listinfo/xml

Reply via email to