ISFDB banner

Most-Viewed Short Fiction Since 2005

You are not logged in. If you create a free account and sign in, you will be able to customize what is displayed.

--> -->
Rank Views Title Year Authors
 
 
<type 'exceptions.NameError'>
Python 2.5: /usr/bin/python
Tue Aug 23 02:32:07 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 ()
   87         if report_type == 'novels':
   88                 printTable('NOVEL')
   89         else:
   90                 printTable('SHORTFICTION')
   91         PrintTrailer('top', 0, 0)
printTable = <function printTable at 0xb73fa304>
 /var/www/cgi-bin/most_viewed.cgi in printTable(type='SHORTFICTION')
   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, 82341L, 41692L, '"Repent, Harlequin!" Said the Ticktockman', '1965-12-00'),)

<type 'exceptions.NameError'>: global name 'convertYear' is not defined