[Zope] ParsedXML trouble

List Subscriber @ Neurobs list_subscriber@neurobs.com
Thu, 15 Aug 2002 06:09:29 -0700


I dont even dare to add somthing programmatically if I havent been able 
to test adding it via ZMI... :)
The error is generated when trying to add it via ZMI...

I tried adding it with an XML filr and without, also tried parsing with 
namespace option and without... all of them present the same error...

line 232 essentially starts parsing the file ... and it fails there....

So what next??
TIA
AM

Dennis Allison wrote:

>>Date: Thu, 15 Aug 2002 05:39:51 -0700
>>From: "List Subscriber @ Neurobs" <list_subscriber@neurobs.com>
>>Subject: Re: [Zope] ParsedXML trouble
>>
>>Did all of that ... including a complete reinstall of distutils ... 
>>still the same error on adding a  new ParsedXML object...
>>
>>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/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...
>>
>
>Well, it's coming from line 232 in ParsedXML/DOM/ExpatBuilder.py :-)    I
>suspect the problem may be your input and/or how you are using the product
>rather than with the product itself.  Are you adding the ParsedXML object
>programatically or through the ZMI?  Can you create ParsedXML objects
>through the ZMI?
>
>
>.
>