First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 14081
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Alastair Tse (RETIRED) <liquidx@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Gregory P. Smith <greg-gentoo@electricrain.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 14081 depends on: Show dependency tree
Show dependency graph
Bug 14081 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-01-17 00:10 0000
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'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 "/usr/lib/python2.2/site-packages/_xmlplus/dom/minidom.py", line 962, in
parse
    return _doparse(pulldom.parse, args, kwargs)
  File "/usr/lib/python2.2/site-packages/_xmlplus/dom/minidom.py", line 954, in
_doparse
    toktype, rootNode = events.getEvent()
  File "/usr/lib/python2.2/site-packages/_xmlplus/dom/pulldom.py", line 265, in
getEvent
    self.parser.feed(buf)
  File "/usr/lib/python2.2/site-packages/_xmlplus/sax/expatreader.py", line
194,
in feed
    self.reset()
  File "/usr/lib/python2.2/site-packages/_xmlplus/sax/expatreader.py", line
232,
in reset
    self._parser = expat.ParserCreate(None, " ", intern = self._interning)
TypeError: 'intern' is an invalid keyword argument for this function

------- Comment #1 From Gregory P. Smith 2003-01-17 00:21:23 0000 -------
PyXML 0.8.1 doesn't have this problem.  (emerged using "ACCEPT_KEYWORD='~x86'
sudo emerge PyXML")

------- Comment #2 From Samuel Graenacher 2003-01-18 08:16:49 0000 -------
I had the same problem, upgraded to 0.8.1 and the errormessage has changed now.

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

(NOTE: the 
above output is from 0.8.1, NOT from 0.7.1)

------- Comment #3 From Bart Lauwers (RETIRED) 2003-04-19 19:34:19 0000 -------
I have no idea what this might be. Has anyone had any luck fixing this?

------- Comment #4 From Alastair Tse (RETIRED) 2003-04-24 16:47:09 0000 -------
it looks like a pyxml and expat incompatibility.

pyxml-0.8.1 isn't compatible with expat-1.95.6.

i'm committing pyxml-0.8.2, please emerge that and see if it helps you

------- Comment #5 From Alastair Tse (RETIRED) 2003-04-28 16:14:30 0000 -------
please reopen if you are still having problems with this.

First Last Prev Next    No search results available      Search page      Enter new bug