[ python-Bugs-811070 ] Py2.2.3: Problem with Expat/XML/Zope on MacOSX 10.2.8

SourceForge.net noreply at sourceforge.net
Thu Nov 20 08:13:06 EST 2003


Bugs item #811070, was opened at 2003-09-23 06:00
Message generated for change (Comment added) made by fdrake
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=811070&group_id=5470

Category: XML
Group: Python 2.2.3
>Status: Pending
Resolution: None
Priority: 5
Submitted By: Andreas Jung (ajung)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: Py2.2.3: Problem with Expat/XML/Zope on MacOSX 10.2.8

Initial Comment:
Trying to run Python 2.2.3 under MacOSX with Zope fails:

Python has been built against the latest Expat Sources
(1.96.6)

Traceback (most recent call last):
  File
"/Users/ajung/sandboxes/plone1.1/Zope/lib/python/Zope/Startup/run.py",
line 14, in ?
    run()
  File
"/Users/ajung/sandboxes/plone1.1/Zope/lib/python/Zope/Startup/run.py",
line 8, in run
    opts.realize()
  File
"/Users/ajung/sandboxes/plone1.1/Zope/lib/python/zdaemon/zdoptions.py",
line 257, in realize
    self.load_schema()
  File
"/Users/ajung/sandboxes/plone1.1/Zope/lib/python/zdaemon/zdoptions.py",
line 298, in load_schema
    self.schema = ZConfig.loadSchema(self.schemafile)
  File
"/Users/ajung/sandboxes/plone1.1/Zope/lib/python/ZConfig/loader.py",
line 36, in loadSchema
    return SchemaLoader().loadURL(url)
  File
"/Users/ajung/sandboxes/plone1.1/Zope/lib/python/ZConfig/loader.py",
line 70, in loadURL
    return self.loadResource(r)
  File
"/Users/ajung/sandboxes/plone1.1/Zope/lib/python/ZConfig/loader.py",
line 134, in loadResource
    self.registry, self)
  File
"/Users/ajung/sandboxes/plone1.1/Zope/lib/python/ZConfig/schema.py",
line 42, in parseResource
    xml.sax.parse(resource.file, parser)
  File
"/opt/python-2.2.3/lib/python2.2/site-packages/_xmlplus/sax/__init__.py",
line 31, in parse
    parser.parse(filename_or_stream)
  File
"/opt/python-2.2.3/lib/python2.2/site-packages/_xmlplus/sax/expatreader.py",
line 106, in parse
    self.reset()
  File
"/opt/python-2.2.3/lib/python2.2/site-packages/_xmlplus/sax/expatreader.py",
line 261, in reset
    self._parser = expat.ParserCreate(intern =
self._interning)
TypeError: 'intern' is an invalid keyword argument for
this function


----------------------------------------------------------------------

>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2003-11-20 08:13

Message:
Logged In: YES 
user_id=3066

It looks like you have a broken PyXML installation, but it's
difficult to tell.  What version of PyXML do you have installed?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=811070&group_id=5470



More information about the Python-bugs-list mailing list