First time here? Check out the FAQ!

Lidya's profile - activity

2018-01-04 17:12:38 -0500 received badge Notable Question (source)
2015-12-03 14:31:20 -0500 received badge Notable Question (source)
2015-06-15 13:29:08 -0500 received badge Popular Question (source)
2014-11-29 15:43:06 -0500 received badge Famous Question (source)
2014-10-15 21:56:36 -0500 received badge Popular Question (source)
2014-07-13 01:18:24 -0500 received badge Famous Question (source)
2014-04-08 19:14:45 -0500 received badge Scholar ( source )
2014-04-07 22:33:39 -0500 commented answer running manage.py test error

Hello, It works Thx! You are so helpful. Further to that, running the test askbot, there is 1 failure at: FAIL: test_thread_summary_locmem_cache (askbot.tests.post_model_tests.ThreadRenderLowLevelCachingTests) Traceback (most recent call last): File "/home/ec2-user/teachqasite/askbot/tests/post_model_tests.py", line 370, in test_thread_summary_locmem_cache self.assertTrue(thread.summary_html_cached()) AssertionError: False is not True --- I setup and used memchaced. was that test above for the locmem cache? If so, should i just ignore it since i use memcached? #setup memcached for production use! #see http://docs.djangoproject.com/en/1.1/topics/cache/ for details #CACHE_BACKEND = 'locmem://' #CACHE_BACKEND = 'memcached://127.0.0.1:11211/' CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', 'LOCATION': '127.0.0.1:11211', 'TIMEOUT': 18000, 'KEY_PREFIX': 'askbot', } } Thanks again in advance!

2014-04-07 22:22:42 -0500 commented answer DatabaseError: relation "robots_rule" does not exist LINE 1

Hello, Thanks again for your assistance. I just checked, but it's in there. Is there any other possibilities? INSTALLED_APPS = ( 'longerusername', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.staticfiles', #all of these are needed for the askbot 'django.contrib.admin', 'django.contrib.humanize', 'django.contrib.sitemaps', 'django.contrib.messages', #'debug_toolbar', #Optional, to enable haystack search #'haystack', 'compressor', 'askbot', 'askbot.deps.django_authopenid', #'askbot.importers.stackexchange', #se loader 'south', 'askbot.deps.livesettings', 'keyedcache', 'robots', 'django_countries', 'djcelery', 'djkombu', 'followit', 'tinymce', 'group_messaging', #'avatar',#experimental use git clone git://github.com/ericflo/django-avatar.git$ )

2014-04-07 22:12:57 -0500 answered a question DatabaseError: relation "robots_rule" does not exist LINE 1

Hello,

Thanks for your prompt reply.

I have also done the python manage.py migrate, but it seems that all up to date. Do you have any other solution i can try?

Running migrations for longerusername: - Nothing to migrate. - Loading initial data for longerusername. Installed 0 object(s) from 0 fixture(s)

Running migrations for askbot: - Nothing to migrate. - Loading initial data for askbot. Installed 0 object(s) from 0 fixture(s)

Running migrations for django_authopenid: - Nothing to migrate. - Loading initial data for django_authopenid. Installed 0 object(s) from 0 fixture(s)

Running migrations for robots: - Nothing to migrate. - Loading initial data for robots. Installed 0 object(s) from 0 fixture(s)

Running migrations for djcelery: - Nothing to migrate. - Loading initial data for djcelery. Installed 0 object(s) from 0 fixture(s)

Running migrations for group_messaging: - Nothing to migrate. - Loading initial data for group_messaging. Installed 0 object(s) from 0 fixture(s)

2014-04-07 21:56:01 -0500 asked a question running manage.py test error

Hi,

Postgres 9.3.

When i try to run python manage.py test, I got the following error: Could somebody help me? Thanks.

Creating test database for alias 'default'...
Traceback (most recent call last):
  File "manage.py", line 11, in <module>
    execute_manager(settings)
  File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/core/management/__init__.py", line 459, in execute_manager
    utility.execute()
  File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/core/management/__init__.py", line 382, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/core/management/commands/test.py", line 49, in run_from_argv
    super(Command, self).run_from_argv(argv)
  File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/core/management/base.py", line 196, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/core/management/base.py", line 232, in execute
    output = self.handle(*args, **options)
  File "/home/ec2-user/teachqa/lib/python2.6/site-packages/South-0.8.4-py2.6.egg/south/management/commands/test.py", line 8, in handle
    super(Command, self).handle(*args, **kwargs)
  File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/core/management/commands/test.py", line 72, in handle
    failures = test_runner.run_tests(test_labels)
  File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/test/simple.py", line 381, in run_tests
    old_config = self.setup_databases()
  File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/test/simple.py", line 317, in setup_databases
    self.verbosity, autoclobber=not self.interactive)
  File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/db/backends/creation.py", line 256, in create_test_db
    self._create_test_db(verbosity, autoclobber)
  File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/db/backends/creation.py", line 312, in _create_test_db
    suffix = self.sql_table_creation_suffix()
  File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/db/backends/postgresql_psycopg2/creation.py", line 38, in sql_table_creation_suffix
    assert self.connection.settings_dict['TEST_COLLATION'] is None, "PostgreSQL does not support collation setting at database creation time."
AssertionError: PostgreSQL does not support collation setting at database creation time.
2014-04-07 21:37:19 -0500 received badge Editor (source)
2014-04-07 21:24:18 -0500 asked a question 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... ^ "