|
From: <Cha...@Al...> - 2004-01-06 20:50:57
|
Thanks for the quick reply... i'm confused.. isn't minidom under _xmlplus? how would i uninstall _xmlplus then? (i should mention i know nothing about python). also, i checked and i have the latest version of python. any more suggestions would be really helpful... Thanks, Chad Vaclav Slavik <vac...@ma...> Sent by: ope...@li... 01/06/2004 12:27 PM Please respond to ope...@li... To ope...@li... cc Subject Re: [Openvip-users] timeline2network help Hi, Cha...@Al... wrote: > is there any more documentation on the timeline format or the > timeline2network utility? http://openvip.sourceforge.net/userdoc/ch03s09.html > [sheado@localhost bin]$ ./timeline2network.py timeline.xml > timelinenetwork.xml output.mpg > Traceback (most recent call last): > File "./timeline2network.py", line 29, in ? > m = model.load(sys.argv[1]) > File "./model.py", line 315, in load > data = conv.dom_to_data(dom) > File "./conv.py", line 39, in dom_to_data > checkInput(data) > File "./conv.py", line 129, in checkInput > if not checkDTD(data,e): > File "./conv.py", line 77, in checkDTD > f.write(dom2.toxml()) > File "/usr/lib/python2.2/site-packages/_xmlplus/dom/minidom.py", > line 47, in toxml > return self.toprettyxml("", "", encoding) > File "/usr/lib/python2.2/site-packages/_xmlplus/dom/minidom.py", > line 59, in toprettyxml > self.writexml(writer, "", indent, newl, encoding) > TypeError: writexml() takes at most 5 arguments (6 given) > > can somebody please tell me what i'm doing wrong? Probably nothing -- the backtrace shows that the error happens in _xmlplus package. That last call made by OpenVIP was "dom2.toxml()" and this is correct, so it looks there's some bug in that package. You may want to try to either uninstall it (OpenVIP doesn't need it, Python's buitin dom.minidom satisfies it) or upgrade to newest version. VS -- PGP key: 0x465264C9, available from http://pgp.mit.edu/ [attachment "attratrb.dat" deleted by Chad Ata/ALPHALOGIX] |