| Rank | Views | Title | Year | Authors |
|---|
| <type 'exceptions.NameError'> | Python 2.5: /usr/bin/python Tue Aug 23 02:32:08 2022 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
| /var/www/cgi-bin/most_viewed.cgi in |
| 86 |
| 87 if report_type == 'novels': |
| 88 printTable('NOVEL') |
| 89 else: |
| 90 printTable('SHORTFICTION') |
| printTable = <function printTable at 0xb746a304> |
| /var/www/cgi-bin/most_viewed.cgi in printTable(type='NOVEL') |
| 41 title_id = record[0][2] |
| 42 title_title = record[0][3] |
| 43 title_year = convertYear(record[0][4]) |
| 44 print '<tr align=left class="table%d">' % (bgcolor+1) |
| 45 print '<td>%d</d>' % rank |
| title_year undefined, convertYear undefined, record = ((1L, 35114L, 1972L, 'Fahrenheit 451', '1953-10-00'),) |
<type 'exceptions.NameError'>: global name 'convertYear' is not defined
