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 Sun Apr 28 11:40:44 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 = [(990249, 'The New York Times Book Review, January 7, 2024', 'THNWRKTMSB2024', '2024-01-07', 70073, None, 'tabloid', 'MAGAZINE', None, None, None, 1163636, None, None, None), (990031, 'The New York Times, January 9, 2024', 'THNWRKTMSJ2024', '2024-01-09', 70073, None, 'tabloid', 'MAGAZINE', None, None, None, 1163389, None, None, None), (996513, 'The New York Times Book Review, January 28, 2024', 'THNWRKTMSD2024', '2024-01-28', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1172022, None, None, None), (995123, 'The New York Times, January 30, 2024', 'THNWRKTMSC2024', '2024-01-30', 70073, None, 'tabloid', 'MAGAZINE', None, None, None, 1169977, None, None, None), (998179, 'The New York Times Book Review, February 4, 2024', 'THNWRKTMSF2024', '2024-02-04', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1174244, None, None, None), (998209, 'The New York Times Book Review, February 11, 2024', 'THNWRKTMSG2024', '2024-02-11', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1174439, None, None, None), (998978, 'The New York Times Book Review, February 18, 2024', 'THNWRKTMSH2024', '2024-02-18', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1175766, None, None, None), (999182, 'The New York Times Book Review, February 25, 2024', 'THNWRKTMSK2024', '2024-02-25', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1176025, None, None, None), (1000014, 'The New York Times Book Review, March 3, 2024', 'THNWRKTMSL2024', '2024-03-03', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1177278, None, None, None), (1000041, 'The New York Times, March 7, 2024', 'THNWRKTMSM2024', '2024-03-07', 70073, None, 'tabloid', 'MAGAZINE', None, None, None, 1177321, None, None, None), (1000042, 'The New York Times Book Review, March 10, 2024', 'THNWRKTMSN2024', '2024-03-10', 70073, None, 'tabloid', 'MAGAZINE', None, None, None, 1177322, None, None, None), (1001020, 'The New York Times Book Review, March 17, 2024', 'THNWRKTMSP2024', '2024-03-17', 70073, '28', 'tabloid', 'MAGAZINE', None, None, None, 1178588, None, None, None), (1002363, 'The New York Times, March 30, 2024', 'THNWRKTMSQ2024', '2024-03-30', 70073, None, 'tabloid', 'MAGAZINE', None, None, None, 1180360, None, None, None), (1002956, 'The New York Times, April 5, 2024', 'THNWRKTMSR2024', '2024-04-05', 70073, None, 'tabloid', 'MAGAZINE', None, None, None, 1181213, None, None, None), (1002957, 'The New York Times, April 7, 2024', 'THNWRKTMSS2024', '2024-04-07', 70073, None, 'tabloid', 'MAGAZINE', None, None, None, 1181214, None, None, None), (1003347, 'The New York Times Book Review, April 7, 2024', 'THNWRKTMST2024', '2024-04-07', 70073, '28', 'tabloid', 'MAGAZINE', None, 'https://isfdb.org/wiki/images/7/7e/THNWRKTMST2024.jpg', None, 1181840, None, None, None), (1004233, 'The New York Times Style Magazine, April 21, 2024', 'THNWRKTMSV2024', '2024-04-21', 70073, '132', 'tabloid', 'MAGAZINE', None, None, None, 1183006, None, None, None)] |
/home/stoecker/isfdb/install/cgi-bin/common.py in PrintPubsTable(pubs=[(990249, 'The New York Times Book Review, January 7, 2024', 'THNWRKTMSB2024', '2024-01-07', 70073, None, 'tabloid', 'MAGAZINE', None, None, None, 1163636, None, None, None), (990031, 'The New York Times, January 9, 2024', 'THNWRKTMSJ2024', '2024-01-09', 70073, None, 'tabloid', 'MAGAZINE', None, None, None, 1163389, None, None, None), (996513, 'The New York Times Book Review, January 28, 2024', 'THNWRKTMSD2024', '2024-01-28', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1172022, None, None, None), (995123, 'The New York Times, January 30, 2024', 'THNWRKTMSC2024', '2024-01-30', 70073, None, 'tabloid', 'MAGAZINE', None, None, None, 1169977, None, None, None), (998179, 'The New York Times Book Review, February 4, 2024', 'THNWRKTMSF2024', '2024-02-04', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1174244, None, None, None), (998209, 'The New York Times Book Review, February 11, 2024', 'THNWRKTMSG2024', '2024-02-11', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1174439, None, None, None), (998978, 'The New York Times Book Review, February 18, 2024', 'THNWRKTMSH2024', '2024-02-18', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1175766, None, None, None), (999182, 'The New York Times Book Review, February 25, 2024', 'THNWRKTMSK2024', '2024-02-25', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1176025, None, None, None), (1000014, 'The New York Times Book Review, March 3, 2024', 'THNWRKTMSL2024', '2024-03-03', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1177278, None, None, None), (1000041, 'The New York Times, March 7, 2024', 'THNWRKTMSM2024', '2024-03-07', 70073, None, 'tabloid', 'MAGAZINE', None, None, None, 1177321, None, None, None), (1000042, 'The New York Times Book Review, March 10, 2024', 'THNWRKTMSN2024', '2024-03-10', 70073, None, 'tabloid', 'MAGAZINE', None, None, None, 1177322, None, None, None), (1001020, 'The New York Times Book Review, March 17, 2024', 'THNWRKTMSP2024', '2024-03-17', 70073, '28', 'tabloid', 'MAGAZINE', None, None, None, 1178588, None, None, None), (1002363, 'The New York Times, March 30, 2024', 'THNWRKTMSQ2024', '2024-03-30', 70073, None, 'tabloid', 'MAGAZINE', None, None, None, 1180360, None, None, None), (1002956, 'The New York Times, April 5, 2024', 'THNWRKTMSR2024', '2024-04-05', 70073, None, 'tabloid', 'MAGAZINE', None, None, None, 1181213, None, None, None), (1002957, 'The New York Times, April 7, 2024', 'THNWRKTMSS2024', '2024-04-07', 70073, None, 'tabloid', 'MAGAZINE', None, None, None, 1181214, None, None, None), (1003347, 'The New York Times Book Review, April 7, 2024', 'THNWRKTMST2024', '2024-04-07', 70073, '28', 'tabloid', 'MAGAZINE', None, 'https://isfdb.org/wiki/images/7/7e/THNWRKTMST2024.jpg', None, 1181840, None, None, None), (1004233, 'The New York Times Style Magazine, April 21, 2024', 'THNWRKTMSV2024', '2024-04-21', 70073, '132', 'tabloid', 'MAGAZINE', None, None, None, 1183006, 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 = (990249, 'The New York Times Book Review, January 7, 2024', 'THNWRKTMSB2024', '2024-01-07', 70073, None, 'tabloid', 'MAGAZINE', None, None, None, 1163636, None, None, None), pub_authors = {990031: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 990249: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 995123: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 996513: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 998179: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 998209: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 998978: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 999182: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 1000014: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 1000041: [(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=(990249, 'The New York Times Book Review, January 7, 2024', 'THNWRKTMSB2024', '2024-01-07', 70073, None, 'tabloid', 'MAGAZINE', None, None, None, 1163636, None, None, None), pub_authors={990031: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 990249: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 995123: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 996513: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 998179: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 998209: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 998978: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 999182: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 1000014: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 1000041: [(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 = (990249, 'The New York Times Book Review, January 7, 2024', 'THNWRKTMSB2024', '2024-01-07', 70073, None, 'tabloid', 'MAGAZINE', None, None, None, 1163636, 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=990249, displayed_value='The New York Times Book Review, January 7, 2024', 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 = 990249 |
/home/stoecker/isfdb/install/cgi-bin/SQLparsing.py in SQLloadTransPubTitles(pub_id=990249) |
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=990249' |
/home/stoecker/isfdb/install/cgi-bin/SQLparsing.py in _OneField(query='select trans_pub_title from trans_pubs where pub_id=990249') |
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=990249' |
/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=990249') |
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=990249' |
<class 'MySQLdb._exceptions.ProgrammingError'>: (1146, "Table 'isfdb.trans_pubs' doesn't exist")
args =
(1146, "Table 'isfdb.trans_pubs' doesn't exist")
message =
''