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 15:48:32 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 = [(874555, 'The New York Times Book Review, January 2, 2022', 'THNWRKTMSB2022', '2022-01-02', 70073, '28', 'tabloid', 'MAGAZINE', None, None, None, 1003167, None, None, None), (875806, 'The New York Times Book Review, January 9, 2022', 'THNWRKTMSC2022', '2022-01-09', 70073, '28', 'tabloid', 'MAGAZINE', None, None, None, 1004925, None, None, None), (875807, 'The New York Times, January 12, 2022', 'THNWRKTMSJ2022', '2022-01-12', 70073, None, 'tabloid', 'MAGAZINE', None, None, None, 1004926, None, None, None), (875921, 'The New York Times, January 14, 2022', 'THNWRKTMSD2022', '2022-01-14', 70073, None, 'tabloid', 'MAGAZINE', None, None, None, 1005088, None, None, None), (877040, 'The New York Times Magazine, January 16, 2022', 'THNWRKTMSM2022', '2022-01-16', 70073, '60', 'tabloid', 'MAGAZINE', None, None, None, 1006692, None, None, None), (877133, 'The New York Times Book Review, January 16, 2022', 'THNWRKTMSF2022', '2022-01-16', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1006812, None, None, None), (883453, 'The New York Times Book Review, January 23, 2022', 'THNWRKTMSL2022', '2022-01-23', 70073, '28', 'tabloid', 'MAGAZINE', None, None, None, 1014970, None, None, None), (878422, 'The New York Times Book Review, January 30, 2022', 'THNWRKTMSG2022', '2022-01-30', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1008468, None, None, None), (884871, 'The New York Times Book Review, February 6, 2022', 'THNWRKTMSP2022', '2022-02-06', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1016742, None, None, None), (880330, 'The New York Times, February 8, 2022', 'THNWRKTMSH2022', '2022-02-09', 70073, None, 'tabloid', 'MAGAZINE', None, None, None, 1010941, None, None, None), (881512, 'The New York Times Book Review, February 13, 2022', 'THNWRKTMSK2022', '2022-02-13', 70073, '28', 'tabloid', 'MAGAZINE', None, None, None, 1012358, None, None, None), (884422, 'The New York Times Book Review, February 20, 2022', 'THNWRKTMSN2022', '2022-02-20', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1016176, None, None, None), (885392, 'The New York Times Book Review, February 27, 2022', 'THNWRKTMSQ2022', '2022-02-27', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1017370, None, None, None), (887126, 'The New York Times Book Review, March 6, 2022', 'THNWRKTMSR2022', '2022-03-06', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1019549, None, None, None), (897146, 'The New York Times Book Review, March 13, 2022', 'THNWRKTMS202022', '2022-03-13', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1032931, None, None, None), (889046, 'The New York Times Book Review, March 20, 2022', 'THNWRKTMSS2022', '2022-03-20', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1022218, None, None, None), (891148, 'The New York Times Book Review, March 27, 2022', 'THNWRKTMST2022', '2022-03-27', 70073, '28', 'tabloid', 'MAGAZINE', None, None, None, 1024913, None, None, None), (891480, 'The New York Times, March 30, 2022', 'THNWRKTMSV2022', '2022-03-30', 70073, None, 'tabloid', 'MAGAZINE', None, None, None, 1025351, None, None, None), (892785, 'The New York Times Book Review, April 3, 2022', 'THNWRKTMSW2022', '2022-04-03', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1027031, None, None, None), (896104, 'The New York Times Book Review, April 10, 2022', 'THNWRKTMSZ2022', '2022-04-10', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1031294, None, None, None), ...] |
/home/stoecker/isfdb/install/cgi-bin/common.py in PrintPubsTable(pubs=[(874555, 'The New York Times Book Review, January 2, 2022', 'THNWRKTMSB2022', '2022-01-02', 70073, '28', 'tabloid', 'MAGAZINE', None, None, None, 1003167, None, None, None), (875806, 'The New York Times Book Review, January 9, 2022', 'THNWRKTMSC2022', '2022-01-09', 70073, '28', 'tabloid', 'MAGAZINE', None, None, None, 1004925, None, None, None), (875807, 'The New York Times, January 12, 2022', 'THNWRKTMSJ2022', '2022-01-12', 70073, None, 'tabloid', 'MAGAZINE', None, None, None, 1004926, None, None, None), (875921, 'The New York Times, January 14, 2022', 'THNWRKTMSD2022', '2022-01-14', 70073, None, 'tabloid', 'MAGAZINE', None, None, None, 1005088, None, None, None), (877040, 'The New York Times Magazine, January 16, 2022', 'THNWRKTMSM2022', '2022-01-16', 70073, '60', 'tabloid', 'MAGAZINE', None, None, None, 1006692, None, None, None), (877133, 'The New York Times Book Review, January 16, 2022', 'THNWRKTMSF2022', '2022-01-16', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1006812, None, None, None), (883453, 'The New York Times Book Review, January 23, 2022', 'THNWRKTMSL2022', '2022-01-23', 70073, '28', 'tabloid', 'MAGAZINE', None, None, None, 1014970, None, None, None), (878422, 'The New York Times Book Review, January 30, 2022', 'THNWRKTMSG2022', '2022-01-30', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1008468, None, None, None), (884871, 'The New York Times Book Review, February 6, 2022', 'THNWRKTMSP2022', '2022-02-06', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1016742, None, None, None), (880330, 'The New York Times, February 8, 2022', 'THNWRKTMSH2022', '2022-02-09', 70073, None, 'tabloid', 'MAGAZINE', None, None, None, 1010941, None, None, None), (881512, 'The New York Times Book Review, February 13, 2022', 'THNWRKTMSK2022', '2022-02-13', 70073, '28', 'tabloid', 'MAGAZINE', None, None, None, 1012358, None, None, None), (884422, 'The New York Times Book Review, February 20, 2022', 'THNWRKTMSN2022', '2022-02-20', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1016176, None, None, None), (885392, 'The New York Times Book Review, February 27, 2022', 'THNWRKTMSQ2022', '2022-02-27', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1017370, None, None, None), (887126, 'The New York Times Book Review, March 6, 2022', 'THNWRKTMSR2022', '2022-03-06', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1019549, None, None, None), (897146, 'The New York Times Book Review, March 13, 2022', 'THNWRKTMS202022', '2022-03-13', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1032931, None, None, None), (889046, 'The New York Times Book Review, March 20, 2022', 'THNWRKTMSS2022', '2022-03-20', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1022218, None, None, None), (891148, 'The New York Times Book Review, March 27, 2022', 'THNWRKTMST2022', '2022-03-27', 70073, '28', 'tabloid', 'MAGAZINE', None, None, None, 1024913, None, None, None), (891480, 'The New York Times, March 30, 2022', 'THNWRKTMSV2022', '2022-03-30', 70073, None, 'tabloid', 'MAGAZINE', None, None, None, 1025351, None, None, None), (892785, 'The New York Times Book Review, April 3, 2022', 'THNWRKTMSW2022', '2022-04-03', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1027031, None, None, None), (896104, 'The New York Times Book Review, April 10, 2022', 'THNWRKTMSZ2022', '2022-04-10', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 1031294, 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 = (874555, 'The New York Times Book Review, January 2, 2022', 'THNWRKTMSB2022', '2022-01-02', 70073, '28', 'tabloid', 'MAGAZINE', None, None, None, 1003167, None, None, None), pub_authors = {874555: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 875806: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 875807: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 875921: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 877040: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 877133: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 878422: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 880330: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 881512: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 883453: [(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=(874555, 'The New York Times Book Review, January 2, 2022', 'THNWRKTMSB2022', '2022-01-02', 70073, '28', 'tabloid', 'MAGAZINE', None, None, None, 1003167, None, None, None), pub_authors={874555: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 875806: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 875807: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 875921: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 877040: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 877133: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 878422: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 880330: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 881512: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 883453: [(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 = (874555, 'The New York Times Book Review, January 2, 2022', 'THNWRKTMSB2022', '2022-01-02', 70073, '28', 'tabloid', 'MAGAZINE', None, None, None, 1003167, 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=874555, displayed_value='The New York Times Book Review, January 2, 2022', 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 = 874555 |
/home/stoecker/isfdb/install/cgi-bin/SQLparsing.py in SQLloadTransPubTitles(pub_id=874555) |
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=874555' |
/home/stoecker/isfdb/install/cgi-bin/SQLparsing.py in _OneField(query='select trans_pub_title from trans_pubs where pub_id=874555') |
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=874555' |
/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=874555') |
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=874555' |
<class 'MySQLdb._exceptions.ProgrammingError'>: (1146, "Table 'isfdb.trans_pubs' doesn't exist")
args =
(1146, "Table 'isfdb.trans_pubs' doesn't exist")
message =
''