<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>14081</bug_id>
          
          <creation_ts>2003-01-17 00:10 0000</creation_ts>
          <short_desc>PyXML 0.7.1 + expat 1.95.4 xml.dom.minidom intern keyword error</short_desc>
          <delta_ts>2003-04-28 16:14:30 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>1.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>greg-gentoo@electricrain.com</reporter>
          <assigned_to>liquidx@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>greg-gentoo@electricrain.com</who>
            <bug_when>2003-01-17 00:10:57 0000</bug_when>
            <thetext>I have a python program that used to work fine a couple months ago but trying it
again today it fails due to a problem either with PyXML or the expat parser
module.  (python 2.2.2 ebuild and pyxml+expat versions mentioned in the summary).

Here&apos;s the relevant portion of the traceback, it looks like pyxml and expat are
out of sync?

    self.document = xml.dom.minidom.parse(filename)
  File &quot;/usr/lib/python2.2/site-packages/_xmlplus/dom/minidom.py&quot;, line 962, in
parse
    return _doparse(pulldom.parse, args, kwargs)
  File &quot;/usr/lib/python2.2/site-packages/_xmlplus/dom/minidom.py&quot;, line 954, in
_doparse
    toktype, rootNode = events.getEvent()
  File &quot;/usr/lib/python2.2/site-packages/_xmlplus/dom/pulldom.py&quot;, line 265, in
getEvent
    self.parser.feed(buf)
  File &quot;/usr/lib/python2.2/site-packages/_xmlplus/sax/expatreader.py&quot;, line 194,
in feed
    self.reset()
  File &quot;/usr/lib/python2.2/site-packages/_xmlplus/sax/expatreader.py&quot;, line 232,
in reset
    self._parser = expat.ParserCreate(None, &quot; &quot;, intern = self._interning)
TypeError: &apos;intern&apos; is an invalid keyword argument for this function</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>greg-gentoo@electricrain.com</who>
            <bug_when>2003-01-17 00:21:23 0000</bug_when>
            <thetext>PyXML 0.8.1 doesn&apos;t have this problem.  (emerged using &quot;ACCEPT_KEYWORD=&apos;~x86&apos;
sudo emerge PyXML&quot;)
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>xplo@xplo.org</who>
            <bug_when>2003-01-18 08:16:49 0000</bug_when>
            <thetext>I had the same problem, upgraded to 0.8.1 and the errormessage has changed now.

    # 
IncrementalParser methods
  File &quot;/usr/lib/python2.2/site-
packages/_xmlplus/sax/expatreader.py&quot;, line 232, in reset
    parser.CommentHandler = 
None
TypeError: &apos;intern&apos; is an invalid keyword argument for this function

(NOTE: the 
above output is from 0.8.1, NOT from 0.7.1)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>blauwers@gentoo.org</who>
            <bug_when>2003-04-19 19:34:19 0000</bug_when>
            <thetext>I have no idea what this might be. Has anyone had any luck fixing this?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>liquidx@gentoo.org</who>
            <bug_when>2003-04-24 16:47:09 0000</bug_when>
            <thetext>it looks like a pyxml and expat incompatibility.

pyxml-0.8.1 isn&apos;t compatible with expat-1.95.6.

i&apos;m committing pyxml-0.8.2, please emerge that and see if it helps you</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>liquidx@gentoo.org</who>
            <bug_when>2003-04-28 16:14:30 0000</bug_when>
            <thetext>please reopen if you are still having problems with this.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>