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 = [(1697, 'After Long Silence', 'AFTLSIL1987', '1988-02-00', 16957, '310', 'hc', 'NOVEL', None, 'http://www.isfdb.org/wiki/images/6/64/AFTLSIL1987.jpg', '$4.98', 80833, None, None, '11833'), (372313, 'Jokers Wild', 'WLDCRDSJKB1988', '1988-02-00', 16957, '339', 'hc', 'NOVEL', None, 'https://m.media-amazon.com/images/I/51jm3zw3CWL.jpg', None, 284810, None, None, None), (15938, 'Great Sky River', 'BKTG19583', '1988-04-00', 16957, '309', 'hc', 'NOVEL', None, 'http://www.isfdb.org/wiki/images/9/9f/BKTG19581.jpg', '$7.98', None, None, None, '12006'), (28000, 'Return to Eden', 'RTEDEN1988B', '1988-10-00', 16957, '[xxiii]+348', 'hc', 'NOVEL', None, 'http://www.isfdb.org/wiki/images/b/b8/RTEDEN1988C.jpg', '$5.98', 161580, None, None, '14083')] |
/home/stoecker/isfdb/install/cgi-bin/common.py in PrintPubsTable(pubs=[(1697, 'After Long Silence', 'AFTLSIL1987', '1988-02-00', 16957, '310', 'hc', 'NOVEL', None, 'http://www.isfdb.org/wiki/images/6/64/AFTLSIL1987.jpg', '$4.98', 80833, None, None, '11833'), (372313, 'Jokers Wild', 'WLDCRDSJKB1988', '1988-02-00', 16957, '339', 'hc', 'NOVEL', None, 'https://m.media-amazon.com/images/I/51jm3zw3CWL.jpg', None, 284810, None, None, None), (15938, 'Great Sky River', 'BKTG19583', '1988-04-00', 16957, '309', 'hc', 'NOVEL', None, 'http://www.isfdb.org/wiki/images/9/9f/BKTG19581.jpg', '$7.98', None, None, None, '12006'), (28000, 'Return to Eden', 'RTEDEN1988B', '1988-10-00', 16957, '[xxiii]+348', 'hc', 'NOVEL', None, 'http://www.isfdb.org/wiki/images/b/b8/RTEDEN1988C.jpg', '$5.98', 161580, None, None, '14083')], 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 = (1697, 'After Long Silence', 'AFTLSIL1987', '1988-02-00', 16957, '310', 'hc', 'NOVEL', None, 'http://www.isfdb.org/wiki/images/6/64/AFTLSIL1987.jpg', '$4.98', 80833, None, None, '11833'), pub_authors = {1697: [(173, 'Sheri S. Tepper', 'Tepper')], 15938: [(109, 'Gregory Benford', 'Benford')], 28000: [(28, 'Harry Harrison', 'Harrison')], 372313: [(202, 'Edward Bryant', 'Bryant'), (14749, 'Leanne C. Harper', 'Harper'), (401, 'George R. R. Martin', 'Martin'), (5204, 'John J. Miller', 'Miller'), (248, 'Lewis Shiner', 'Shiner'), (14597, 'Walton Simons', 'Simons'), (1567, 'Melinda M. Snodgrass', 'Snodgrass')]}, pub_publishers = {16957: 'Bantam Spectra / SFBC'}, 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=(1697, 'After Long Silence', 'AFTLSIL1987', '1988-02-00', 16957, '310', 'hc', 'NOVEL', None, 'http://www.isfdb.org/wiki/images/6/64/AFTLSIL1987.jpg', '$4.98', 80833, None, None, '11833'), pub_authors={1697: [(173, 'Sheri S. Tepper', 'Tepper')], 15938: [(109, 'Gregory Benford', 'Benford')], 28000: [(28, 'Harry Harrison', 'Harrison')], 372313: [(202, 'Edward Bryant', 'Bryant'), (14749, 'Leanne C. Harper', 'Harper'), (401, 'George R. R. Martin', 'Martin'), (5204, 'John J. Miller', 'Miller'), (248, 'Lewis Shiner', 'Shiner'), (14597, 'Walton Simons', 'Simons'), (1567, 'Melinda M. Snodgrass', 'Snodgrass')]}, pub_publishers={16957: 'Bantam Spectra / SFBC'}, 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 = (1697, 'After Long Silence', 'AFTLSIL1987', '1988-02-00', 16957, '310', 'hc', 'NOVEL', None, 'http://www.isfdb.org/wiki/images/6/64/AFTLSIL1987.jpg', '$4.98', 80833, None, None, '11833'), global PUB_PUBID = 0, global PUB_TITLE = 1, argument undefined, global getStylePub = <function getStylePub> |