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 = [(284412, 'Bug Awful', 'BGWFLHTTDN1984', '1984-01-00', 37690, '48', 'hc', 'ANTHOLOGY', '0817217398', 'http://www.isfdb.org/wiki/images/7/7b/BGWFLHTTDN1984.jpg', '$15.15', 630509, 797, None, None), (284413, 'Children of the Future', 'CHLDRNFTHF1984', '1984-03-00', 37690, '48', 'hc', 'ANTHOLOGY', '0817217401', 'https://covers.openlibrary.org/b/id/9309625-L.jpg', '$15.15', None, 797, None, None), (284414, 'Time Warps', 'TMWRPSVVGN1984', '1984-03-00', 37690, '48', 'hc', 'ANTHOLOGY', '0817217428', 'https://howardworks.com/raintree-timewarps.JPG', '$15.15', None, 797, None, None), (284416, 'The Immortals', 'THMMRTLSWP1984', '1984-03-00', 37690, '48', 'hc', 'ANTHOLOGY', '081721741X', 'https://images-na.ssl-images-amazon.com/images/I/51C+isyPM3L.jpg', '$15.15', 973871, 797, None, None)] |
/home/stoecker/isfdb/install/cgi-bin/common.py in PrintPubsTable(pubs=[(284412, 'Bug Awful', 'BGWFLHTTDN1984', '1984-01-00', 37690, '48', 'hc', 'ANTHOLOGY', '0817217398', 'http://www.isfdb.org/wiki/images/7/7b/BGWFLHTTDN1984.jpg', '$15.15', 630509, 797, None, None), (284413, 'Children of the Future', 'CHLDRNFTHF1984', '1984-03-00', 37690, '48', 'hc', 'ANTHOLOGY', '0817217401', 'https://covers.openlibrary.org/b/id/9309625-L.jpg', '$15.15', None, 797, None, None), (284414, 'Time Warps', 'TMWRPSVVGN1984', '1984-03-00', 37690, '48', 'hc', 'ANTHOLOGY', '0817217428', 'https://howardworks.com/raintree-timewarps.JPG', '$15.15', None, 797, None, None), (284416, 'The Immortals', 'THMMRTLSWP1984', '1984-03-00', 37690, '48', 'hc', 'ANTHOLOGY', '081721741X', 'https://images-na.ssl-images-amazon.com/images/I/51C+isyPM3L.jpg', '$15.15', 973871, 797, 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 = (284412, 'Bug Awful', 'BGWFLHTTDN1984', '1984-01-00', 37690, '48', 'hc', 'ANTHOLOGY', '0817217398', 'http://www.isfdb.org/wiki/images/7/7b/BGWFLHTTDN1984.jpg', '$15.15', 630509, 797, None, None), pub_authors = {284412: [(5, 'Isaac Asimov', 'Asimov'), (7516, 'Martin Harry Greenberg', 'Greenberg'), (9136, 'Charles Waugh', 'Waugh')], 284413: [(5, 'Isaac Asimov', 'Asimov'), (7516, 'Martin Harry Greenberg', 'Greenberg'), (9136, 'Charles Waugh', 'Waugh')], 284414: [(5, 'Isaac Asimov', 'Asimov'), (7516, 'Martin Harry Greenberg', 'Greenberg'), (9136, 'Charles Waugh', 'Waugh')], 284416: [(5, 'Isaac Asimov', 'Asimov'), (7516, 'Martin Harry Greenberg', 'Greenberg'), (9136, 'Charles Waugh', 'Waugh')]}, pub_publishers = {37690: 'Raintree Publishers'}, pub_series = {797: 'Science Fiction Shorts'}, cover_artists = {}, bgcolor = 1, display_type = 'publisher', user = <login.User instance>, index = 1 |
/home/stoecker/isfdb/install/cgi-bin/common.py in PrintOnePub(pub=(284412, 'Bug Awful', 'BGWFLHTTDN1984', '1984-01-00', 37690, '48', 'hc', 'ANTHOLOGY', '0817217398', 'http://www.isfdb.org/wiki/images/7/7b/BGWFLHTTDN1984.jpg', '$15.15', 630509, 797, None, None), pub_authors={284412: [(5, 'Isaac Asimov', 'Asimov'), (7516, 'Martin Harry Greenberg', 'Greenberg'), (9136, 'Charles Waugh', 'Waugh')], 284413: [(5, 'Isaac Asimov', 'Asimov'), (7516, 'Martin Harry Greenberg', 'Greenberg'), (9136, 'Charles Waugh', 'Waugh')], 284414: [(5, 'Isaac Asimov', 'Asimov'), (7516, 'Martin Harry Greenberg', 'Greenberg'), (9136, 'Charles Waugh', 'Waugh')], 284416: [(5, 'Isaac Asimov', 'Asimov'), (7516, 'Martin Harry Greenberg', 'Greenberg'), (9136, 'Charles Waugh', 'Waugh')]}, pub_publishers={37690: 'Raintree Publishers'}, pub_series={797: 'Science Fiction Shorts'}, 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 = (284412, 'Bug Awful', 'BGWFLHTTDN1984', '1984-01-00', 37690, '48', 'hc', 'ANTHOLOGY', '0817217398', 'http://www.isfdb.org/wiki/images/7/7b/BGWFLHTTDN1984.jpg', '$15.15', 630509, 797, None, None), global PUB_PUBID = 0, global PUB_TITLE = 1, argument undefined, global getStylePub = <function getStylePub> |