This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Py2.2.3: Problem with Expat/XML/Zope on MacOSX 10.2.8
Type: Stage:
Components: XML Versions: Python 2.2
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: fdrake Nosy List: ajung, fdrake
Priority: normal Keywords:

Created on 2003-09-23 10:00 by ajung, last changed 2022-04-10 16:11 by admin. This issue is now closed.

Messages (2)
msg18286 - (view) Author: Andreas Jung (ajung) Date: 2003-09-23 10:00
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
msg18287 - (view) Author: Fred Drake (fdrake) (Python committer) Date: 2003-11-20 13:13
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?
History
Date User Action Args
2022-04-10 16:11:18adminsetgithub: 39281
2003-09-23 10:00:13ajungcreate