Newbie TypeError problem
francis.moore at shaws.co.uk
Thu Apr 1 12:17:51 CEST 2004
Getting the following traceback from parsing an xml file:
Traceback (most recent call last):
line 310, in RunScript
exec codeObject in __main__.__dict__
File "D:\Development\OmniForm Converter\OFML to SHF\ListFile.py",
line 74, in ?
File "D:\Python23\lib\xml\sax\expatreader.py", line 107, in parse
File "D:\Python23\lib\xml\sax\xmlreader.py", line 119, in parse
File "D:\Python23\lib\xml\sax\expatreader.py", line 111, in
TypeError: SetBase() argument 1 must be string, not member_descriptor
Seems to be failing on the line:
But I can't see what the problem is. The program worked successfully
and I don't remember changing anything major, so I can't understand
what it's complaining about. Looking at expatreader.py hasn't really
helped as my Python knowledge isn't that great yet.
Any help much appreciated.
More information about the Python-list