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 = [(672174, 'Low Chicago', 'LWCHCGPJDZ0000', '2018-00-00', 714, '', 'tp', 'NOVEL', '9780008285203', 'https://images-na.ssl-images-amazon.com/images/I/5191B2VpqUL.jpg', '', 711753, None, None, None), (704868, 'His Name Was Walter', 'HSNMWSWLTR2018', '2018-07-23', 714, '288', 'hc', 'NOVEL', '9781460756188', 'https://images-na.ssl-images-amazon.com/images/I/51K5yGmKbCL.jpg', None, 770078, None, None, None), (704874, 'Lady Helen and the Dark Days Deceit', 'LDHLNNDTHD2018', '2018-12-01', 714, None, 'ebook', 'NOVEL', None, 'https://images-fe.ssl-images-amazon.com/images/I/51ZdND8YuuL.jpg', None, None, None, None, None)] |
/home/stoecker/isfdb/install/cgi-bin/common.py in PrintPubsTable(pubs=[(672174, 'Low Chicago', 'LWCHCGPJDZ0000', '2018-00-00', 714, '', 'tp', 'NOVEL', '9780008285203', 'https://images-na.ssl-images-amazon.com/images/I/5191B2VpqUL.jpg', '', 711753, None, None, None), (704868, 'His Name Was Walter', 'HSNMWSWLTR2018', '2018-07-23', 714, '288', 'hc', 'NOVEL', '9781460756188', 'https://images-na.ssl-images-amazon.com/images/I/51K5yGmKbCL.jpg', None, 770078, None, None, None), (704874, 'Lady Helen and the Dark Days Deceit', 'LDHLNNDTHD2018', '2018-12-01', 714, None, 'ebook', 'NOVEL', None, 'https://images-fe.ssl-images-amazon.com/images/I/51ZdND8YuuL.jpg', None, None, 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 = (672174, 'Low Chicago', 'LWCHCGPJDZ0000', '2018-00-00', 714, '', 'tp', 'NOVEL', '9780008285203', 'https://images-na.ssl-images-amazon.com/images/I/5191B2VpqUL.jpg', '', 711753, None, None, None), pub_authors = {672174: [(136774, 'Saladin Ahmed', 'Ahmed'), (3257, 'Paul Cornell', 'Cornell'), (160245, 'Marko Kloos', 'Kloos'), (5204, 'John J. Miller', 'Miller'), (80741, 'Mary Anne Mohanraj', 'Mohanraj'), (5169, 'Kevin Andrew Murphy', 'Murphy'), (17471, 'Christopher Rowe', 'Rowe'), (1567, 'Melinda M. Snodgrass', 'Snodgrass')], 704868: [(4845, 'Emily Rodda', 'Rodda')], 704874: [(18301, 'Alison Goodman', 'Goodman')]}, pub_publishers = {714: 'HarperCollins (Australia)'}, 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=(672174, 'Low Chicago', 'LWCHCGPJDZ0000', '2018-00-00', 714, '', 'tp', 'NOVEL', '9780008285203', 'https://images-na.ssl-images-amazon.com/images/I/5191B2VpqUL.jpg', '', 711753, None, None, None), pub_authors={672174: [(136774, 'Saladin Ahmed', 'Ahmed'), (3257, 'Paul Cornell', 'Cornell'), (160245, 'Marko Kloos', 'Kloos'), (5204, 'John J. Miller', 'Miller'), (80741, 'Mary Anne Mohanraj', 'Mohanraj'), (5169, 'Kevin Andrew Murphy', 'Murphy'), (17471, 'Christopher Rowe', 'Rowe'), (1567, 'Melinda M. Snodgrass', 'Snodgrass')], 704868: [(4845, 'Emily Rodda', 'Rodda')], 704874: [(18301, 'Alison Goodman', 'Goodman')]}, pub_publishers={714: 'HarperCollins (Australia)'}, 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 = (672174, 'Low Chicago', 'LWCHCGPJDZ0000', '2018-00-00', 714, '', 'tp', 'NOVEL', '9780008285203', 'https://images-na.ssl-images-amazon.com/images/I/5191B2VpqUL.jpg', '', 711753, None, None, None), global PUB_PUBID = 0, global PUB_TITLE = 1, argument undefined, global getStylePub = <function getStylePub> |