| ProgrammingError | Python 2.3.5: /usr/bin/python2.3 Thu Aug 28 19:54:48 2008 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
| /vhosts/ws/aypwip.org/html/food |
| 19 action = path.pop() |
| 20 except IndexError: |
| 21 pass |
| 22 |
| 23 handler.get(action, Search)(path).Write() |
| handler = {'add': <class 'Pages.AddRest'>}, handler.get = <built-in method get of dict object>, action = '', Search = <class 'Pages.Search'>, path = [], ).Write undefined |
| /vhosts/ws/aypwip.org/food/Pages.py in Write(self=<Pages.Search object>) |
| 34 def Write(self): |
| 35 self.WriteHead() |
| 36 self.WriteBody() |
| 37 self.WriteFoot() |
| 38 |
| self = <Pages.Search object>, self.WriteBody = <bound method Search.WriteBody of <Pages.Search object>> |
| /vhosts/ws/aypwip.org/food/Pages.py in WriteBody(self=<Pages.Search object>) |
| 50 '</form>\n' |
| 51 '<div id="tags"><ul>') |
| 52 self.db.execute('''select tid, tag from food_tags;''') |
| 53 for tid, tag in self.db.fetchall(): |
| 54 print ('<li>%s</li>' |
| self = <Pages.Search object>, self.db = <MySQLdb.cursors.Cursor object>, self.db.execute = <bound method Cursor.execute of <MySQLdb.cursors.Cursor object>> |
| /usr/lib/python2.3/site-packages/MySQLdb/cursors.py in execute(self=<MySQLdb.cursors.Cursor object>, query='select tid, tag from food_tags;', args=None) |
| 135 del tb |
| 136 self.messages.append((exc, value)) |
| 137 self.errorhandler(self, exc, value) |
| 138 self._executed = query |
| 139 self._warning_check() |
| self = <MySQLdb.cursors.Cursor object>, self.errorhandler = <bound method Connection.defaulterrorhandler of <_mysql.connection open to '127.0.0.1' at 81a1d9c>>, exc = <class _mysql_exceptions.ProgrammingError>, value = <_mysql_exceptions.ProgrammingError instance> |
| /usr/lib/python2.3/site-packages/MySQLdb/connections.py in defaulterrorhandler(connection=<_mysql.connection open to '127.0.0.1' at 81a1d9c>, cursor=<MySQLdb.cursors.Cursor object>, errorclass=<class _mysql_exceptions.ProgrammingError>, errorvalue=<_mysql_exceptions.ProgrammingError instance>) |
| 31 else: |
| 32 connection.messages.append(error) |
| 33 raise errorclass, errorvalue |
| 34 |
| 35 |
| errorclass = <class _mysql_exceptions.ProgrammingError>, errorvalue = <_mysql_exceptions.ProgrammingError instance> |
ProgrammingError: (1146, "Table 'aypwip.food_tags' doesn't exist")
args =
(1146, "Table 'aypwip.food_tags' doesn't exist")