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 23:22:04 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 = [(756327, 'The New York Times, January 5, 2020 Sunday Review', 'NWRKTMSJNR2020', '2020-01-05', 70073, '12', 'tabloid', 'MAGAZINE', None, 'http://www.isfdb.org/wiki/images/e/ed/NWRKTMSJNR2020.jpg', None, 848179, None, None, None), (763765, 'The New York Times Book Review, January 5, 2020', 'THNWRKTMSC2020', '2020-01-05', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 858963, None, None, None), (758713, 'The New York Times, January 26, 2020 Sunday Review', 'THNWRKTMSJ2020', '2020-01-26', 70073, None, 'tabloid', 'MAGAZINE', None, None, None, 851930, None, None, None), (764653, 'The New York Times Book Review, January 26, 2020', 'THNWRKTMSF2020', '2020-01-26', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 860212, None, None, None), (761990, 'The New York Times Book Review, February 2, 2020', 'THNWRKTMSB2020', '2020-02-02', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 856618, None, None, None), (764651, 'The New York Times Book Review, February 9, 2020', 'THNWRKTMSD2020', '2020-02-09', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 860209, None, None, None), (764965, 'The New York Times Book Review, March 1, 2020', 'THNWRKTMSH2020', '2020-03-01', 70073, '28', 'tabloid', 'MAGAZINE', None, None, None, 860734, None, None, None), (764966, 'The New York Times Book Review, March 8, 2020', 'THNWRKTMSK2020', '2020-03-08', 70073, '28', 'tabloid', 'MAGAZINE', None, None, None, 860735, None, None, None), (764924, 'The New York Times, March 14, 2020', 'THNWRKTMSM2020', '2020-03-14', 70073, None, 'tabloid', 'MAGAZINE', None, None, None, 860676, None, None, None), (764925, 'The New York Times Book Review, March 15, 2020', 'THNWRKTMSG2020', '2020-03-15', 70073, '28', 'tabloid', 'MAGAZINE', None, None, None, 860677, None, None, None), (765899, 'The New York Times Book Review, March 22, 2020', 'THNWRKTMSL2020', '2020-03-22', 70073, '28', 'tabloid', 'MAGAZINE', None, None, None, 862008, None, None, None), (767205, 'The New York Times Book Review, April 5, 2020', 'THNWRKTMSN2020', '2020-04-05', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 863726, None, None, None), (769305, 'The New York Times Book Review, April 19, 2020', 'THNWRKTMSP2020', '2020-04-19', 70073, '28', 'tabloid', 'MAGAZINE', None, None, None, 866735, None, None, None), (770207, 'The New York Times Book Review, April 26, 2020', 'THNWRKTMSQ2020', '2020-04-26', 70073, '24', 'tabloid', 'MAGAZINE', None, 'http://www.isfdb.org/wiki/images/f/f9/THNWRKTMSQ2020.jpg', None, 867939, None, None, None), (770984, 'The New York Times Book Review, May 3, 2020', 'THNWRKTMSR2020', '2020-05-03', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 869014, None, None, None), (781645, 'The New York Times Magazine, May 3, 2020', 'THNWRKTMS202020', '2020-05-03', 70073, '56', 'tabloid', 'MAGAZINE', None, None, None, 883112, None, None, None), (774173, 'The New York Times Book Review, May 17, 2020', 'THNWRKTMSS2020', '2020-05-17', 70073, '28', 'tabloid', 'MAGAZINE', None, None, None, 873448, None, None, None), (774695, 'The New York Times, May 20, 2020', 'THNWRKTMST2020', '2020-05-20', 70073, None, 'tabloid', 'MAGAZINE', None, None, None, 874037, None, None, None), (781644, 'The New York Times Book Review, May 24, 2020', 'THNWRKTMSZ2020', '2020-05-24', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 882852, None, None, None), (776738, 'The New York Times Book Review, May 31, 2020', 'THNWRKTMSV2020', '2020-05-31', 70073, '68', 'tabloid', 'MAGAZINE', None, None, None, 876598, None, None, None), ...] |
/home/stoecker/isfdb/install/cgi-bin/common.py in PrintPubsTable(pubs=[(756327, 'The New York Times, January 5, 2020 Sunday Review', 'NWRKTMSJNR2020', '2020-01-05', 70073, '12', 'tabloid', 'MAGAZINE', None, 'http://www.isfdb.org/wiki/images/e/ed/NWRKTMSJNR2020.jpg', None, 848179, None, None, None), (763765, 'The New York Times Book Review, January 5, 2020', 'THNWRKTMSC2020', '2020-01-05', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 858963, None, None, None), (758713, 'The New York Times, January 26, 2020 Sunday Review', 'THNWRKTMSJ2020', '2020-01-26', 70073, None, 'tabloid', 'MAGAZINE', None, None, None, 851930, None, None, None), (764653, 'The New York Times Book Review, January 26, 2020', 'THNWRKTMSF2020', '2020-01-26', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 860212, None, None, None), (761990, 'The New York Times Book Review, February 2, 2020', 'THNWRKTMSB2020', '2020-02-02', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 856618, None, None, None), (764651, 'The New York Times Book Review, February 9, 2020', 'THNWRKTMSD2020', '2020-02-09', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 860209, None, None, None), (764965, 'The New York Times Book Review, March 1, 2020', 'THNWRKTMSH2020', '2020-03-01', 70073, '28', 'tabloid', 'MAGAZINE', None, None, None, 860734, None, None, None), (764966, 'The New York Times Book Review, March 8, 2020', 'THNWRKTMSK2020', '2020-03-08', 70073, '28', 'tabloid', 'MAGAZINE', None, None, None, 860735, None, None, None), (764924, 'The New York Times, March 14, 2020', 'THNWRKTMSM2020', '2020-03-14', 70073, None, 'tabloid', 'MAGAZINE', None, None, None, 860676, None, None, None), (764925, 'The New York Times Book Review, March 15, 2020', 'THNWRKTMSG2020', '2020-03-15', 70073, '28', 'tabloid', 'MAGAZINE', None, None, None, 860677, None, None, None), (765899, 'The New York Times Book Review, March 22, 2020', 'THNWRKTMSL2020', '2020-03-22', 70073, '28', 'tabloid', 'MAGAZINE', None, None, None, 862008, None, None, None), (767205, 'The New York Times Book Review, April 5, 2020', 'THNWRKTMSN2020', '2020-04-05', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 863726, None, None, None), (769305, 'The New York Times Book Review, April 19, 2020', 'THNWRKTMSP2020', '2020-04-19', 70073, '28', 'tabloid', 'MAGAZINE', None, None, None, 866735, None, None, None), (770207, 'The New York Times Book Review, April 26, 2020', 'THNWRKTMSQ2020', '2020-04-26', 70073, '24', 'tabloid', 'MAGAZINE', None, 'http://www.isfdb.org/wiki/images/f/f9/THNWRKTMSQ2020.jpg', None, 867939, None, None, None), (770984, 'The New York Times Book Review, May 3, 2020', 'THNWRKTMSR2020', '2020-05-03', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 869014, None, None, None), (781645, 'The New York Times Magazine, May 3, 2020', 'THNWRKTMS202020', '2020-05-03', 70073, '56', 'tabloid', 'MAGAZINE', None, None, None, 883112, None, None, None), (774173, 'The New York Times Book Review, May 17, 2020', 'THNWRKTMSS2020', '2020-05-17', 70073, '28', 'tabloid', 'MAGAZINE', None, None, None, 873448, None, None, None), (774695, 'The New York Times, May 20, 2020', 'THNWRKTMST2020', '2020-05-20', 70073, None, 'tabloid', 'MAGAZINE', None, None, None, 874037, None, None, None), (781644, 'The New York Times Book Review, May 24, 2020', 'THNWRKTMSZ2020', '2020-05-24', 70073, '24', 'tabloid', 'MAGAZINE', None, None, None, 882852, None, None, None), (776738, 'The New York Times Book Review, May 31, 2020', 'THNWRKTMSV2020', '2020-05-31', 70073, '68', 'tabloid', 'MAGAZINE', None, None, None, 876598, 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 = (756327, 'The New York Times, January 5, 2020 Sunday Review', 'NWRKTMSJNR2020', '2020-01-05', 70073, '12', 'tabloid', 'MAGAZINE', None, 'http://www.isfdb.org/wiki/images/e/ed/NWRKTMSJNR2020.jpg', None, 848179, None, None, None), pub_authors = {756327: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 758713: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 761990: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 763765: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 764651: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 764653: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 764924: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 764925: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 764965: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 764966: [(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=(756327, 'The New York Times, January 5, 2020 Sunday Review', 'NWRKTMSJNR2020', '2020-01-05', 70073, '12', 'tabloid', 'MAGAZINE', None, 'http://www.isfdb.org/wiki/images/e/ed/NWRKTMSJNR2020.jpg', None, 848179, None, None, None), pub_authors={756327: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 758713: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 761990: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 763765: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 764651: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 764653: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 764924: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 764925: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 764965: [(115960, 'Editors of The New York Times', 'Editors of The New York Times')], 764966: [(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 = (756327, 'The New York Times, January 5, 2020 Sunday Review', 'NWRKTMSJNR2020', '2020-01-05', 70073, '12', 'tabloid', 'MAGAZINE', None, 'http://www.isfdb.org/wiki/images/e/ed/NWRKTMSJNR2020.jpg', None, 848179, 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=756327, displayed_value='The New York Times, January 5, 2020 Sunday Review', 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 = 756327 |
/home/stoecker/isfdb/install/cgi-bin/SQLparsing.py in SQLloadTransPubTitles(pub_id=756327) |
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=756327' |
/home/stoecker/isfdb/install/cgi-bin/SQLparsing.py in _OneField(query='select trans_pub_title from trans_pubs where pub_id=756327') |
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=756327' |
/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=756327') |
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=756327' |
<class 'MySQLdb._exceptions.ProgrammingError'>: (1146, "Table 'isfdb.trans_pubs' doesn't exist")
args =
(1146, "Table 'isfdb.trans_pubs' doesn't exist")
message =
''