Requests for /using_xmlrpc_libraries_to_share_complex_variables.html
| <type 'exceptions.TypeError'> | Python 2.5.1: /usr/local/bin/python Thu Sep 9 16:11:23 2010 |
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/local/psa/home/vhosts/throwingbeans.org/cgi-bin/pea.py in |
| 484 header() |
| 485 if url: |
| 486 urldetails(url, cgiloc) |
| 487 footer() |
| 488 elif ip: |
| urldetails = <function urldetails at 0x82624c4>, url = '/using_xmlrpc_libraries_to_share_complex_variables.html', cgiloc = '/cgi-bin/pea.py' |
| /usr/local/psa/home/vhosts/throwingbeans.org/cgi-bin/pea.py in urldetails(url='/using_xmlrpc_libraries_to_share_complex_variables.html', cgiloc='/cgi-bin/pea.py') |
| 274 global time_since_first |
| 275 summary_count = counter - 1 |
| 276 time_since_first = formattedTimeSinceApacheDate(first_request_time) |
| 277 |
| 278 def ipdetails(ip, cgiloc): |
| global time_since_first = None, global formattedTimeSinceApacheDate = <function formattedTimeSinceApacheDate at 0x81d0144>, first_request_time = None |
| /usr/local/psa/home/vhosts/throwingbeans.org/cgi-bin/pea.py in formattedTimeSinceApacheDate(apacheDate=None, now=None) |
| 92 """ |
| 93 #original = time.mktime(d.timetuple()) |
| 94 original = time.mktime(time.strptime(apacheDate,'%d/%b/%Y:%H:%M:%S')) |
| 95 chunks = ( |
| 96 (60 * 60 * 24 * 365, 'year'), |
| original undefined, global time = <module 'time' from '/usr/local/lib/python2.5/lib-dynload/time.so'>, time.mktime = <built-in function mktime>, time.strptime = <built-in function strptime>, apacheDate = None |
| /usr/local/lib/python2.5/_strptime.py in strptime(data_string=None, format='%d/%b/%Y:%H:%M:%S') |
| 326 finally: |
| 327 _cache_lock.release() |
| 328 found = format_regex.match(data_string) |
| 329 if not found: |
| 330 raise ValueError("time data did not match format: data=%s fmt=%s" % |
| found undefined, format_regex = <_sre.SRE_Pattern object at 0x8306800>, format_regex.match = <built-in method match of _sre.SRE_Pattern object at 0x8306800>, data_string = None |
<type 'exceptions.TypeError'>: expected string or buffer