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 Thu May 2 20:49:25 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 = [(377375, 'The Magician of Samarkand', 'THMGCNFSMR2004', '2004-01-02', 240, '160', 'tp', 'NOVEL', '0330415735', 'https://m.media-amazon.com/images/P/0330415735.jpg', None, None, None, None, None), (356327, 'The Speed of the Dark', 'THSPDFTHDR2004', '2004-02-00', 240, '280', 'tp', 'NOVEL', '0330415387', 'https://m.media-amazon.com/images/I/41DD0HBBNEL.jpg', '\xc2\xa34.99', 320722, None, None, None), (413825, 'Mermaid Magic', 'MRMDMGCMRM2004', '2004-02-06', 240, '272', 'tp', 'OMNIBUS', '033042632X', 'https://m.media-amazon.com/images/I/514XWIrOvWL.jpg', '\xc2\xa35.99', 338304, None, None, None), (65675, 'The Tears of the Salamander', 'THTRSFTHSL2004', '2004-03-00', 240, '233', 'tp', 'NOVEL', '0330415409', 'https://m.media-amazon.com/images/I/210TA5MKJNL.jpg', '\xc2\xa35.99', 151371, None, None, None), (326866, 'Muddle Earth', 'MDDLRTHHKM2004', '2004-03-00', 240, '449', 'tp', 'NOVEL', '0330426281', 'https://m.media-amazon.com/images/I/61nIV9v9hGL.jpg', '\xc2\xa35.99', None, None, None, None), (318604, 'Molly Moon Stops the World', 'MLLMNSTPST2004', '2004-05-07', 240, '368', 'tp', 'NOVEL', '0330415778', 'https://m.media-amazon.com/images/I/51s639ddRWL.jpg', '$10.35', 217959, None, None, None), (85122, 'On the Seas to Troy', 'NTHSSTTRFW2004', '2004-05-31', 240, '224', 'tp', 'NOVEL', '0330415190', 'https://m.media-amazon.com/images/P/0330415190.jpg', '', None, None, None, None), (413828, 'Fairy Treasure', 'FRTRSRFRSM2004', '2004-06-04', 240, '240', 'pb', 'NOVEL', '0330437305', 'https://m.media-amazon.com/images/I/51%2BLuLwOrvL.jpg', '\xc2\xa35.99', 338308, None, None, None), (380008, 'Cosmo and the Magic Sneeze', 'CSMNDTHMGC2004', '2004-07-02', 240, '256', 'hc', 'NOVEL', '1405057025', 'https://m.media-amazon.com/images/I/51QW60HWTBL.jpg', '\xc2\xa39.99', 293198, None, None, None), (307467, 'Olly Spellmaker and the Hairy Horror', 'LLSPLLMKRB2004', '2004-10-00', 240, '90', 'tp', 'NOVEL', '0330421190', 'https://m.media-amazon.com/images/I/414TTT74N0L.jpg', '\xc2\xa33.99', 198907, 2166, None, None)] |
/home/stoecker/isfdb/install/cgi-bin/common.py in PrintPubsTable(pubs=[(377375, 'The Magician of Samarkand', 'THMGCNFSMR2004', '2004-01-02', 240, '160', 'tp', 'NOVEL', '0330415735', 'https://m.media-amazon.com/images/P/0330415735.jpg', None, None, None, None, None), (356327, 'The Speed of the Dark', 'THSPDFTHDR2004', '2004-02-00', 240, '280', 'tp', 'NOVEL', '0330415387', 'https://m.media-amazon.com/images/I/41DD0HBBNEL.jpg', '\xc2\xa34.99', 320722, None, None, None), (413825, 'Mermaid Magic', 'MRMDMGCMRM2004', '2004-02-06', 240, '272', 'tp', 'OMNIBUS', '033042632X', 'https://m.media-amazon.com/images/I/514XWIrOvWL.jpg', '\xc2\xa35.99', 338304, None, None, None), (65675, 'The Tears of the Salamander', 'THTRSFTHSL2004', '2004-03-00', 240, '233', 'tp', 'NOVEL', '0330415409', 'https://m.media-amazon.com/images/I/210TA5MKJNL.jpg', '\xc2\xa35.99', 151371, None, None, None), (326866, 'Muddle Earth', 'MDDLRTHHKM2004', '2004-03-00', 240, '449', 'tp', 'NOVEL', '0330426281', 'https://m.media-amazon.com/images/I/61nIV9v9hGL.jpg', '\xc2\xa35.99', None, None, None, None), (318604, 'Molly Moon Stops the World', 'MLLMNSTPST2004', '2004-05-07', 240, '368', 'tp', 'NOVEL', '0330415778', 'https://m.media-amazon.com/images/I/51s639ddRWL.jpg', '$10.35', 217959, None, None, None), (85122, 'On the Seas to Troy', 'NTHSSTTRFW2004', '2004-05-31', 240, '224', 'tp', 'NOVEL', '0330415190', 'https://m.media-amazon.com/images/P/0330415190.jpg', '', None, None, None, None), (413828, 'Fairy Treasure', 'FRTRSRFRSM2004', '2004-06-04', 240, '240', 'pb', 'NOVEL', '0330437305', 'https://m.media-amazon.com/images/I/51%2BLuLwOrvL.jpg', '\xc2\xa35.99', 338308, None, None, None), (380008, 'Cosmo and the Magic Sneeze', 'CSMNDTHMGC2004', '2004-07-02', 240, '256', 'hc', 'NOVEL', '1405057025', 'https://m.media-amazon.com/images/I/51QW60HWTBL.jpg', '\xc2\xa39.99', 293198, None, None, None), (307467, 'Olly Spellmaker and the Hairy Horror', 'LLSPLLMKRB2004', '2004-10-00', 240, '90', 'tp', 'NOVEL', '0330421190', 'https://m.media-amazon.com/images/I/414TTT74N0L.jpg', '\xc2\xa33.99', 198907, 2166, 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 = (377375, 'The Magician of Samarkand', 'THMGCNFSMR2004', '2004-01-02', 240, '160', 'tp', 'NOVEL', '0330415735', 'https://m.media-amazon.com/images/P/0330415735.jpg', None, None, None, None, None), pub_authors = {65675: [(1442, 'Peter Dickinson', 'Dickinson')], 85122: [(2435, 'Caroline B. Cooney', 'Cooney')], 307467: [(3168, 'Susan Price', 'Price')], 318604: [(9360, 'Georgia Byng', 'Byng')], 326866: [(27933, 'Chris Riddell', 'Riddell'), (7643, 'Paul Stewart', 'Stewart')], 356327: [(28629, 'Alex Shearer', 'Shearer')], 377375: [(6611, 'Alan Temperley', 'Temperley')], 380008: [(140969, 'Gwyneth Rees', 'Rees')], 413825: [(140969, 'Gwyneth Rees', 'Rees')], 413828: [(140969, 'Gwyneth Rees', 'Rees')]}, pub_publishers = {240: "Macmillan Children's Books"}, pub_series = {2166: 'Shock Shop'}, cover_artists = {}, bgcolor = 1, display_type = 'publisher', user = <login.User instance>, index = 1 |
/home/stoecker/isfdb/install/cgi-bin/common.py in PrintOnePub(pub=(377375, 'The Magician of Samarkand', 'THMGCNFSMR2004', '2004-01-02', 240, '160', 'tp', 'NOVEL', '0330415735', 'https://m.media-amazon.com/images/P/0330415735.jpg', None, None, None, None, None), pub_authors={65675: [(1442, 'Peter Dickinson', 'Dickinson')], 85122: [(2435, 'Caroline B. Cooney', 'Cooney')], 307467: [(3168, 'Susan Price', 'Price')], 318604: [(9360, 'Georgia Byng', 'Byng')], 326866: [(27933, 'Chris Riddell', 'Riddell'), (7643, 'Paul Stewart', 'Stewart')], 356327: [(28629, 'Alex Shearer', 'Shearer')], 377375: [(6611, 'Alan Temperley', 'Temperley')], 380008: [(140969, 'Gwyneth Rees', 'Rees')], 413825: [(140969, 'Gwyneth Rees', 'Rees')], 413828: [(140969, 'Gwyneth Rees', 'Rees')]}, pub_publishers={240: "Macmillan Children's Books"}, pub_series={2166: 'Shock Shop'}, 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 = (377375, 'The Magician of Samarkand', 'THMGCNFSMR2004', '2004-01-02', 240, '160', 'tp', 'NOVEL', '0330415735', 'https://m.media-amazon.com/images/P/0330415735.jpg', None, None, 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=377375, displayed_value='The Magician of Samarkand', 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 = 377375 |
/home/stoecker/isfdb/install/cgi-bin/SQLparsing.py in SQLloadTransPubTitles(pub_id=377375) |
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=377375' |
/home/stoecker/isfdb/install/cgi-bin/SQLparsing.py in _OneField(query='select trans_pub_title from trans_pubs where pub_id=377375') |
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=377375' |
/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=377375') |
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=377375' |
<class 'MySQLdb._exceptions.ProgrammingError'>: (1146, "Table 'isfdb.trans_pubs' doesn't exist")
args =
(1146, "Table 'isfdb.trans_pubs' doesn't exist")
message =
''