KeyError's for various wiki feeds

Girod, Marc marc.girod at iona.com
Fri Aug 10 21:13:24 EST 2007


Hi,

Sorry, I am working from home today,
thus using my Outlook mail, which resulted in delays
with the list administration...

> That looks like you installed a version of libxml2 which was compiled 
> for Python 2.4, but you are running Python 2.5.

I have been trying to fix that, but with no success so far:

venus> cd /tmp
tmp> tar jxf ~/tmp/rpms/libxml2-2.6.27.tar.bz2
tmp> cd libxml2-2.6.27
libxml2-2.6.27> ./configure
libxml2-2.6.27> make
libxml2-2.6.27> cd /usr/local/lib/python2.5/site-packages/
site-packages> find . -type l
./libxml2mod.la
./drv_libxml2.py
./libxml2mod.a
./libxml2mod.so
./libxml2.py
site-packages> find . -type l | xargs sudo rm
site-packages> cd -
/tmp/libxml2-2.6.27
libxml2-2.6.27> sudo make install
libxml2-2.6.27> cd /home/mgirod/tmp/bzr/venus/venus
venus> python runtests.py | head -1
libxml2 is not available => can't test xpath_sifter
venus> cd /tmp/libxml2-2.6.27
libxml2-2.6.27> cd python
python> python setup.py build
/usr/local/lib/python2.5/xmllib.py:9: DeprecationWarning: The xmllib
module is obsolete.  Use xml.sax instead.
  warnings.warn("The xmllib module is obsolete.  Use xml.sax instead.",
DeprecationWarning)
Found 1593 functions in libxml2-api.xml
Found 53 functions in libxml2-python-api.xml
Generated 877 wrapper functions, 555 failed, 214 skipped

Missing type converters: 
xmlRelaxNGValidityErrorFunc *:2  xmlXPathObjectPtr:22  const
htmlEntityDesc *:2  xmlOutputMatchCallback:1  xmlElementContentPtr *:1
xmlStructuredErrorFunc:5  xmlSchematronValidCtxtPtr:2
xmlParserInputBufferCreateFilenameFunc:2  xmlSchemaValType:2  size_t:1
xmlEnumerationPtr:5  xmlSchemaWildcardPtr:1  xmlXIncludeCtxtPtr:4
xmlRelaxNGValidityErrorFunc:2  xmlSAXHandler *:4  ...:1
xmlShellReadlineFunc:1  xmlDict *:1  xmlAutomataPtr:19
xmlParserInputPtr:17  xmlCatalogAllow:2  xmlExpNodePtr:3
xmlElementContent *:1  xmlCharEncodingOutputFunc:1  xmlDictPtr:10
xmlTextWriterPtr:77  const htmlElemDesc *:1  xmlChRangeGroup *:1
xmlIDPtr:1  xmlSchemaValPtr:13  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  xmlSaveCtxtPtr:8  xmlRegExecCallbacks:1  xmlNsPtr *:1
xmlLocationSetPtr:6  xmlSchemaSAXPlugPtr:1  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  char **:5  xmlCharEncoding:13
xmlRegExecCtxtPtr:5  xmlElementContentType:2  void *:86
xmlTextReaderErrorFunc *:1  xmlSAXHandlerPtr *:1
xmlEntityReferenceFunc:1  xmlDocPtr *:1  xmlBufferAllocationScheme:3
xmlSchemaValidityErrorFunc:2  xmlDOMWrapCtxtPtr:6
xmlOutputWriteCallback:2  xmlSchemaFacetPtr:7  xlinkHandlerPtr:2
xmlXPathFuncLookupFunc:1  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 
libxslt stub generator not found, libxslt not built
/usr/local/lib/python2.5/distutils/dist.py:247: UserWarning: 'licence'
distribution option is deprecated; use 'license'
  warnings.warn(msg)
running build
[...]
python> sudo python setup.py install
libxslt stub generator not found, libxslt not built
/usr/local/lib/python2.5/distutils/dist.py:247: UserWarning: 'licence'
distribution option is deprecated; use 'license'
  warnings.warn(msg)
running install
running build
running build_py
running build_ext
running install_lib
copying build/lib.linux-i686-2.5/drv_libxml2.py ->
/usr/local/lib/python2.5/site-packages
copying build/lib.linux-i686-2.5/libxml2mod.so ->
/usr/local/lib/python2.5/site-packages
copying build/lib.linux-i686-2.5/libxml2.py ->
/usr/local/lib/python2.5/site-packages
byte-compiling /usr/local/lib/python2.5/site-packages/drv_libxml2.py to
drv_libxml2.pyc
byte-compiling /usr/local/lib/python2.5/site-packages/libxml2.py to
libxml2.pyc
running install_egg_info
Writing
/usr/local/lib/python2.5/site-packages/libxml2_python-2.6.27-py2.5.egg-i
nfo
python> cd /home/mgirod/tmp/bzr/venus/venus
venus> python runtests.py | head -1
libxml2 is not available => can't test xpath_sifter
venus> cat /etc/ld.so.conf
include ld.so.conf.d/*.conf
/usr/X11R6/lib
venus> ldconfig -p | grep /usr/local/lib
venus> sudo bash -c "echo /usr/local/lib >> /etc/ld.so.conf"
venus> python runtests.py | head -1
libxml2 is not available => can't test xpath_sifter
venus> ldconfig -p | grep libxml2
	libxml2.so.2 (libc6) => /usr/lib/libxml2.so.2
	libxml2.so (libc6) => /usr/lib/libxml2.so
venus> env | egrep ^LD
venus> export LD_RUN_PATH=/usr/local/lib
venus> python runtests.py | head -1
libxml2 is not available => can't test xpath_sifter
venus> sudo updatedb
venus> locate libxml2 | grep /lib/libxml2
/usr/lib/libxml2.a
/usr/lib/libxml2.so.2.6.16
/usr/lib/libxml2.so.2
/usr/lib/libxml2.la
/usr/lib/libxml2.so
/usr/local/lib/libxml2.a
/usr/local/lib/libxml2.so.2.6.27
/usr/local/lib/libxml2.so.2
/usr/local/lib/libxml2.la
/usr/local/lib/libxml2.so

Sorry, I'm stuck again.
Maybe I should pay more attention to the build failures...

Marc

----------------------------
IONA Technologies PLC (registered in Ireland)
Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland


More information about the devel mailing list