CODE
DEBUG: Your member ID is 9
DEBUG: Last logged click at Mon December 05, 2005 -- 07:00:27 PM
This page is currently designed to be viewed in Mozilla Firefox 1.0.4 or better in 1024x768 resolution.
--> -->
ExpatError Python 2.3.4: /usr/bin/python2
Mon Dec 5 21:00:28 2005
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/home/sites/homework/www/public_html/pyforums/index.py
2058 error.prompt(1)
2059 except ValueError:
2060 error.prompt(2)
2061 elif form.has_key('act') and form["act"].value=='logout':
2062 login.logout(logid)
error = <__main__.Error instance>, error.prompt = <bound method Error.prompt of <__main__.Error instance>>
/home/sites/homework/www/public_html/pyforums/index.py in getlast(self=<__main__.Topic instance>, id=1)
750 class Topic:
751 def getlast(self,id):
752 unpack.topic(id)
753 su_curtopic = data_topic[id]
754 su_remove = su_curtopic[0]
global unpack = <__main__.Unpack instance>, unpack.topic = <bound method Unpack.topic of <__main__.Unpack instance>>, id = 1
/home/sites/homework/www/public_html/pyforums/index.py in topic(self=<__main__.Unpack instance>, id=1)
582 su_y += 1
583 except TypeError:
584 print "DEBUG ERROR '1': Topic not found."
585 def member(self,id):
586 try:
/home/sites/homework/www/public_html/pyforums/fetch.py in topic(self=<fetch.Get instance>, id=1)
1486 return data
1487 except IOError:
1488 hhhhh = ""
1489
1490 class Write:
hhhhh undefined
/usr/lib/python2.3/site-packages/_xmlplus/dom/ext/reader/Sax.py in FromXmlFile(fileName='data/t1.pdb', ownerDocument=None, validate=0, keepAllWs=0, catName=None, saxHandlerClass=<class xml.dom.ext.reader.Sax.XmlDomGenerator>, parser=None)
159 saxHandlerClass, parser)
160 finally:
161 fp.close()
162 return rv
163
fp = <closed file 'data/t1.pdb', mode 'r'>, fp.close = <built-in method close of file object>
/usr/lib/python2.3/site-packages/_xmlplus/dom/ext/reader/Sax.py in FromXmlStream(stream=<closed file 'data/t1.pdb', mode 'r'>, ownerDocument=None, validate=0, keepAllWs=0, catName=None, saxHandlerClass=<class xml.dom.ext.reader.Sax.XmlDomGenerator>, parser=None)
141 catName=None, saxHandlerClass=XmlDomGenerator, parser=None):
142 reader = Reader(validate, keepAllWs, catName, saxHandlerClass, parser)
143 return reader.fromStream(stream, ownerDocument)
144
145
reader = <xml.dom.ext.reader.Sax.Reader instance>, reader.fromStream = <bound method Reader.fromStream of <xml.dom.ext.reader.Sax.Reader instance>>, stream = <closed file 'data/t1.pdb', mode 'r'>, ownerDocument = None
/usr/lib/python2.3/site-packages/_xmlplus/dom/ext/reader/Sax.py in fromStream(self=<xml.dom.ext.reader.Sax.Reader instance>, stream=<closed file 'data/t1.pdb', mode 'r'>, ownerDocument=None)
132 def fromStream(self, stream, ownerDocument=None):
133 self.handler.initState(ownerDoc=ownerDocument)
134 self.parser.parseFile(stream)
135 return self.handler.getRootNode()
136
self = <xml.dom.ext.reader.Sax.Reader instance>, self.parser = <xml.sax.drivers.drv_pyexpat.SAX_expat instance>, self.parser.parseFile = <bound method SAX_expat.parseFile of <xml.sax.drivers.drv_pyexpat.SAX_expat instance>>, stream = <closed file 'data/t1.pdb', mode 'r'>
/usr/lib/python2.3/site-packages/_xmlplus/sax/drivers/drv_pyexpat.py in parseFile(self=<xml.sax.drivers.drv_pyexpat.SAX_expat instance>, fileobj=<closed file 'data/t1.pdb', mode 'r'>, sysID=None)
66 buf = fileobj.read(16384)
67 while buf != "":
68 if self.parser.Parse(buf, 0) != 1:
69 self.__report_error()
70 buf = fileobj.read(16384)
self = <xml.sax.drivers.drv_pyexpat.SAX_expat instance>, self.parser = <pyexpat.xmlparser object>, self.parser.Parse = <built-in method Parse of pyexpat.xmlparser object>, buf = '<topic id="1" title="Testing Thread" subtitle="P...me ="1133838023" editm ="0" editt ="0"/>\n</topic>'
ExpatError: not well-formed (invalid token): line 46, column 156
args = ('not well-formed (invalid token): line 46, column 156',)
code = 4
lineno = 46
offset = 156
i love doing this crap
put &omg=iomgomsdogmsdgfs in a post. probalby what triggered it.
this would all be solved if you USED FORMS!!!