<class '_mysql_exceptions.OperationalError'> | Python 2.5: /usr/bin/python Wed Jul 6 06:08:14 2022 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/var/www/cgi-bin/titlecovers.cgi in |
26 PrintNavbar('titlecovers', 0, 0, 'titlecovers.cgi', title_id) |
27 |
28 pubs = SQLGetPubsByTitle(title_id) |
29 count = 0 |
30 for pub in pubs: |
pubs undefined, SQLGetPubsByTitle = <function SQLGetPubsByTitle at 0x830010c>, title_id = 1822717 |
/var/www/cgi-bin/SQLparsing.py in SQLGetPubsByTitle(titlerec=1822717) |
628 def SQLGetPubsByTitle(titlerec): |
629 query = "select title_id from titles where title_id=%d or title_parent=%d" % (titlerec, titlerec) |
630 results = _RetrievePubsQuery(query) |
631 return results |
632 |
results undefined, global _RetrievePubsQuery = <function _RetrievePubsQuery at 0x83001ec>, query = 'select title_id from titles where title_id=1822717 or title_parent=1822717' |
/var/www/cgi-bin/SQLparsing.py in _RetrievePubsQuery(query="select distinct pubs.* from pubs,pub_content whe...ubs.pub_year = '0000-00-00', 1, 0), pubs.pub_year") |
687 |
688 results = [] |
689 db.query(query) |
690 result = db.store_result() |
691 pub = result.fetch_row() |
global db = <_mysql.connection open to 'localhost' at 836ec44>, db.query = <built-in method query of Connection object at 0x836ec44>, query = "select distinct pubs.* from pubs,pub_content whe...ubs.pub_year = '0000-00-00', 1, 0), pubs.pub_year" |
<class '_mysql_exceptions.OperationalError'>: (1030, 'Got error 28 from storage engine')