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 Tue Apr 30 23:06:24 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 = [(812802, 'A Thousand Ships', 'THSNDSHPSN2021', '2021-01-26', 1177, '345', 'hc', 'NOVEL', '9780063065390', 'https://m.media-amazon.com/images/I/51tW3IhQyuL.jpg', '$27.99', 922762, None, None, None), (872902, 'A Thousand Ships', 'THSNDSHPSB2021', '2021-01-26', 1177, None, 'ebook', 'NOVEL', '9780063065413', 'https://images-na.ssl-images-amazon.com/images/I/51wzwa3EQjL.jpg', '$10.99', 1000589, None, None, None), (815611, "The Tiger's Apprentice", 'THTGRSPPRN2021', '2021-02-02', 1177, '192', 'tp', 'NOVEL', '9780063056503', 'https://m.media-amazon.com/images/I/51lqj2JYmbL.jpg', '$7.99', 926040, None, None, None), (816516, 'The Upstairs House', 'THPSTRSHSK2021', '2021-02-23', 1177, '304', 'hc', 'NOVEL', '9780062975829', 'https://m.media-amazon.com/images/I/41wCdBf0DFL.jpg', '$26.99', 926987, None, None, None), (816517, 'The Upstairs House', 'THPSTRSHSP2021', '2021-02-23', 1177, None, 'ebook', 'NOVEL', '9780062975843', 'https://m.media-amazon.com/images/I/41wCdBf0DFL.jpg', '$13.99', 926988, None, None, None), (823081, 'Caul Baby', 'CLBBGSQTFS2021', '2021-04-06', 1177, '352', 'hc', 'NOVEL', '9780062873088', 'https://m.media-amazon.com/images/I/518Cg+xJDCL.jpg', '$27.99', 934881, None, None, None), (823996, 'Caul Baby', 'CLBBXRZGKL2021', '2021-04-06', 1177, None, 'ebook', 'NOVEL', '9780062873170', 'https://m.media-amazon.com/images/I/518Cg+xJDCL.jpg', '$14.99', 935945, None, None, None), (830214, 'Camp Murderface', 'CMPMRDRFCS2021', '2021-05-27', 1177, '368', 'tp', 'NOVEL', '9780062871640', 'https://images-na.ssl-images-amazon.com/images/I/51G2Ovc5y+L.jpg', '\xc2\xa35.99', 943573, None, None, None), (838626, 'The Hidden Palace', 'THHDDNPLCN2021', '2021-06-08', 1177, '480', 'hc', 'NOVEL', '9780062468710', 'https://m.media-amazon.com/images/I/51zIanEUFaL.jpg', '$28.99', 953922, None, None, None), (838628, 'The Hidden Palace', 'THHDDNPLCC2021', '2021-06-08', 1177, '480', 'tp', 'NOVEL', '9780063092037', 'https://m.media-amazon.com/images/I/51zIanEUFaL.jpg', '$', 953924, None, None, None), (894057, 'Should We Stay or Should We Go', 'SHLDWSTRSH2021', '2021-06-08', 1177, '206', 'hc', 'NOVEL', '9780063094246', 'https://images-na.ssl-images-amazon.com/images/I/41MwAyUt5BS.jpg', '$26.99', None, None, None, None), (850379, 'The Hidden Palace', 'THHDDNPLCD2021', '2021-07-13', 1177, '480', 'tp', 'NOVEL', '9780063217386', 'https://m.media-amazon.com/images/I/51E1XNggD2S.jpg', '$31.73', 968363, None, None, None), (846921, 'Lirael', 'LRLCLSSCDT2021', '2021-08-03', 1177, '512', 'tp', 'NOVEL', '9780063086814', 'https://m.media-amazon.com/images/I/41anKzRau3L.jpg', '$12.99', 963773, None, None, None), (863052, 'The Sentence', 'THSNTNCQWK2021', '2021-11-09', 1177, '400', 'hc', 'NOVEL', '9780062671127', 'https://m.media-amazon.com/images/I/519jGfSJc8S.jpg', '$28.99', 986456, None, None, None), (863054, 'The Sentence', 'THSNTNCRWF2021', '2021-11-09', 1177, None, 'ebook', 'NOVEL', '9780062671141', 'https://m.media-amazon.com/images/I/519jGfSJc8S.jpg', '$14.99', 986458, None, None, None), (863442, 'You Feel It Just Below the Ribs', 'FLTJSTBLWT2021', '2021-11-16', 1177, '384', 'hc', 'NOVEL', '9780063143074', 'https://m.media-amazon.com/images/I/41mlb-b4VXL.jpg', '$26.99', 986923, None, None, None), (863502, 'Believe Me', 'BLVMSHTTRM2021', '2021-11-16', 1177, '224', 'tp', 'CHAPBOOK', '9780063228313', 'https://m.media-amazon.com/images/I/51Qo-R7pKRL.jpg', '$11.99', 986996, None, None, None), (863717, 'The City of Mist', 'THCTFMSTML2021', '2021-11-23', 1177, '176', 'hc', 'COLLECTION', '9780063143159', 'https://m.media-amazon.com/images/I/41zZaYHPqXL.jpg', '$26.99', 987235, None, None, None), (914304, 'The Bright Ages: A New History of Medieval Europe', 'THBRGHTGSN2021', '2021-12-07', 1177, 'xviii+307', 'hc', 'NONFICTION', '9780062980892', 'https://images-na.ssl-images-amazon.com/images/I/A1wunR129hL.jpg', '$29.99', None, None, None, None)] |
/home/stoecker/isfdb/install/cgi-bin/common.py in PrintPubsTable(pubs=[(812802, 'A Thousand Ships', 'THSNDSHPSN2021', '2021-01-26', 1177, '345', 'hc', 'NOVEL', '9780063065390', 'https://m.media-amazon.com/images/I/51tW3IhQyuL.jpg', '$27.99', 922762, None, None, None), (872902, 'A Thousand Ships', 'THSNDSHPSB2021', '2021-01-26', 1177, None, 'ebook', 'NOVEL', '9780063065413', 'https://images-na.ssl-images-amazon.com/images/I/51wzwa3EQjL.jpg', '$10.99', 1000589, None, None, None), (815611, "The Tiger's Apprentice", 'THTGRSPPRN2021', '2021-02-02', 1177, '192', 'tp', 'NOVEL', '9780063056503', 'https://m.media-amazon.com/images/I/51lqj2JYmbL.jpg', '$7.99', 926040, None, None, None), (816516, 'The Upstairs House', 'THPSTRSHSK2021', '2021-02-23', 1177, '304', 'hc', 'NOVEL', '9780062975829', 'https://m.media-amazon.com/images/I/41wCdBf0DFL.jpg', '$26.99', 926987, None, None, None), (816517, 'The Upstairs House', 'THPSTRSHSP2021', '2021-02-23', 1177, None, 'ebook', 'NOVEL', '9780062975843', 'https://m.media-amazon.com/images/I/41wCdBf0DFL.jpg', '$13.99', 926988, None, None, None), (823081, 'Caul Baby', 'CLBBGSQTFS2021', '2021-04-06', 1177, '352', 'hc', 'NOVEL', '9780062873088', 'https://m.media-amazon.com/images/I/518Cg+xJDCL.jpg', '$27.99', 934881, None, None, None), (823996, 'Caul Baby', 'CLBBXRZGKL2021', '2021-04-06', 1177, None, 'ebook', 'NOVEL', '9780062873170', 'https://m.media-amazon.com/images/I/518Cg+xJDCL.jpg', '$14.99', 935945, None, None, None), (830214, 'Camp Murderface', 'CMPMRDRFCS2021', '2021-05-27', 1177, '368', 'tp', 'NOVEL', '9780062871640', 'https://images-na.ssl-images-amazon.com/images/I/51G2Ovc5y+L.jpg', '\xc2\xa35.99', 943573, None, None, None), (838626, 'The Hidden Palace', 'THHDDNPLCN2021', '2021-06-08', 1177, '480', 'hc', 'NOVEL', '9780062468710', 'https://m.media-amazon.com/images/I/51zIanEUFaL.jpg', '$28.99', 953922, None, None, None), (838628, 'The Hidden Palace', 'THHDDNPLCC2021', '2021-06-08', 1177, '480', 'tp', 'NOVEL', '9780063092037', 'https://m.media-amazon.com/images/I/51zIanEUFaL.jpg', '$', 953924, None, None, None), (894057, 'Should We Stay or Should We Go', 'SHLDWSTRSH2021', '2021-06-08', 1177, '206', 'hc', 'NOVEL', '9780063094246', 'https://images-na.ssl-images-amazon.com/images/I/41MwAyUt5BS.jpg', '$26.99', None, None, None, None), (850379, 'The Hidden Palace', 'THHDDNPLCD2021', '2021-07-13', 1177, '480', 'tp', 'NOVEL', '9780063217386', 'https://m.media-amazon.com/images/I/51E1XNggD2S.jpg', '$31.73', 968363, None, None, None), (846921, 'Lirael', 'LRLCLSSCDT2021', '2021-08-03', 1177, '512', 'tp', 'NOVEL', '9780063086814', 'https://m.media-amazon.com/images/I/41anKzRau3L.jpg', '$12.99', 963773, None, None, None), (863052, 'The Sentence', 'THSNTNCQWK2021', '2021-11-09', 1177, '400', 'hc', 'NOVEL', '9780062671127', 'https://m.media-amazon.com/images/I/519jGfSJc8S.jpg', '$28.99', 986456, None, None, None), (863054, 'The Sentence', 'THSNTNCRWF2021', '2021-11-09', 1177, None, 'ebook', 'NOVEL', '9780062671141', 'https://m.media-amazon.com/images/I/519jGfSJc8S.jpg', '$14.99', 986458, None, None, None), (863442, 'You Feel It Just Below the Ribs', 'FLTJSTBLWT2021', '2021-11-16', 1177, '384', 'hc', 'NOVEL', '9780063143074', 'https://m.media-amazon.com/images/I/41mlb-b4VXL.jpg', '$26.99', 986923, None, None, None), (863502, 'Believe Me', 'BLVMSHTTRM2021', '2021-11-16', 1177, '224', 'tp', 'CHAPBOOK', '9780063228313', 'https://m.media-amazon.com/images/I/51Qo-R7pKRL.jpg', '$11.99', 986996, None, None, None), (863717, 'The City of Mist', 'THCTFMSTML2021', '2021-11-23', 1177, '176', 'hc', 'COLLECTION', '9780063143159', 'https://m.media-amazon.com/images/I/41zZaYHPqXL.jpg', '$26.99', 987235, None, None, None), (914304, 'The Bright Ages: A New History of Medieval Europe', 'THBRGHTGSN2021', '2021-12-07', 1177, 'xviii+307', 'hc', 'NONFICTION', '9780062980892', 'https://images-na.ssl-images-amazon.com/images/I/A1wunR129hL.jpg', '$29.99', None, 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 = (812802, 'A Thousand Ships', 'THSNDSHPSN2021', '2021-01-26', 1177, '345', 'hc', 'NOVEL', '9780063065390', 'https://m.media-amazon.com/images/I/51tW3IhQyuL.jpg', '$27.99', 922762, None, None, None), pub_authors = {812802: [(317579, 'Natalie Haynes', 'Haynes')], 815611: [(708, 'Laurence Yep', 'Yep')], 816516: [(269829, 'Julia Fine', 'Fine')], 816517: [(269829, 'Julia Fine', 'Fine')], 823081: [(322837, 'Morgan Jerkins', 'Jerkins')], 823996: [(322837, 'Morgan Jerkins', 'Jerkins')], 830214: [(311903, 'Josh Berk', 'Berk'), (136571, 'Saundra Mitchell', 'Mitchell')], 838626: [(186293, 'Helene Wecker', 'Wecker')], 838628: [(186293, 'Helene Wecker', 'Wecker')], 846921: [(2237, 'Garth Nix', 'Nix')], ...}, pub_publishers = {1177: 'Harper'}, 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=(812802, 'A Thousand Ships', 'THSNDSHPSN2021', '2021-01-26', 1177, '345', 'hc', 'NOVEL', '9780063065390', 'https://m.media-amazon.com/images/I/51tW3IhQyuL.jpg', '$27.99', 922762, None, None, None), pub_authors={812802: [(317579, 'Natalie Haynes', 'Haynes')], 815611: [(708, 'Laurence Yep', 'Yep')], 816516: [(269829, 'Julia Fine', 'Fine')], 816517: [(269829, 'Julia Fine', 'Fine')], 823081: [(322837, 'Morgan Jerkins', 'Jerkins')], 823996: [(322837, 'Morgan Jerkins', 'Jerkins')], 830214: [(311903, 'Josh Berk', 'Berk'), (136571, 'Saundra Mitchell', 'Mitchell')], 838626: [(186293, 'Helene Wecker', 'Wecker')], 838628: [(186293, 'Helene Wecker', 'Wecker')], 846921: [(2237, 'Garth Nix', 'Nix')], ...}, pub_publishers={1177: 'Harper'}, 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 = (812802, 'A Thousand Ships', 'THSNDSHPSN2021', '2021-01-26', 1177, '345', 'hc', 'NOVEL', '9780063065390', 'https://m.media-amazon.com/images/I/51tW3IhQyuL.jpg', '$27.99', 922762, 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=812802, displayed_value='A Thousand Ships', 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 = 812802 |
/home/stoecker/isfdb/install/cgi-bin/SQLparsing.py in SQLloadTransPubTitles(pub_id=812802) |
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=812802' |
/home/stoecker/isfdb/install/cgi-bin/SQLparsing.py in _OneField(query='select trans_pub_title from trans_pubs where pub_id=812802') |
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=812802' |
/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=812802') |
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=812802' |
<class 'MySQLdb._exceptions.ProgrammingError'>: (1146, "Table 'isfdb.trans_pubs' doesn't exist")
args =
(1146, "Table 'isfdb.trans_pubs' doesn't exist")
message =
''