I don't think this particular traceback has anything to do with
libxml2,
but tagByName() behaving differently on FC2 and < FC2 (seemingly a rpm,
rpm-python or python difference). The attached patch should fix this
particular case.
______________________________________________________________________
Index: dumpMetadata.py
===================================================================
RCS file: /cvsroot/metadata/cvs-root/generate/dumpMetadata.py,v
retrieving revision 1.22
diff -a -u -r1.22 dumpMetadata.py
--- dumpMetadata.py 27 Aug 2004 07:03:40 -0000 1.22
+++ dumpMetadata.py 3 Sep 2004 19:37:02 -0000
@@ -86,7 +86,9 @@
def utf8String(string):
"""hands back a unicoded string"""
- if isinstance(string, unicode):
+ if string is None:
+ return ''
+ elif isinstance(string, unicode):
return string
try:
x = unicode(string, 'ascii')
______________________________________________________________________
Thanks Ville, I'll get that applied to cvs shortly.
-sv