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 = [(416443, 'Foundation, #47 Winter 1989/1990', 'FNDTNWNTRN1990', '1990-00-00', 48392, '108', 'tp', 'MAGAZINE', None, 'http://www.isfdb.org/wiki/images/3/3a/FNDTNWNTRN1990.jpg', '\xc2\xa32.95', 342041, None, None, None), (416723, 'Foundation, #48 Spring 1990', 'FNDTNSPRNG1990', '1990-00-01', 48392, '116', 'tp', 'MAGAZINE', None, 'http://www.isfdb.org/wiki/images/4/4d/FNDTNSPRNG1990.jpg', '\xc2\xa32.95', 342407, None, None, None), (417097, 'Foundation, #49 Summer 1990', 'FNDTNSMMRZ1990', '1990-00-02', 48392, '116', 'tp', 'MAGAZINE', None, 'http://www.isfdb.org/wiki/images/6/6f/FNDTNSMMRZ1990.jpg', '\xc2\xa32.95', 342838, None, None, None), (417885, 'Foundation, #50 Autumn 1990', 'FNDTNTMNVP1990', '1990-00-03', 48392, '132', 'tp', 'MAGAZINE', None, 'http://www.isfdb.org/wiki/images/2/29/FNDTNTMNVP1990.jpg', '\xc2\xa32.95', 343890, None, None, None)] |
/home/stoecker/isfdb/install/cgi-bin/common.py in PrintPubsTable(pubs=[(416443, 'Foundation, #47 Winter 1989/1990', 'FNDTNWNTRN1990', '1990-00-00', 48392, '108', 'tp', 'MAGAZINE', None, 'http://www.isfdb.org/wiki/images/3/3a/FNDTNWNTRN1990.jpg', '\xc2\xa32.95', 342041, None, None, None), (416723, 'Foundation, #48 Spring 1990', 'FNDTNSPRNG1990', '1990-00-01', 48392, '116', 'tp', 'MAGAZINE', None, 'http://www.isfdb.org/wiki/images/4/4d/FNDTNSPRNG1990.jpg', '\xc2\xa32.95', 342407, None, None, None), (417097, 'Foundation, #49 Summer 1990', 'FNDTNSMMRZ1990', '1990-00-02', 48392, '116', 'tp', 'MAGAZINE', None, 'http://www.isfdb.org/wiki/images/6/6f/FNDTNSMMRZ1990.jpg', '\xc2\xa32.95', 342838, None, None, None), (417885, 'Foundation, #50 Autumn 1990', 'FNDTNTMNVP1990', '1990-00-03', 48392, '132', 'tp', 'MAGAZINE', None, 'http://www.isfdb.org/wiki/images/2/29/FNDTNTMNVP1990.jpg', '\xc2\xa32.95', 343890, 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 = (416443, 'Foundation, #47 Winter 1989/1990', 'FNDTNWNTRN1990', '1990-00-00', 48392, '108', 'tp', 'MAGAZINE', None, 'http://www.isfdb.org/wiki/images/3/3a/FNDTNWNTRN1990.jpg', '\xc2\xa32.95', 342041, None, None, None), pub_authors = {416443: [(147, 'John Clute', 'Clute'), (288, 'Colin Greenland', 'Greenland'), (21138, 'Edward James', 'James'), (63, 'Ian Watson', 'Watson')], 416723: [(288, 'Colin Greenland', 'Greenland'), (21138, 'Edward James', 'James'), (63, 'Ian Watson', 'Watson')], 417097: [(288, 'Colin Greenland', 'Greenland'), (21138, 'Edward James', 'James'), (63, 'Ian Watson', 'Watson')], 417885: [(288, 'Colin Greenland', 'Greenland'), (21138, 'Edward James', 'James'), (63, 'Ian Watson', 'Watson')]}, pub_publishers = {48392: 'Polytechnic of East London'}, 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=(416443, 'Foundation, #47 Winter 1989/1990', 'FNDTNWNTRN1990', '1990-00-00', 48392, '108', 'tp', 'MAGAZINE', None, 'http://www.isfdb.org/wiki/images/3/3a/FNDTNWNTRN1990.jpg', '\xc2\xa32.95', 342041, None, None, None), pub_authors={416443: [(147, 'John Clute', 'Clute'), (288, 'Colin Greenland', 'Greenland'), (21138, 'Edward James', 'James'), (63, 'Ian Watson', 'Watson')], 416723: [(288, 'Colin Greenland', 'Greenland'), (21138, 'Edward James', 'James'), (63, 'Ian Watson', 'Watson')], 417097: [(288, 'Colin Greenland', 'Greenland'), (21138, 'Edward James', 'James'), (63, 'Ian Watson', 'Watson')], 417885: [(288, 'Colin Greenland', 'Greenland'), (21138, 'Edward James', 'James'), (63, 'Ian Watson', 'Watson')]}, pub_publishers={48392: 'Polytechnic of East London'}, 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 = (416443, 'Foundation, #47 Winter 1989/1990', 'FNDTNWNTRN1990', '1990-00-00', 48392, '108', 'tp', 'MAGAZINE', None, 'http://www.isfdb.org/wiki/images/3/3a/FNDTNWNTRN1990.jpg', '\xc2\xa32.95', 342041, None, None, None), global PUB_PUBID = 0, global PUB_TITLE = 1, argument undefined, global getStylePub = <function getStylePub> |