Titles by Fritz Leiber marked with tag: hallucinatory
-
--> -->
<class 'MySQLdb._exceptions.OperationalError'> | Python 2.7.18: /usr/bin/python Sat Apr 27 19:06:29 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/tag_author.cgi in <module>() |
34 print '<h3>Titles by %s marked with tag: <i>%s</i></h3>' % (author_data[AUTHOR_CANONICAL], tag[TAG_NAME]) |
35 print '<ul>' |
=> 36 title_list = SQLgetTitlesForAuthorAndTag(tag_id, author_id) |
37 for title_record in title_list: |
38 print '<li>%s - %s ' % (ISFDBconvertYear(title_record[0][:4]), ISFDBLink('title.cgi', title_record[2], title_record[1])) |
title_list undefined, SQLgetTitlesForAuthorAndTag = <function SQLgetTitlesForAuthorAndTag>, tag_id = 7262, author_id = 38 |
/home/stoecker/isfdb/install/cgi-bin/SQLparsing.py in SQLgetTitlesForAuthorAndTag(tag_id=7262, author_id=38) |
2367 query += " and authors.author_id=canonical_author.author_id and canonical_author.title_id=tag_mapping.title_id and canonical_author.ca_status=1" |
2368 query += " and canonical_author.author_id=%d order by YEAR(titles.title_copyright) desc, titles.title_title" % int(author_id) |
=> 2369 db.query(query) |
2370 result = db.store_result() |
2371 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 distinct titles.title_copyright, titles.t...(titles.title_copyright) desc, titles.title_title' |
/usr/lib64/python2.7/site-packages/MySQLdb/connections.py in query(self=<_mysql.connection open to '127.0.0.1'>, query='select distinct titles.title_copyright, titles.t...(titles.title_copyright) desc, titles.title_title') |
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 distinct titles.title_copyright, titles.t...(titles.title_copyright) desc, titles.title_title' |
<class 'MySQLdb._exceptions.OperationalError'>: (2013, 'Lost connection to MySQL server during query')
args =
(2013, 'Lost connection to MySQL server during query')
message =
''