Difference between revisions of "EditBug:10088 Python error on Edit Author mod-screen"
Jump to navigation
Jump to search
Marc Kupper (talk | contribs) (Document python error) |
(No difference)
|
Latest revision as of 21:22, 15 January 2007
EditBug:10088 Python error on Edit Author mod-screen OPEN Record 199821 is an author update from "unknown" for "unknown" and crashes with a Python error. (See notes) --Marc Kupper 19:21, 15 Jan 2007 (CST)
ExpatError Python 2.4.2: /usr/local/bin/python
Mon Jan 15 19:22:01 2007
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/www/isfdb.tamu.edu/root/cgi-bin/mod/av_update.cgi
126
127 submitter = ''
128 doc = minidom.parseString(XMLunescape2(record[0][3]))
129 if doc.getElementsByTagName('AuthorUpdate'):
130 merge = doc.getElementsByTagName('AuthorUpdate')
doc undefined, minidom = <module 'xml.dom.minidom' from '/usr/local/lib/python2.4/xml/dom/minidom.pyc'>, minidom.parseString = <function parseString>, XMLunescape2 = <function XMLunescape2>, record = ((199821L, 'N', 2L, '<?xml version="1.0" encoding="iso-8859-1" ?>\n<Is.../Birthdate>\n </AuthorUpdate>\n</IsfdbSubmission>\n', datetime.datetime(2007, 1, 15, 18, 32, 53), None, 2781L, 0L, None, 0L),)
/usr/local/lib/python2.4/xml/dom/minidom.py in parseString(string='<?xml version="1.0" encoding="iso-8859-1" ?>\n<Is...</Birthdate>\n </AuthorUpdate>\n</IsfdbSubmission>', parser=None)
1923 if parser is None:
1924 from xml.dom import expatbuilder
1925 return expatbuilder.parseString(string)
1926 else:
1927 from xml.dom import pulldom
expatbuilder = <module 'xml.dom.expatbuilder' from '/usr/local/lib/python2.4/xml/dom/expatbuilder.pyc'>, expatbuilder.parseString = <function parseString>, string = '<?xml version="1.0" encoding="iso-8859-1" ?>\n<Is...</Birthdate>\n </AuthorUpdate>\n</IsfdbSubmission>'
/usr/local/lib/python2.4/xml/dom/expatbuilder.py in parseString(string='<?xml version="1.0" encoding="iso-8859-1" ?>\n<Is...</Birthdate>\n </AuthorUpdate>\n</IsfdbSubmission>', namespaces=1)
938 else:
939 builder = ExpatBuilder()
940 return builder.parseString(string)
941
942
builder = <xml.dom.expatbuilder.ExpatBuilderNS instance>, builder.parseString = <bound method ExpatBuilderNS.parseString of <xml.dom.expatbuilder.ExpatBuilderNS instance>>, string = '<?xml version="1.0" encoding="iso-8859-1" ?>\n<Is...</Birthdate>\n </AuthorUpdate>\n</IsfdbSubmission>'
/usr/local/lib/python2.4/xml/dom/expatbuilder.py in parseString(self=<xml.dom.expatbuilder.ExpatBuilderNS instance>, string='<?xml version="1.0" encoding="iso-8859-1" ?>\n<Is...</Birthdate>\n </AuthorUpdate>\n</IsfdbSubmission>')
221 parser = self.getParser()
222 try:
223 parser.Parse(string, True)
224 self._setup_subset(string)
225 except ParseEscape:
parser = <pyexpat.xmlparser object>, parser.Parse = <built-in method Parse of pyexpat.xmlparser object>, string = '<?xml version="1.0" encoding="iso-8859-1" ?>\n<Is...</Birthdate>\n </AuthorUpdate>\n</IsfdbSubmission>', builtin True = True
ExpatError: not well-formed (invalid token): line 11, column 164
args = ('not well-formed (invalid token): line 11, column 164',)
code = 4
lineno = 11
offset = 164<pre>