Using tmda-cgi .68 I clicked the 'Last' button and the following error
appeared.
AttributeError
Python 2.2.1: /usr/bin/python2
Wed Jan 8 21:52:32 2003
A problem occurred in a Python script. Here is the sequence of function
calls leading up to the error, in the order they occurred.
/usr/lib/python2.2/site-packages/TMDA/cgi/tmda-cgi.py
119 #cgi.print_form(PVars)
120
121 # This is the end my friend.
122 if __name__ == '__main__':
123 main()
main = <function main>
/usr/lib/python2.2/site-packages/TMDA/cgi/tmda-cgi.py in main()
103 # View?
104 if Form["cmd"].value == "list":
105 Pending.Show()
106 elif Form["cmd"].value == "view":
107 if Form.has_key("msgid"):
Pending = <module 'Pending' from 'Pending.pyc'>, Pending.Show =
<function Show>
/usr/lib/python2.2/site-packages/TMDA/cgi/Pending.py in Show()
231 Temp = \
232 re.compile("\d+ [a-zA-Z]+ \d+
\d+:\d\d:\d\d").search(MsgObj.msgobj.get("date"))
233 Date = time.strptime(Temp.group(), "%d %b %Y %H:%M:%S")
234 Date = time.strftime(Defaults.CGI_DATE_FORMAT, Date)
235 except (TypeError, ValueError):
Date = 'Tue 12/24', global time = <module 'time' from
'/usr/lib/python2.2/lib-dynload/timemodule.so'>, time.strptime =
<built-in function strptime>, Temp = None, Temp.group undefined
AttributeError: 'NoneType' object has no attribute 'group'
__doc__ = 'Attribute not found.'
__getitem__ = <bound method AttributeError.__getitem__ of
<exceptions.AttributeError instance at 0x825e54c>>
__init__ = <bound method AttributeError.__init__ of
<exceptions.AttributeError instance at 0x825e54c>>
__module__ = 'exceptions'
__str__ = <bound method AttributeError.__str__ of
<exceptions.AttributeError instance at 0x825e54c>>
args = ("'NoneType' object has no attribute 'group'",)
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users