Why are we seeing 'Table 'askbot.robots_rule' doesn't exist' errors and how can we fix this?
We keep getting daily emails with the following content. I am not exactly sure what is wrong or how to fix it. Any help is much appreciated.
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\django\core\handlers\base.py", line 140, in get_response response = response.render()
File "C:\Python27\lib\site-packages\django\template\response.py", line 105, in render self.content = self.rendered_content
File "C:\Python27\lib\site-packages\django\template\response.py", line 82, in rendered_content content = template.render(context)
File "C:\Python27\lib\site-packages\django\template\base.py", line 140, in render return self._render(context)
File "C:\Python27\lib\site-packages\django\template\base.py", line 134, in _render return self.nodelist.render(context)
File "C:\Python27\lib\site-packages\django\template\base.py", line 830, in render bit = self.render_node(node, context)
File "C:\Python27\lib\site-packages\django\template\base.py", line 844, in render_node return node.render(context)
File "C:\Python27\lib\site-packages\django\template\defaulttags.py", line 283, in render if match:
File "C:\Python27\lib\site-packages\django\db\models\query.py", line 141, in __nonzero__ return type(self).__bool__(self)
File "C:\Python27\lib\site-packages\django\db\models\query.py", line 135, in __bool__ next(iter(self))
File "C:\Python27\lib\site-packages\django\db\models\query.py", line 123, in _result_iter self._fill_cache()
File "C:\Python27\lib\site-packages\django\db\models\query.py", line 939, in _fill_cache self._result_cache.append(next(self._iter))
File "C:\Python27\lib\site-packages\django\db\models\query.py", line 344, in _safe_iterator for item in iterator:
File "C:\Python27\lib\site-packages\django\db\models\query.py", line 301, in iterator for row in compiler.results_iter():
File "C:\Python27\lib\site-packages\django\db\models\sql\compiler.py", line 775, in results_iter for rows in self.execute_sql(MULTI):
File "C:\Python27\lib\site-packages\django\db\models\sql\compiler.py", line 840, in execute_sql cursor.execute(sql, params)
File "C:\Python27\lib\site-packages\django\db\backends\mysql\base.py", line 130, in execute six.reraise(utils.DatabaseError, utils.DatabaseError(*tuple(e.args)), sys.exc_info()[2])
File "C:\Python27\lib\site-packages\django\db\backends\mysql\base.py", line 120, in execute return self.cursor.execute(query, args)
File "C:\Python27\lib\site-packages\MySQLdb\cursors.py", line 174, in execute self.errorhandler(self, exc, value)
File "C:\Python27\lib\site-packages\MySQLdb\connections.py", line 36, in defaulterrorhandler raise errorclass, errorvalue
DatabaseError: (1146, "Table 'askbot.robots_rule' doesn't exist")
Comments