[Zope] ParsedXML trouble
List Subscriber @ Neurobs
list_subscriber@neurobs.com
Thu, 15 Aug 2002 05:39:51 -0700
Did all of that ... including a complete reinstall of distutils ...
still the same error on adding a new ParsedXML object...
PyXML installed perfectly.
ParsedXML installed perfectly
It just quits with the error:
Error Type: SystemError
Error Value: Python/compile.c:265: bad argument to internal function
Traceback (innermost last):
File /var/local/zope/leonardo/lib/python/ZPublisher/Publish.py, line 150, in publish_module
File /var/local/zope/leonardo/lib/python/ZPublisher/Publish.py, line 114, in publish
File /var/local/zope/leonardo/lib/python/Zope/__init__.py, line 159, in zpublisher_exception_hook
File /var/local/zope/leonardo/lib/python/ZPublisher/Publish.py, line 98, in publish
File /var/local/zope/leonardo/lib/python/ZPublisher/mapply.py, line 88, in mapply
(Object: manage_addParsedXML)
File /var/local/zope/leonardo/lib/python/ZPublisher/Publish.py, line 39, in call_object
(Object: manage_addParsedXML)
File /var/local/zope/leonardo/lib/python/Products/ParsedXML/ParsedXML.py, line 121, in manage_addParsedXML
File /var/local/zope/leonardo/lib/python/Products/ParsedXML/ParsedXML.py, line 193, in __init__
(Object: sdfsdaf)
File /var/local/zope/leonardo/lib/python/Products/ParsedXML/ParsedXML.py, line 148, in createDOMDocument
File /var/local/zope/leonardo/lib/python/Products/ParsedXML/DOM/ExpatBuilder.py, line 910, in parse
File /var/local/zope/leonardo/lib/python/Products/ParsedXML/DOM/ExpatBuilder.py, line 232, in parseFile
SystemError: (see above)
and I have no idea where that is coming from...
Anyway thanks,
AM
Dennis Allison wrote:
>Hmmm... Parsed XML is a Zope Product. It goes into PRODUCTS_HOME
>(INSTANCE_HOME/lib/pythonProducts) or should be symbolically linked
>there. Simply unpack it there, go to the Control Panel using the
>ZMI and restart Zope. You should see it in the products listing and
>it should not be broken.
>
>Installing PyXML into the Python Zope should be straightforward.
>Unpack the directory and then, using the python in INSTANCE_HOME/bin
>run
> ..... setup.py build
> ..... setup.py install
>
>Here ..... is the path to PyXML and into PyXML to the setup program.
>PyXML uses distutils which is part of the python library for python
>2.X.
>
>
>_______________________________________________
>Zope maillist - Zope@zope.org
>http://lists.zope.org/mailman/listinfo/zope
>** No cross posts or HTML encoding! **
>(Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
>
>