The statistics below count the number of publications for the
specified author. They do not include individual titles (stories, poems, etc.)
contained in publications. Each edition of a book increments the count.
Only the currently selected form of the author's name is counted, e.g.
'Mary Shelley' does not include books published as by 'Mary W. Shelley'.
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/publisher_one_author.cgi in <module>() |
76 table.PrintTable()
|
77 print '<p>'
|
=> 78 PrintPubsTable(pubs, 'publisher')
|
79
|
80 PrintTrailer('publisher_one_author', publisher_id, publisher_id)
|
PrintPubsTable = <function PrintPubsTable>, pubs = [(477813, 'Outrageous Fortune', 'THMRCHNTPB2012', '2012-11-24', 18153, '352', 'tp', 'NOVEL', '9781476730660', 'https://m.media-amazon.com/images/I/51RtxjssxSL.jpg', '$21.99', 417801, None, None, None), (450692, 'The Merchant Prince', 'THMRCHNTPR2012', '2012-11-24', 18153, '368', 'tp', 'NOVEL', '9781476730653', 'https://m.media-amazon.com/images/I/51tdoBV0ITL.jpg', '$22.99', 387698, None, None, None), (416076, 'Capital Offense', 'CPTLFFNSMR2012', '2012-12-01', 18153, '368', 'tp', 'NOVEL', '9781476730677', 'https://m.media-amazon.com/images/I/51UyGYeVYYL.jpg', '$22.99', 341484, None, None, None)] |
/home/stoecker/isfdb/install/cgi-bin/common.py in PrintPubsTable(pubs=[(477813, 'Outrageous Fortune', 'THMRCHNTPB2012', '2012-11-24', 18153, '352', 'tp', 'NOVEL', '9781476730660', 'https://m.media-amazon.com/images/I/51RtxjssxSL.jpg', '$21.99', 417801, None, None, None), (450692, 'The Merchant Prince', 'THMRCHNTPR2012', '2012-11-24', 18153, '368', 'tp', 'NOVEL', '9781476730653', 'https://m.media-amazon.com/images/I/51tdoBV0ITL.jpg', '$22.99', 387698, None, None, None), (416076, 'Capital Offense', 'CPTLFFNSMR2012', '2012-12-01', 18153, '368', 'tp', 'NOVEL', '9781476730677', 'https://m.media-amazon.com/images/I/51UyGYeVYYL.jpg', '$22.99', 341484, 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 = (477813, 'Outrageous Fortune', 'THMRCHNTPB2012', '2012-11-24', 18153, '352', 'tp', 'NOVEL', '9781476730660', 'https://m.media-amazon.com/images/I/51RtxjssxSL.jpg', '$21.99', 417801, None, None, None), pub_authors = {416076: [(7574, 'Armin Shimerman', 'Shimerman')], 450692: [(931, 'Michael Scott', 'Scott'), (7574, 'Armin Shimerman', 'Shimerman')], 477813: [(7574, 'Armin Shimerman', 'Shimerman'), (360, 'Chelsea Quinn Yarbro', 'Yarbro')]}, pub_publishers = {18153: 'Gallery Books'}, 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=(477813, 'Outrageous Fortune', 'THMRCHNTPB2012', '2012-11-24', 18153, '352', 'tp', 'NOVEL', '9781476730660', 'https://m.media-amazon.com/images/I/51RtxjssxSL.jpg', '$21.99', 417801, None, None, None), pub_authors={416076: [(7574, 'Armin Shimerman', 'Shimerman')], 450692: [(931, 'Michael Scott', 'Scott'), (7574, 'Armin Shimerman', 'Shimerman')], 477813: [(7574, 'Armin Shimerman', 'Shimerman'), (360, 'Chelsea Quinn Yarbro', 'Yarbro')]}, pub_publishers={18153: 'Gallery Books'}, 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 = (477813, 'Outrageous Fortune', 'THMRCHNTPB2012', '2012-11-24', 18153, '352', 'tp', 'NOVEL', '9781476730660', 'https://m.media-amazon.com/images/I/51RtxjssxSL.jpg', '$21.99', 417801, 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=477813, displayed_value='Outrageous Fortune', 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 = 477813 |
/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=477813') |
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=477813' |