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/stoecker/isfdb/install/cgi-bin/publisheryear.cgi in <module>() |
55 print ISFDBLinkNoName('publisher.cgi', publisher_id, 'Return to the publisher page')
|
56 print '<p>'
|
=> 57 PrintPubsTable(pubs, 'publisher')
|
58
|
59 PrintTrailer('publisheryear', publisher_id, publisher_id)
|
PrintPubsTable = <function PrintPubsTable>, pubs = [(309474, 'Weird Tales, January-February 2006', 'WRDTLSJNRF2006', '2006-01-00', 31411, '84', 'bedsheet', 'MAGAZINE', '', 'http://www.philsp.com/data/images/w/weird_tales_200602_n338.jpg', '$5.95', 202164, None, None, None), (309284, 'Weird Tales, May-June 2006', 'WRDTLSMJNX2006', '2006-05-00', 31411, '100', 'bedsheet', 'MAGAZINE', '', 'http://www.philsp.com/data/images/w/weird_tales_200606_n340.jpg', '$5.95', 201797, None, None, None), (309634, 'Weird Tales, August-September 2006', 'WRDTLSGSTS2006', '2006-08-00', 31411, '100', 'bedsheet', 'MAGAZINE', '', 'http://www.philsp.com/data/images/w/weird_tales_200608-09.jpg', '$5.95', 202413, None, None, None), (309683, 'Weird Tales, October-November 2006', 'WRDTLSCTBR2006', '2006-10-00', 31411, '84', 'bedsheet', 'MAGAZINE', None, 'http://www.philsp.com/data/images/w/weird_tales_200610-11.jpg', '$5.95', 202530, None, None, None)] |
/home/stoecker/isfdb/install/cgi-bin/common.py in PrintPubsTable(pubs=[(309474, 'Weird Tales, January-February 2006', 'WRDTLSJNRF2006', '2006-01-00', 31411, '84', 'bedsheet', 'MAGAZINE', '', 'http://www.philsp.com/data/images/w/weird_tales_200602_n338.jpg', '$5.95', 202164, None, None, None), (309284, 'Weird Tales, May-June 2006', 'WRDTLSMJNX2006', '2006-05-00', 31411, '100', 'bedsheet', 'MAGAZINE', '', 'http://www.philsp.com/data/images/w/weird_tales_200606_n340.jpg', '$5.95', 201797, None, None, None), (309634, 'Weird Tales, August-September 2006', 'WRDTLSGSTS2006', '2006-08-00', 31411, '100', 'bedsheet', 'MAGAZINE', '', 'http://www.philsp.com/data/images/w/weird_tales_200608-09.jpg', '$5.95', 202413, None, None, None), (309683, 'Weird Tales, October-November 2006', 'WRDTLSCTBR2006', '2006-10-00', 31411, '84', 'bedsheet', 'MAGAZINE', None, 'http://www.philsp.com/data/images/w/weird_tales_200610-11.jpg', '$5.95', 202530, None, None, None)], display_type='publisher', user=<login.User instance>, limit=100000) |
1080 index = 1
|
1081 for pub in pubs:
|
=> 1082 PrintOnePub(pub, pub_authors, pub_publishers, pub_series, cover_artists, bgcolor, display_type, user, index)
|
1083 bgcolor ^= 1
|
1084 index += 1
|
global PrintOnePub = <function PrintOnePub>, pub = (309474, 'Weird Tales, January-February 2006', 'WRDTLSJNRF2006', '2006-01-00', 31411, '84', 'bedsheet', 'MAGAZINE', '', 'http://www.philsp.com/data/images/w/weird_tales_200602_n338.jpg', '$5.95', 202164, None, None, None), pub_authors = {309284: [(183, 'John Gregory Betancourt', 'Betancourt'), (1181, 'Darrell Schweitzer', 'Schweitzer'), (840, 'George H. Scithers', 'Scithers')], 309474: [(72401, 'John Betancourt', 'Betancourt'), (1181, 'Darrell Schweitzer', 'Schweitzer'), (840, 'George H. Scithers', 'Scithers')], 309634: [(183, 'John Gregory Betancourt', 'Betancourt'), (1181, 'Darrell Schweitzer', 'Schweitzer'), (840, 'George H. Scithers', 'Scithers')], 309683: [(183, 'John Gregory Betancourt', 'Betancourt'), (1181, 'Darrell Schweitzer', 'Schweitzer'), (840, 'George H. Scithers', 'Scithers')]}, pub_publishers = {31411: 'Wildside Press / Terminus'}, pub_series = {}, cover_artists = {}, bgcolor = 1, display_type = 'publisher', user = <login.User instance>, index = 1 |
/home/stoecker/isfdb/install/cgi-bin/common.py in PrintOnePub(pub=(309474, 'Weird Tales, January-February 2006', 'WRDTLSJNRF2006', '2006-01-00', 31411, '84', 'bedsheet', 'MAGAZINE', '', 'http://www.philsp.com/data/images/w/weird_tales_200602_n338.jpg', '$5.95', 202164, None, None, None), pub_authors={309284: [(183, 'John Gregory Betancourt', 'Betancourt'), (1181, 'Darrell Schweitzer', 'Schweitzer'), (840, 'George H. Scithers', 'Scithers')], 309474: [(72401, 'John Betancourt', 'Betancourt'), (1181, 'Darrell Schweitzer', 'Schweitzer'), (840, 'George H. Scithers', 'Scithers')], 309634: [(183, 'John Gregory Betancourt', 'Betancourt'), (1181, 'Darrell Schweitzer', 'Schweitzer'), (840, 'George H. Scithers', 'Scithers')], 309683: [(183, 'John Gregory Betancourt', 'Betancourt'), (1181, 'Darrell Schweitzer', 'Schweitzer'), (840, 'George H. Scithers', 'Scithers')]}, pub_publishers={31411: 'Wildside Press / Terminus'}, pub_series={}, cover_artists={}, bgcolor=1, display_type='publisher', user=<login.User instance>, index=1) |
1105
|
1106 # Publication title
|
=> 1107 print '<td dir="ltr">%s</td>' % ISFDBLink('pl.cgi', pub[PUB_PUBID], pub[PUB_TITLE], argument=getStylePub(pub[PUB_PUBID]))
|
1108
|
1109 # Publication date unless this is a Publication Series, in which case we have already displayed the date
|
global ISFDBLink = <function ISFDBLink>, pub = (309474, 'Weird Tales, January-February 2006', 'WRDTLSJNRF2006', '2006-01-00', 31411, '84', 'bedsheet', 'MAGAZINE', '', 'http://www.philsp.com/data/images/w/weird_tales_200602_n338.jpg', '$5.95', 202164, None, None, None), global PUB_PUBID = 0, global PUB_TITLE = 1, argument undefined, global getStylePub = <function getStylePub> |