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 = [(257335, 'Mystic Magazine, November 1953', 'MSTCMGZNNV1953', '1953-11-00', 19321, '132', 'digest', 'MAGAZINE', None, 'https://images-na.ssl-images-amazon.com/images/I/51J2HifSUJL.jpg', '$0.35', 129295, None, None, None), (199625, 'Universe Science Fiction, December 1953', 'UNVRSESFDEC1953', '1953-12-00', 19321, '132', 'digest', 'MAGAZINE', None, 'https://www.collectorshowcase.fr/IMAGES2/universe_5312.jpg', '$0.35', 85877, None, None, None), (200957, 'Science Stories, December 1953', 'SCNCSTRDEC1953', '1953-12-00', 19321, '132', 'digest', 'MAGAZINE', None, 'http://www.isfdb.org/wiki/images/7/70/SCNCSTRDEC1953.jpg', '$0.35', 87057, None, None, None)] |
/home/stoecker/isfdb/install/cgi-bin/common.py in PrintPubsTable(pubs=[(257335, 'Mystic Magazine, November 1953', 'MSTCMGZNNV1953', '1953-11-00', 19321, '132', 'digest', 'MAGAZINE', None, 'https://images-na.ssl-images-amazon.com/images/I/51J2HifSUJL.jpg', '$0.35', 129295, None, None, None), (199625, 'Universe Science Fiction, December 1953', 'UNVRSESFDEC1953', '1953-12-00', 19321, '132', 'digest', 'MAGAZINE', None, 'https://www.collectorshowcase.fr/IMAGES2/universe_5312.jpg', '$0.35', 85877, None, None, None), (200957, 'Science Stories, December 1953', 'SCNCSTRDEC1953', '1953-12-00', 19321, '132', 'digest', 'MAGAZINE', None, 'http://www.isfdb.org/wiki/images/7/70/SCNCSTRDEC1953.jpg', '$0.35', 87057, 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 = (257335, 'Mystic Magazine, November 1953', 'MSTCMGZNNV1953', '1953-11-00', 19321, '132', 'digest', 'MAGAZINE', None, 'https://images-na.ssl-images-amazon.com/images/I/51J2HifSUJL.jpg', '$0.35', 129295, None, None, None), pub_authors = {199625: [(87501, 'Bea Mahaffey', 'Mahaffey'), (13772, 'Ray Palmer', 'Palmer')], 200957: [(87501, 'Bea Mahaffey', 'Mahaffey'), (13772, 'Ray Palmer', 'Palmer')], 257335: [(87501, 'Bea Mahaffey', 'Mahaffey'), (13772, 'Ray Palmer', 'Palmer')]}, pub_publishers = {19321: 'Palmer Publications, Inc.'}, 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=(257335, 'Mystic Magazine, November 1953', 'MSTCMGZNNV1953', '1953-11-00', 19321, '132', 'digest', 'MAGAZINE', None, 'https://images-na.ssl-images-amazon.com/images/I/51J2HifSUJL.jpg', '$0.35', 129295, None, None, None), pub_authors={199625: [(87501, 'Bea Mahaffey', 'Mahaffey'), (13772, 'Ray Palmer', 'Palmer')], 200957: [(87501, 'Bea Mahaffey', 'Mahaffey'), (13772, 'Ray Palmer', 'Palmer')], 257335: [(87501, 'Bea Mahaffey', 'Mahaffey'), (13772, 'Ray Palmer', 'Palmer')]}, pub_publishers={19321: 'Palmer Publications, Inc.'}, 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 = (257335, 'Mystic Magazine, November 1953', 'MSTCMGZNNV1953', '1953-11-00', 19321, '132', 'digest', 'MAGAZINE', None, 'https://images-na.ssl-images-amazon.com/images/I/51J2HifSUJL.jpg', '$0.35', 129295, None, None, None), global PUB_PUBID = 0, global PUB_TITLE = 1, argument undefined, global getStylePub = <function getStylePub> |
/home/stoecker/isfdb/install/cgi-bin/library.py in ISFDBLink(script='pl.cgi', record_id=257335, displayed_value='Mystic Magazine, November 1953', brackets=False, argument='', transliterations=None) |
463 # use that function to retrieve transliterations
|
464 elif trans_function and str(record_id).isdigit():
|
=> 465 trans_values = trans_function(record_id)
|
466 # If transliterated values have been found, add them to the link
|
467 if trans_values:
|
trans_values = None, trans_function = <function SQLloadTransPubTitles>, record_id = 257335 |