View covers for this year • Return to the publisher page
Title | Date | Author/Editor | Publication series | ISBN/Catalog ID | Price | Pages | Format | Type | Cover Artist | Verif |
---|---|---|---|---|---|---|---|---|---|---|
<class 'MySQLdb._exceptions.ProgrammingError'> | Python 2.7.18: /usr/bin/python Sat Apr 27 19:58:53 2024 |
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 = [(928962, 'The New York Times Book Review, January 1, 2023', 'THNWRKTMSB2023', '2023-01-01', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1081625, None, None, None), (929660, 'The New York Times Book Review, January 8, 2023', 'THNWRKTMSC2023', '2023-01-08', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1082727, None, None, None), (929897, 'The New York Times Magazine, January 8, 2023', 'THNWRKTMSM2023', '2023-01-08', 70073, '52', 'tabloid', 'MAGAZINE', None, None, None, 1083084, None, None, None), (931499, 'The New York Times Book Review, January 15, 2023', 'THNWRKTMSD2023', '2023-01-15', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1086415, None, None, None), (931862, 'The New York Times Book Review, January 22, 2023', 'THNWRKTMSF2023', '2023-01-22', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1087133, None, None, None), (932200, 'The New York Times, January 26, 2023', 'THNWRKTMSJ2023', '2023-01-26', 70073, None, 'tabloid', 'MAGAZINE', None, None, None, 1087719, None, None, None), (934595, 'The New York Times Book Review, February 5, 2023', 'THNWRKTMSG2023', '2023-02-05', 70073, '28', 'tabloid', 'MAGAZINE', None, 'https://isfdb.org/wiki/images/1/1c/THNWRKTMSG2023.jpg', None, 1091211, None, None, None), (934791, 'The New York Times, February 7, 2023', 'THNWRKTMSH2023', '2023-02-07', 70073, None, 'tabloid', 'MAGAZINE', None, None, None, 1091442, None, None, None), (935561, 'The New York Times Book Review, February 12, 2023', 'THNWRKTMSK2023', '2023-02-12', 70073, '28', 'tabloid', 'MAGAZINE', None, None, None, 1092638, None, None, None), (936614, 'The New York Times Book Review, February 19, 2023', 'THNWRKTMSL2023', '2023-02-19', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1094018, None, None, None), (938934, 'The New York Times Book Review, February 26, 2023', 'THNWRKTMSN2023', '2023-02-26', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1096888, None, None, None), (941649, 'The New York Times Book Review, March 12, 2023', 'THNWRKTMSP2023', '2023-03-12', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1100362, None, None, None), (946571, 'The New York Times Book Review, March 19, 2023', 'THNWRKTMSR2023', '2023-03-19', 70073, '28', 'tabloid', 'MAGAZINE', None, None, None, 1106258, None, None, None), (946267, 'The New York Times Book Review, March 26, 2023', 'THNWRKTMSQ2023', '2023-03-26', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1105893, None, None, None), (947765, 'The New York Times Book Review, April 2, 2023', 'THNWRKTMSS2023', '2023-04-02', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1108066, None, None, None), (947766, 'The New York Times Book Review, April 16, 2023', 'THNWRKTMST2023', '2023-04-16', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1108067, None, None, None), (950951, 'The New York Times, May 2, 2023', 'THNWRKTMSV2023', '2023-05-02', 70073, None, 'tabloid', 'MAGAZINE', None, None, None, 1112287, None, None, None), (951606, 'The New York Times Book Review, May 7, 2023', 'THNWRKTMSW2023', '2023-05-07', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1113197, None, None, None), (951826, 'The New York Times Book Review, May 14, 2023', 'THNWRKTMSX2023', '2023-05-14', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1113438, None, None, None), (953337, 'The New York Times Book Review, May 21, 2023', 'THNWRKTMSZ2023', '2023-05-21', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1115232, None, None, None), ...] |
/home/stoecker/isfdb/install/cgi-bin/common.py in PrintPubsTable(pubs=[(928962, 'The New York Times Book Review, January 1, 2023', 'THNWRKTMSB2023', '2023-01-01', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1081625, None, None, None), (929660, 'The New York Times Book Review, January 8, 2023', 'THNWRKTMSC2023', '2023-01-08', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1082727, None, None, None), (929897, 'The New York Times Magazine, January 8, 2023', 'THNWRKTMSM2023', '2023-01-08', 70073, '52', 'tabloid', 'MAGAZINE', None, None, None, 1083084, None, None, None), (931499, 'The New York Times Book Review, January 15, 2023', 'THNWRKTMSD2023', '2023-01-15', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1086415, None, None, None), (931862, 'The New York Times Book Review, January 22, 2023', 'THNWRKTMSF2023', '2023-01-22', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1087133, None, None, None), (932200, 'The New York Times, January 26, 2023', 'THNWRKTMSJ2023', '2023-01-26', 70073, None, 'tabloid', 'MAGAZINE', None, None, None, 1087719, None, None, None), (934595, 'The New York Times Book Review, February 5, 2023', 'THNWRKTMSG2023', '2023-02-05', 70073, '28', 'tabloid', 'MAGAZINE', None, 'https://isfdb.org/wiki/images/1/1c/THNWRKTMSG2023.jpg', None, 1091211, None, None, None), (934791, 'The New York Times, February 7, 2023', 'THNWRKTMSH2023', '2023-02-07', 70073, None, 'tabloid', 'MAGAZINE', None, None, None, 1091442, None, None, None), (935561, 'The New York Times Book Review, February 12, 2023', 'THNWRKTMSK2023', '2023-02-12', 70073, '28', 'tabloid', 'MAGAZINE', None, None, None, 1092638, None, None, None), (936614, 'The New York Times Book Review, February 19, 2023', 'THNWRKTMSL2023', '2023-02-19', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1094018, None, None, None), (938934, 'The New York Times Book Review, February 26, 2023', 'THNWRKTMSN2023', '2023-02-26', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1096888, None, None, None), (941649, 'The New York Times Book Review, March 12, 2023', 'THNWRKTMSP2023', '2023-03-12', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1100362, None, None, None), (946571, 'The New York Times Book Review, March 19, 2023', 'THNWRKTMSR2023', '2023-03-19', 70073, '28', 'tabloid', 'MAGAZINE', None, None, None, 1106258, None, None, None), (946267, 'The New York Times Book Review, March 26, 2023', 'THNWRKTMSQ2023', '2023-03-26', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1105893, None, None, None), (947765, 'The New York Times Book Review, April 2, 2023', 'THNWRKTMSS2023', '2023-04-02', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1108066, None, None, None), (947766, 'The New York Times Book Review, April 16, 2023', 'THNWRKTMST2023', '2023-04-16', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1108067, None, None, None), (950951, 'The New York Times, May 2, 2023', 'THNWRKTMSV2023', '2023-05-02', 70073, None, 'tabloid', 'MAGAZINE', None, None, None, 1112287, None, None, None), (951606, 'The New York Times Book Review, May 7, 2023', 'THNWRKTMSW2023', '2023-05-07', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1113197, None, None, None), (951826, 'The New York Times Book Review, May 14, 2023', 'THNWRKTMSX2023', '2023-05-14', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1113438, None, None, None), (953337, 'The New York Times Book Review, May 21, 2023', 'THNWRKTMSZ2023', '2023-05-21', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1115232, 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 = (928962, 'The New York Times Book Review, January 1, 2023', 'THNWRKTMSB2023', '2023-01-01', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1081625, None, None, None), pub_authors = {928962: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 929660: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 929897: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 931499: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 931862: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 932200: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 934595: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 934791: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 935561: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 936614: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], ...}, pub_publishers = {70073: 'The New York Times'}, 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=(928962, 'The New York Times Book Review, January 1, 2023', 'THNWRKTMSB2023', '2023-01-01', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1081625, None, None, None), pub_authors={928962: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 929660: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 929897: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 931499: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 931862: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 932200: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 934595: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 934791: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 935561: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 936614: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], ...}, pub_publishers={70073: 'The New York Times'}, 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 = (928962, 'The New York Times Book Review, January 1, 2023', 'THNWRKTMSB2023', '2023-01-01', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1081625, 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=928962, displayed_value='The New York Times Book Review, January 1, 2023', 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 = 928962 |
/home/stoecker/isfdb/install/cgi-bin/SQLparsing.py in SQLloadTransPubTitles(pub_id=928962) |
1806 def SQLloadTransPubTitles(pub_id): |
1807 query = "select trans_pub_title from trans_pubs where pub_id=%d" % int(pub_id) |
=> 1808 return _OneField(query) |
1809 |
1810 def SQLLoadTransPubTitlesList(pub_ids): |
global _OneField = <function _OneField>, query = 'select trans_pub_title from trans_pubs where pub_id=928962' |
/home/stoecker/isfdb/install/cgi-bin/SQLparsing.py in _OneField(query='select trans_pub_title from trans_pubs where pub_id=928962') |
53 |
54 def _OneField(query): |
=> 55 db.query(query) |
56 result = db.store_result() |
57 record = result.fetch_row() |
global db = <_mysql.connection open to '127.0.0.1'>, db.query = <bound method Connection.query of <_mysql.connection open to '127.0.0.1'>>, query = 'select trans_pub_title from trans_pubs where pub_id=928962' |
/usr/lib64/python2.7/site-packages/MySQLdb/connections.py in query(self=<_mysql.connection open to '127.0.0.1'>, query='select trans_pub_title from trans_pubs where pub_id=928962') |
237 if isinstance(query, bytearray): |
238 query = bytes(query) |
=> 239 _mysql.connection.query(self, query) |
240 |
241 def _bytes_literal(self, bs): |
global _mysql = <module 'MySQLdb._mysql' from '/usr/lib64/python2.7/site-packages/MySQLdb/_mysql.so'>, _mysql.connection = <type '_mysql.connection'>, _mysql.connection.query = <method 'query' of '_mysql.connection' objects>, self = <_mysql.connection open to '127.0.0.1'>, query = 'select trans_pub_title from trans_pubs where pub_id=928962' |
<class 'MySQLdb._exceptions.ProgrammingError'>: (1146, "Table 'isfdb.trans_pubs' doesn't exist")
args =
(1146, "Table 'isfdb.trans_pubs' doesn't exist")
message =
''