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 = [(634810, 'Doomsday in Pompeii', 'DMSDNPMPDC2015', '2015-01-01', 49967, '144', 'tp', 'NOVEL', '9781589978034', 'https://images-na.ssl-images-amazon.com/images/I/51OZ9L9BM0L.jpg', '$4.99', 644373, None, None, None), (737011, 'The Imagination Station Special Pack: Books 10-12', 'MGNTNSTTNB2015', '2015-05-01', 49967, '432', 'tp', 'OMNIBUS', '9781589978539', 'https://images-na.ssl-images-amazon.com/images/I/51yRCqoHunL.jpg', '$12.97', 819946, None, None, None), (737019, 'The Imagination Station Special Pack: Books 1-6', 'MGNTNSTTNS2015', '2015-09-01', 49967, '768', 'tp', 'OMNIBUS', '9781589978546', 'https://images-na.ssl-images-amazon.com/images/I/51EzRFWY5QL.jpg', '$19.97', 819972, None, None, None)] |
/home/stoecker/isfdb/install/cgi-bin/common.py in PrintPubsTable(pubs=[(634810, 'Doomsday in Pompeii', 'DMSDNPMPDC2015', '2015-01-01', 49967, '144', 'tp', 'NOVEL', '9781589978034', 'https://images-na.ssl-images-amazon.com/images/I/51OZ9L9BM0L.jpg', '$4.99', 644373, None, None, None), (737011, 'The Imagination Station Special Pack: Books 10-12', 'MGNTNSTTNB2015', '2015-05-01', 49967, '432', 'tp', 'OMNIBUS', '9781589978539', 'https://images-na.ssl-images-amazon.com/images/I/51yRCqoHunL.jpg', '$12.97', 819946, None, None, None), (737019, 'The Imagination Station Special Pack: Books 1-6', 'MGNTNSTTNS2015', '2015-09-01', 49967, '768', 'tp', 'OMNIBUS', '9781589978546', 'https://images-na.ssl-images-amazon.com/images/I/51EzRFWY5QL.jpg', '$19.97', 819972, 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 = (634810, 'Doomsday in Pompeii', 'DMSDNPMPDC2015', '2015-01-01', 49967, '144', 'tp', 'NOVEL', '9781589978034', 'https://images-na.ssl-images-amazon.com/images/I/51OZ9L9BM0L.jpg', '$4.99', 644373, None, None, None), pub_authors = {634810: [(148985, 'Marianne Hering', 'Hering'), (137283, 'Paul McCusker', 'McCusker')], 737011: [(37092, 'Wayne Thomas Batson', 'Batson'), (148985, 'Marianne Hering', 'Hering'), (259699, 'Nancy I. Sanders', 'Sanders')], 737019: [(161296, 'Brock Eastman', 'Eastman'), (148985, 'Marianne Hering', 'Hering'), (137283, 'Paul McCusker', 'McCusker'), (163566, 'Marshal Younger', 'Younger')]}, pub_publishers = {49967: 'Focus on the Family'}, 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=(634810, 'Doomsday in Pompeii', 'DMSDNPMPDC2015', '2015-01-01', 49967, '144', 'tp', 'NOVEL', '9781589978034', 'https://images-na.ssl-images-amazon.com/images/I/51OZ9L9BM0L.jpg', '$4.99', 644373, None, None, None), pub_authors={634810: [(148985, 'Marianne Hering', 'Hering'), (137283, 'Paul McCusker', 'McCusker')], 737011: [(37092, 'Wayne Thomas Batson', 'Batson'), (148985, 'Marianne Hering', 'Hering'), (259699, 'Nancy I. Sanders', 'Sanders')], 737019: [(161296, 'Brock Eastman', 'Eastman'), (148985, 'Marianne Hering', 'Hering'), (137283, 'Paul McCusker', 'McCusker'), (163566, 'Marshal Younger', 'Younger')]}, pub_publishers={49967: 'Focus on the Family'}, 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 = (634810, 'Doomsday in Pompeii', 'DMSDNPMPDC2015', '2015-01-01', 49967, '144', 'tp', 'NOVEL', '9781589978034', 'https://images-na.ssl-images-amazon.com/images/I/51OZ9L9BM0L.jpg', '$4.99', 644373, None, None, None), global PUB_PUBID = 0, global PUB_TITLE = 1, argument undefined, global getStylePub = <function getStylePub> |