<type 'exceptions.TypeError'> | Python 2.7.5: /usr/bin/python Wed Jun 7 17:51:04 2023 |
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/tantallo/public_html/cgi-bin/blogen.cgi in |
1989 if Method == 'GET': |
1990 #We have a request for a page, not a form |
=> 1991 RequestedPage = codecs.decode(Form.getvalue('p',None),'utf-8') |
1992 |
1993 #Attempt to get the blog Id |
RequestedPage undefined, codecs = <module 'codecs' from '/usr/lib64/python2.7/codecs.pyc'>, codecs.decode = <built-in function decode>, Form = FieldStorage(None, None, [MiniFieldStorage('b', '5')]), Form.getvalue = <bound method FieldStorage.getvalue of FieldStorage(None, None, [MiniFieldStorage('b', '5')])>, builtin None = None |
/usr/lib64/python2.7/encodings/utf_8.py in decode(input=None, errors='strict') |
14 |
15 def decode(input, errors='strict'): |
=> 16 return codecs.utf_8_decode(input, errors, True) |
17 |
18 class IncrementalEncoder(codecs.IncrementalEncoder): |
global codecs = <module 'codecs' from '/usr/lib64/python2.7/codecs.pyc'>, codecs.utf_8_decode = <built-in function utf_8_decode>, input = None, errors = 'strict', builtin True = True |
<type 'exceptions.TypeError'>: must be string or buffer, not None
args =
('must be string or buffer, not None',)
message =
'must be string or buffer, not None'