First time here? Check out the FAQ!

Revision history  [back]

DatabaseError: relation "robots_rule" does not exist LINE 1

Hello, I have received this error but im not sure for to fix this. Im using askbot 0.7.49 , django 1.4, Postgres 9.3, and as per installation instruction, i have sync the DB (python manage.py syncdb), and also run the migration code (python manage.py migrate askbot AND python manage.py migrate django_authopenid #embedded login application). Could somebody help me? Thank you.

" Traceback (most recent call last):

File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/core/handlers/base.py", line 136, in get_response response = response.render()

File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/template/response.py", line 104, in render self._set_content(self.rendered_content)

File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/template/response.py", line 81, in rendered_content content = template.render(context)

File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/template/base.py", line 140, in render return self._render(context)

File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/template/base.py", line 134, in _render return self.nodelist.render(context)

File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/template/base.py", line 823, in render bit = self.render_node(node, context)

File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/template/base.py", line 837, in render_node return node.render(context)

File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/template/defaulttags.py", line 280, in render if match:

File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/db/models/query.py", line 130, in __nonzero__ iter(self).next()

File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/db/models/query.py", line 118, in _result_iter self._fill_cache()

File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/db/models/query.py", line 875, in _fill_cache self._result_cache.append(self._iter.next())

File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/db/models/query.py", line 291, in iterator for row in compiler.results_iter():

File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/db/models/sql/compiler.py", line 763, in results_iter for rows in self.execute_sql(MULTI):

File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/db/models/sql/compiler.py", line 818, in execute_sql cursor.execute(sql, params)

File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/db/backends/postgresql_psycopg2/base.py", line 52, in execute return self.cursor.execute(query, args)

DatabaseError: relation "robots_rule" does not exist LINE 1: ...s_rule"."robot", "robots_rule"."crawl_delay" FROM "robots_ru... ^ "

DatabaseError: relation "robots_rule" does not exist LINE 1Database error

Hello, I have received this error but im not sure for to fix this. Im using askbot 0.7.49 , django 1.4, Postgres 9.3, Postgres, and as per installation instruction, i have sync the DB (python manage.py syncdb), and also run the migration code (python manage.py migrate askbot AND python manage.py migrate django_authopenid #embedded login application). Could somebody help me? Thank you.

" me?

Traceback (most recent call last):

File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/core/handlers/base.py", line 136, in get_response response = response.render()

File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/template/response.py", line 104, in render self._set_content(self.rendered_content)

File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/template/response.py", line 81, in rendered_content content = template.render(context)

File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/template/base.py", line 140, in render return self._render(context)

File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/template/base.py", line 134, in _render return self.nodelist.render(context)

File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/template/base.py", line 823, in render bit = self.render_node(node, context)

File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/template/base.py", line 837, in render_node return node.render(context)

File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/template/defaulttags.py", line 280, in render if match:

File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/db/models/query.py", line 130, in __nonzero__ iter(self).next()

File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/db/models/query.py", line 118, in _result_iter self._fill_cache()

File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/db/models/query.py", line 875, in _fill_cache self._result_cache.append(self._iter.next())

File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/db/models/query.py", line 291, in iterator for row in compiler.results_iter():

File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/db/models/sql/compiler.py", line 763, in results_iter for rows in self.execute_sql(MULTI):

File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/db/models/sql/compiler.py", line 818, in execute_sql cursor.execute(sql, params)

File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/db/backends/postgresql_psycopg2/base.py", line 52, in execute return self.cursor.execute(query, args)

DatabaseError: relation "robots_rule" does not exist LINE 1: ...s_rule"."robot", "robots_rule"."crawl_delay" FROM "robots_ru... ^ "^