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 Mon Apr 29 20:14:11 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 = [(954809, 'Flowers for Algernon', 'FLWRSFRLGR2023', '2023-01-24', 5583, '320', 'pb', 'NOVEL', '9780063320222', 'https://m.media-amazon.com/images/I/41lp26KWMmL.jpg', '$', 1117015, None, None, None), (953138, 'Life of Pi', 'LFFPTHTRTN2023', '2023-05-23', 5583, '336', 'tp', 'NOVEL', '9780063344778', 'https://m.media-amazon.com/images/I/51L2HQVXNdL.jpg', '$18.99', 1115013, None, None, None), (952307, 'A Good House for Children', 'GDHSFRCHLD2023', '2023-07-04', 5583, '336', 'hc', 'NOVEL', '9780063291027', 'https://m.media-amazon.com/images/I/51t2H60iw5L.jpg', '$28.99', 1114018, None, None, None), (958716, 'A Council of Dolls', 'CNCLFDLLSX2023', '2023-08-08', 5583, '304', 'hc', 'NOVEL', '9780063281097', 'https://m.media-amazon.com/images/I/51s-TCYx3LL.jpg', '$30.00', 1121814, None, None, None), (966166, 'Let the Dead Bury Their Dead: And Other Stories', 'LTTHDDBRTH2023', '2023-08-22', 5583, '336', 'tp', 'COLLECTION', '9780063325258', 'https://m.media-amazon.com/images/I/51-xxfWWotL.jpg', '$18.99', 1131389, 11859, None, None), (966125, 'Animal Farm', 'NMLFRMSGTK2023', '2023-10-15', 5583, '96', 'hc', 'NOVEL', '9780358658887', 'https://m.media-amazon.com/images/I/41U-Yg-GKUL.jpg', '$20.00', 1131340, None, None, None), (967143, 'The Best American Science Fiction and Fantasy 2023', 'THBSTMRCNS2023', '2023-10-17', 5583, '320', 'tp', 'ANTHOLOGY', '9780063315747', 'https://m.media-amazon.com/images/I/51jrhxJnbrL.jpg', '$18.99', 1132514, None, None, None), (967426, 'Julia', 'JLZBRZXMCP2023', '2023-10-24', 5583, '400', 'hc', 'NOVEL', '9780063265332', 'https://m.media-amazon.com/images/I/41IE38xX7QL.jpg', '$30.00', 1132814, None, None, None), (977493, 'Sunny', 'SNNMCLXZGG2023', '2023-12-05', 5583, '288', 'tp', 'NOVEL', '9780063373358', 'https://m.media-amazon.com/images/I/61h4tjmDC6L.jpg', '$18.99', 1146063, None, None, None)] |
/home/stoecker/isfdb/install/cgi-bin/common.py in PrintPubsTable(pubs=[(954809, 'Flowers for Algernon', 'FLWRSFRLGR2023', '2023-01-24', 5583, '320', 'pb', 'NOVEL', '9780063320222', 'https://m.media-amazon.com/images/I/41lp26KWMmL.jpg', '$', 1117015, None, None, None), (953138, 'Life of Pi', 'LFFPTHTRTN2023', '2023-05-23', 5583, '336', 'tp', 'NOVEL', '9780063344778', 'https://m.media-amazon.com/images/I/51L2HQVXNdL.jpg', '$18.99', 1115013, None, None, None), (952307, 'A Good House for Children', 'GDHSFRCHLD2023', '2023-07-04', 5583, '336', 'hc', 'NOVEL', '9780063291027', 'https://m.media-amazon.com/images/I/51t2H60iw5L.jpg', '$28.99', 1114018, None, None, None), (958716, 'A Council of Dolls', 'CNCLFDLLSX2023', '2023-08-08', 5583, '304', 'hc', 'NOVEL', '9780063281097', 'https://m.media-amazon.com/images/I/51s-TCYx3LL.jpg', '$30.00', 1121814, None, None, None), (966166, 'Let the Dead Bury Their Dead: And Other Stories', 'LTTHDDBRTH2023', '2023-08-22', 5583, '336', 'tp', 'COLLECTION', '9780063325258', 'https://m.media-amazon.com/images/I/51-xxfWWotL.jpg', '$18.99', 1131389, 11859, None, None), (966125, 'Animal Farm', 'NMLFRMSGTK2023', '2023-10-15', 5583, '96', 'hc', 'NOVEL', '9780358658887', 'https://m.media-amazon.com/images/I/41U-Yg-GKUL.jpg', '$20.00', 1131340, None, None, None), (967143, 'The Best American Science Fiction and Fantasy 2023', 'THBSTMRCNS2023', '2023-10-17', 5583, '320', 'tp', 'ANTHOLOGY', '9780063315747', 'https://m.media-amazon.com/images/I/51jrhxJnbrL.jpg', '$18.99', 1132514, None, None, None), (967426, 'Julia', 'JLZBRZXMCP2023', '2023-10-24', 5583, '400', 'hc', 'NOVEL', '9780063265332', 'https://m.media-amazon.com/images/I/41IE38xX7QL.jpg', '$30.00', 1132814, None, None, None), (977493, 'Sunny', 'SNNMCLXZGG2023', '2023-12-05', 5583, '288', 'tp', 'NOVEL', '9780063373358', 'https://m.media-amazon.com/images/I/61h4tjmDC6L.jpg', '$18.99', 1146063, 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 = (954809, 'Flowers for Algernon', 'FLWRSFRLGR2023', '2023-01-24', 5583, '320', 'pb', 'NOVEL', '9780063320222', 'https://m.media-amazon.com/images/I/41lp26KWMmL.jpg', '$', 1117015, None, None, None), pub_authors = {952307: [(364067, 'Kate Collins', 'Collins')], 953138: [(115169, 'Yann Martel', 'Martel')], 954809: [(1576, 'Daniel Keyes', 'Keyes')], 958716: [(365780, 'Mona Susan Power', 'Power')], 966125: [(1377, 'George Orwell', 'Orwell')], 966166: [(132698, 'Randall Kenan', 'Kenan')], 967143: [(269436, 'R. F. Kuang', 'Kuang')], 967426: [(204253, 'Sandra Newman', 'Newman')], 977493: [(295891, "Colin O'Sullivan", "O'Sullivan")]}, pub_publishers = {5583: 'Mariner Books'}, pub_series = {11859: 'Mariner Classics'}, cover_artists = {}, bgcolor = 1, display_type = 'publisher', user = <login.User instance>, index = 1 |
/home/stoecker/isfdb/install/cgi-bin/common.py in PrintOnePub(pub=(954809, 'Flowers for Algernon', 'FLWRSFRLGR2023', '2023-01-24', 5583, '320', 'pb', 'NOVEL', '9780063320222', 'https://m.media-amazon.com/images/I/41lp26KWMmL.jpg', '$', 1117015, None, None, None), pub_authors={952307: [(364067, 'Kate Collins', 'Collins')], 953138: [(115169, 'Yann Martel', 'Martel')], 954809: [(1576, 'Daniel Keyes', 'Keyes')], 958716: [(365780, 'Mona Susan Power', 'Power')], 966125: [(1377, 'George Orwell', 'Orwell')], 966166: [(132698, 'Randall Kenan', 'Kenan')], 967143: [(269436, 'R. F. Kuang', 'Kuang')], 967426: [(204253, 'Sandra Newman', 'Newman')], 977493: [(295891, "Colin O'Sullivan", "O'Sullivan")]}, pub_publishers={5583: 'Mariner Books'}, pub_series={11859: 'Mariner Classics'}, 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 = (954809, 'Flowers for Algernon', 'FLWRSFRLGR2023', '2023-01-24', 5583, '320', 'pb', 'NOVEL', '9780063320222', 'https://m.media-amazon.com/images/I/41lp26KWMmL.jpg', '$', 1117015, 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=954809, displayed_value='Flowers for Algernon', 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 = 954809 |
/home/stoecker/isfdb/install/cgi-bin/SQLparsing.py in SQLloadTransPubTitles(pub_id=954809) |
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=954809' |
/home/stoecker/isfdb/install/cgi-bin/SQLparsing.py in _OneField(query='select trans_pub_title from trans_pubs where pub_id=954809') |
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=954809' |
/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=954809') |
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=954809' |
<class 'MySQLdb._exceptions.ProgrammingError'>: (1146, "Table 'isfdb.trans_pubs' doesn't exist")
args =
(1146, "Table 'isfdb.trans_pubs' doesn't exist")
message =
''