Multiple test case failures under Postgres #1032

Closed
mthornhill opened this Issue Oct 4, 2011 · 4 comments

Projects

None yet

3 participants

@mthornhill
Contributor

I've cloned the django-cms repository and changed the test project to use postgres instead of sqlite

You need to setup a postgres database and user called 'cms' with password 'password' for the tests to run
createuser -U postgres -W -P -d -R -s cms
createdb -U postgres -O cms cms

Then:
git clone https://mthornhill@github.com/mthornhill/django-cms.git
cd django-cms
virtualenv . --no-site-packages
./runtests.sh -d 13 --rebuild-env

Ran 359 tests in 67.309s

FAILED (failures=9, errors=68)

Collaborator
ojii commented Oct 4, 2011

could you please post those errors?

Contributor

Sure:

$ ./runtests.sh -d 13 --rebuild-env
using python at: python
setting up test environment (this might take a while)...
Develop: '/home/mick/src/django-cms/tests/../'
warning: no previously-included files matching '.pyc' found under directory ''
Updating python.
Updating django.
Running complete cms testsuite.
Creating test database for alias 'default'...

Running tests...

.............EEEEEEEE...........F...............F..............................................................F.......................EEEEEEEEEEEEEEEEEEEEEEEEEEEE......................................F........................................................................FFF.............................F.F..................................................

ERROR [0.001s]: test_change_innavigation (cms.tests.admin.AdminTests)

Traceback (most recent call last):
File "/home/mick/src/django-cms/cms/tests/admin.py", line 596, in test_change_innavigation
page = self.get_page()
File "/home/mick/src/django-cms/cms/tests/admin.py", line 551, in get_page
return Page.objects.get(pk=1)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/manager.py", line 132, in get
return self.get_query_set().get(_args, *_kwargs)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 349, in get
% self.model._meta.object_name)
DoesNotExist: Page matching query does not exist.

ERROR [0.001s]: test_change_moderation (cms.tests.admin.AdminTests)

Traceback (most recent call last):
File "/home/mick/src/django-cms/cms/tests/admin.py", line 620, in test_change_moderation
page = self.get_page()
File "/home/mick/src/django-cms/cms/tests/admin.py", line 551, in get_page
return Page.objects.get(pk=1)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/manager.py", line 132, in get
return self.get_query_set().get(_args, *_kwargs)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 349, in get
% self.model._meta.object_name)
DoesNotExist: Page matching query does not exist.

ERROR [0.001s]: test_change_status (cms.tests.admin.AdminTests)

Traceback (most recent call last):
File "/home/mick/src/django-cms/cms/tests/admin.py", line 584, in test_change_status
page = self.get_page()
File "/home/mick/src/django-cms/cms/tests/admin.py", line 551, in get_page
return Page.objects.get(pk=1)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/manager.py", line 132, in get
return self.get_query_set().get(_args, *_kwargs)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 349, in get
% self.model._meta.object_name)
DoesNotExist: Page matching query does not exist.

ERROR [0.001s]: test_get_moderation_state (cms.tests.admin.AdminTests)

Traceback (most recent call last):
File "/home/mick/src/django-cms/cms/tests/admin.py", line 554, in test_get_moderation_state
page = self.get_page()
File "/home/mick/src/django-cms/cms/tests/admin.py", line 551, in get_page
return Page.objects.get(pk=1)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/manager.py", line 132, in get
return self.get_query_set().get(_args, *_kwargs)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 349, in get
% self.model._meta.object_name)
DoesNotExist: Page matching query does not exist.

ERROR [0.001s]: test_move_plugin (cms.tests.admin.AdminTests)

Traceback (most recent call last):
File "/home/mick/src/django-cms/cms/tests/admin.py", line 672, in test_move_plugin
page = self.get_page()
File "/home/mick/src/django-cms/cms/tests/admin.py", line 551, in get_page
return Page.objects.get(pk=1)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/manager.py", line 132, in get
return self.get_query_set().get(_args, *_kwargs)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 349, in get
% self.model._meta.object_name)
DoesNotExist: Page matching query does not exist.

ERROR [0.001s]: test_preview_page (cms.tests.admin.AdminTests)

Traceback (most recent call last):
File "/home/mick/src/django-cms/cms/tests/admin.py", line 725, in test_preview_page
page = self.get_page()
File "/home/mick/src/django-cms/cms/tests/admin.py", line 551, in get_page
return Page.objects.get(pk=1)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/manager.py", line 132, in get
return self.get_query_set().get(_args, *_kwargs)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 349, in get
% self.model._meta.object_name)
DoesNotExist: Page matching query does not exist.

ERROR [0.001s]: test_publish_page_requires_perms (cms.tests.admin.AdminTests)

Traceback (most recent call last):
File "/home/mick/src/django-cms/cms/tests/admin.py", line 660, in test_publish_page_requires_perms
response = self.admin_class.publish_page(request, 1)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/transaction.py", line 217, in inner
res = func(_args, *_kwargs)
File "/home/mick/src/django-cms/cms/admin/pageadmin.py", line 869, in publish_page
page = get_object_or_404(Page, id=page_id)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/shortcuts/init.py", line 115, in get_object_or_404
raise Http404('No %s matches the given query.' % queryset.model._meta.object_name)
Http404: No Page matches the given query.

ERROR [0.001s]: test_remove_delete (cms.tests.admin.AdminTests)

Traceback (most recent call last):
File "/home/mick/src/django-cms/cms/tests/admin.py", line 567, in test_remove_delete
page = self.get_page()
File "/home/mick/src/django-cms/cms/tests/admin.py", line 551, in get_page
return Page.objects.get(pk=1)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/manager.py", line 132, in get
return self.get_query_set().get(_args, *_kwargs)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 349, in get
% self.model._meta.object_name)
DoesNotExist: Page matching query does not exist.

ERROR [0.001s]: test_patricks_move (cms.tests.permmod.PatricksMoveTest)

Traceback (most recent call last):
File "/home/mick/src/django-cms/cms/tests/permmod.py", line 776, in test_patricks_move
approve_page(self.pe, user_master)
File "/home/mick/src/django-cms/cms/api.py", line 396, in approve_page
moderator.approve_page(request, page)
File "/home/mick/src/django-cms/cms/utils/moderator.py", line 184, in approve_page
page.publish()
File "/home/mick/src/django-cms/cms/models/pagemodel.py", line 459, in publish
old_public.move_to(None, 'last-child')
File "/home/mick/src/django-cms/tests/eggs/django_mptt-0.4.2-py2.7.egg/mptt/models.py", line 401, in move_to
self._tree_manager.move_node(self, target, position)
File "/home/mick/src/django-cms/tests/eggs/django_mptt-0.4.2-py2.7.egg/mptt/managers.py", line 252, in move_node
self._make_child_root_node(node)
File "/home/mick/src/django-cms/tests/eggs/django_mptt-0.4.2-py2.7.egg/mptt/managers.py", line 477, in _make_child_root_node
new_tree_id)
File "/home/mick/src/django-cms/tests/eggs/django_mptt-0.4.2-py2.7.egg/mptt/managers.py", line 456, in _inter_tree_move_and_close_gap
cursor.execute(inter_tree_move_query, params)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/backends/postgresql_psycopg2/base.py", line 44, in execute
return self.cursor.execute(query, args)
IntegrityError: new row for relation "cms_page" violates check constraint "cms_page_level_check"

ERROR [0.001s]: test_patricks_move (cms.tests.permmod.PatricksMoveTest)

Traceback (most recent call last):
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/test/testcases.py", line 301, in call
self._post_teardown()
File "/home/mick/src/django-cms/cms/test_utils/testcases.py", line 326, in _post_teardown
super(SettingsOverrideTestCase, self)._post_teardown()
File "/home/mick/src/django-cms/cms/test_utils/testcases.py", line 115, in _post_teardown
menu_pool.clear()
File "/home/mick/src/django-cms/menus/menu_pool.py", line 87, in clear
to_be_deleted = [obj.key for obj in cache_keys]
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 107, in _result_iter
self._fill_cache()
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 772, in _fill_cache
self._result_cache.append(self._iter.next())
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 273, in iterator
for row in compiler.results_iter():
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 680, in results_iter
for rows in self.execute_sql(MULTI):
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 735, in execute_sql
cursor.execute(sql, params)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/backends/postgresql_psycopg2/base.py", line 44, in execute
return self.cursor.execute(query, args)
DatabaseError: current transaction is aborted, commands ignored until end of transaction block

ERROR [0.001s]: test_anonymous_user_public_for_all (cms.tests.permmod.PermissionModeratorTests)

Traceback (most recent call last):
File "/home/mick/src/django-cms/cms/tests/permmod.py", line 60, in setUp
self.user_super.save()
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/base.py", line 460, in save
self.save_base(using=using, force_insert=force_insert, force_update=force_update)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/base.py", line 553, in save_base
result = manager._insert(values, return_id=update_pk, using=using)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/manager.py", line 195, in _insert
return insert_query(self.model, values, **kwargs)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 1436, in insert_query
return query.get_compiler(using=using).execute_sql(return_id)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 791, in execute_sql
cursor = super(SQLInsertCompiler, self).execute_sql(None)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 735, in execute_sql
cursor.execute(sql, params)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/backends/postgresql_psycopg2/base.py", line 44, in execute
return self.cursor.execute(query, args)
DatabaseError: current transaction is aborted, commands ignored until end of transaction block

ERROR [0.001s]: test_anonymous_user_public_for_all (cms.tests.permmod.PermissionModeratorTests)

Traceback (most recent call last):
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/test/testcases.py", line 301, in call
self._post_teardown()
File "/home/mick/src/django-cms/cms/test_utils/testcases.py", line 326, in _post_teardown
super(SettingsOverrideTestCase, self)._post_teardown()
File "/home/mick/src/django-cms/cms/test_utils/testcases.py", line 115, in _post_teardown
menu_pool.clear()
File "/home/mick/src/django-cms/menus/menu_pool.py", line 87, in clear
to_be_deleted = [obj.key for obj in cache_keys]
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 107, in _result_iter
self._fill_cache()
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 772, in _fill_cache
self._result_cache.append(self._iter.next())
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 273, in iterator
for row in compiler.results_iter():
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 680, in results_iter
for rows in self.execute_sql(MULTI):
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 735, in execute_sql
cursor.execute(sql, params)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/backends/postgresql_psycopg2/base.py", line 44, in execute
return self.cursor.execute(query, args)
DatabaseError: current transaction is aborted, commands ignored until end of transaction block

ERROR [0.001s]: test_anonymous_user_public_for_none (cms.tests.permmod.PermissionModeratorTests)

Traceback (most recent call last):
File "/home/mick/src/django-cms/cms/tests/permmod.py", line 60, in setUp
self.user_super.save()
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/base.py", line 460, in save
self.save_base(using=using, force_insert=force_insert, force_update=force_update)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/base.py", line 553, in save_base
result = manager._insert(values, return_id=update_pk, using=using)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/manager.py", line 195, in _insert
return insert_query(self.model, values, **kwargs)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 1436, in insert_query
return query.get_compiler(using=using).execute_sql(return_id)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 791, in execute_sql
cursor = super(SQLInsertCompiler, self).execute_sql(None)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 735, in execute_sql
cursor.execute(sql, params)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/backends/postgresql_psycopg2/base.py", line 44, in execute
return self.cursor.execute(query, args)
DatabaseError: current transaction is aborted, commands ignored until end of transaction block

ERROR [0.001s]: test_anonymous_user_public_for_none (cms.tests.permmod.PermissionModeratorTests)

Traceback (most recent call last):
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/test/testcases.py", line 301, in call
self._post_teardown()
File "/home/mick/src/django-cms/cms/test_utils/testcases.py", line 326, in _post_teardown
super(SettingsOverrideTestCase, self)._post_teardown()
File "/home/mick/src/django-cms/cms/test_utils/testcases.py", line 115, in _post_teardown
menu_pool.clear()
File "/home/mick/src/django-cms/menus/menu_pool.py", line 87, in clear
to_be_deleted = [obj.key for obj in cache_keys]
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 107, in _result_iter
self._fill_cache()
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 772, in _fill_cache
self._result_cache.append(self._iter.next())
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 273, in iterator
for row in compiler.results_iter():
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 680, in results_iter
for rows in self.execute_sql(MULTI):
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 735, in execute_sql
cursor.execute(sql, params)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/backends/postgresql_psycopg2/base.py", line 44, in execute
return self.cursor.execute(query, args)
DatabaseError: current transaction is aborted, commands ignored until end of transaction block

ERROR [0.001s]: test_create_copy_publish (cms.tests.permmod.PermissionModeratorTests)

Traceback (most recent call last):
File "/home/mick/src/django-cms/cms/tests/permmod.py", line 60, in setUp
self.user_super.save()
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/base.py", line 460, in save
self.save_base(using=using, force_insert=force_insert, force_update=force_update)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/base.py", line 553, in save_base
result = manager._insert(values, return_id=update_pk, using=using)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/manager.py", line 195, in _insert
return insert_query(self.model, values, **kwargs)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 1436, in insert_query
return query.get_compiler(using=using).execute_sql(return_id)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 791, in execute_sql
cursor = super(SQLInsertCompiler, self).execute_sql(None)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 735, in execute_sql
cursor.execute(sql, params)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/backends/postgresql_psycopg2/base.py", line 44, in execute
return self.cursor.execute(query, args)
DatabaseError: current transaction is aborted, commands ignored until end of transaction block

ERROR [0.001s]: test_create_copy_publish (cms.tests.permmod.PermissionModeratorTests)

Traceback (most recent call last):
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/test/testcases.py", line 301, in call
self._post_teardown()
File "/home/mick/src/django-cms/cms/test_utils/testcases.py", line 326, in _post_teardown
super(SettingsOverrideTestCase, self)._post_teardown()
File "/home/mick/src/django-cms/cms/test_utils/testcases.py", line 115, in _post_teardown
menu_pool.clear()
File "/home/mick/src/django-cms/menus/menu_pool.py", line 87, in clear
to_be_deleted = [obj.key for obj in cache_keys]
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 107, in _result_iter
self._fill_cache()
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 772, in _fill_cache
self._result_cache.append(self._iter.next())
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 273, in iterator
for row in compiler.results_iter():
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 680, in results_iter
for rows in self.execute_sql(MULTI):
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 735, in execute_sql
cursor.execute(sql, params)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/backends/postgresql_psycopg2/base.py", line 44, in execute
return self.cursor.execute(query, args)
DatabaseError: current transaction is aborted, commands ignored until end of transaction block

ERROR [0.001s]: test_create_publish_copy (cms.tests.permmod.PermissionModeratorTests)

Traceback (most recent call last):
File "/home/mick/src/django-cms/cms/tests/permmod.py", line 60, in setUp
self.user_super.save()
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/base.py", line 460, in save
self.save_base(using=using, force_insert=force_insert, force_update=force_update)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/base.py", line 553, in save_base
result = manager._insert(values, return_id=update_pk, using=using)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/manager.py", line 195, in _insert
return insert_query(self.model, values, **kwargs)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 1436, in insert_query
return query.get_compiler(using=using).execute_sql(return_id)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 791, in execute_sql
cursor = super(SQLInsertCompiler, self).execute_sql(None)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 735, in execute_sql
cursor.execute(sql, params)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/backends/postgresql_psycopg2/base.py", line 44, in execute
return self.cursor.execute(query, args)
DatabaseError: current transaction is aborted, commands ignored until end of transaction block

ERROR [0.001s]: test_create_publish_copy (cms.tests.permmod.PermissionModeratorTests)

Traceback (most recent call last):
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/test/testcases.py", line 301, in call
self._post_teardown()
File "/home/mick/src/django-cms/cms/test_utils/testcases.py", line 326, in _post_teardown
super(SettingsOverrideTestCase, self)._post_teardown()
File "/home/mick/src/django-cms/cms/test_utils/testcases.py", line 115, in _post_teardown
menu_pool.clear()
File "/home/mick/src/django-cms/menus/menu_pool.py", line 87, in clear
to_be_deleted = [obj.key for obj in cache_keys]
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 107, in _result_iter
self._fill_cache()
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 772, in _fill_cache
self._result_cache.append(self._iter.next())
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 273, in iterator
for row in compiler.results_iter():
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 680, in results_iter
for rows in self.execute_sql(MULTI):
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 735, in execute_sql
cursor.execute(sql, params)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/backends/postgresql_psycopg2/base.py", line 44, in execute
return self.cursor.execute(query, args)
DatabaseError: current transaction is aborted, commands ignored until end of transaction block

ERROR [0.001s]: test_master_can_add_page_to_root (cms.tests.permmod.PermissionModeratorTests)

Traceback (most recent call last):
File "/home/mick/src/django-cms/cms/tests/permmod.py", line 60, in setUp
self.user_super.save()
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/base.py", line 460, in save
self.save_base(using=using, force_insert=force_insert, force_update=force_update)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/base.py", line 553, in save_base
result = manager._insert(values, return_id=update_pk, using=using)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/manager.py", line 195, in _insert
return insert_query(self.model, values, **kwargs)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 1436, in insert_query
return query.get_compiler(using=using).execute_sql(return_id)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 791, in execute_sql
cursor = super(SQLInsertCompiler, self).execute_sql(None)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 735, in execute_sql
cursor.execute(sql, params)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/backends/postgresql_psycopg2/base.py", line 44, in execute
return self.cursor.execute(query, args)
DatabaseError: current transaction is aborted, commands ignored until end of transaction block

ERROR [0.001s]: test_master_can_add_page_to_root (cms.tests.permmod.PermissionModeratorTests)

Traceback (most recent call last):
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/test/testcases.py", line 301, in call
self._post_teardown()
File "/home/mick/src/django-cms/cms/test_utils/testcases.py", line 326, in _post_teardown
super(SettingsOverrideTestCase, self)._post_teardown()
File "/home/mick/src/django-cms/cms/test_utils/testcases.py", line 115, in _post_teardown
menu_pool.clear()
File "/home/mick/src/django-cms/menus/menu_pool.py", line 87, in clear
to_be_deleted = [obj.key for obj in cache_keys]
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 107, in _result_iter
self._fill_cache()
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 772, in _fill_cache
self._result_cache.append(self._iter.next())
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 273, in iterator
for row in compiler.results_iter():
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 680, in results_iter
for rows in self.execute_sql(MULTI):
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 735, in execute_sql
cursor.execute(sql, params)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/backends/postgresql_psycopg2/base.py", line 44, in execute
return self.cursor.execute(query, args)
DatabaseError: current transaction is aborted, commands ignored until end of transaction block

ERROR [0.001s]: test_master_can_add_plugin (cms.tests.permmod.PermissionModeratorTests)

Traceback (most recent call last):
File "/home/mick/src/django-cms/cms/tests/permmod.py", line 60, in setUp
self.user_super.save()
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/base.py", line 460, in save
self.save_base(using=using, force_insert=force_insert, force_update=force_update)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/base.py", line 553, in save_base
result = manager._insert(values, return_id=update_pk, using=using)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/manager.py", line 195, in _insert
return insert_query(self.model, values, **kwargs)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 1436, in insert_query
return query.get_compiler(using=using).execute_sql(return_id)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 791, in execute_sql
cursor = super(SQLInsertCompiler, self).execute_sql(None)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 735, in execute_sql
cursor.execute(sql, params)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/backends/postgresql_psycopg2/base.py", line 44, in execute
return self.cursor.execute(query, args)
DatabaseError: current transaction is aborted, commands ignored until end of transaction block

ERROR [0.001s]: test_master_can_add_plugin (cms.tests.permmod.PermissionModeratorTests)

Traceback (most recent call last):
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/test/testcases.py", line 301, in call
self._post_teardown()
File "/home/mick/src/django-cms/cms/test_utils/testcases.py", line 326, in _post_teardown
super(SettingsOverrideTestCase, self)._post_teardown()
File "/home/mick/src/django-cms/cms/test_utils/testcases.py", line 115, in _post_teardown
menu_pool.clear()
File "/home/mick/src/django-cms/menus/menu_pool.py", line 87, in clear
to_be_deleted = [obj.key for obj in cache_keys]
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 107, in _result_iter
self._fill_cache()
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 772, in _fill_cache
self._result_cache.append(self._iter.next())
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 273, in iterator
for row in compiler.results_iter():
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 680, in results_iter
for rows in self.execute_sql(MULTI):
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 735, in execute_sql
cursor.execute(sql, params)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/backends/postgresql_psycopg2/base.py", line 44, in execute
return self.cursor.execute(query, args)
DatabaseError: current transaction is aborted, commands ignored until end of transaction block

ERROR [0.001s]: test_moderation_on_slave_home (cms.tests.permmod.PermissionModeratorTests)

Traceback (most recent call last):
File "/home/mick/src/django-cms/cms/tests/permmod.py", line 60, in setUp
self.user_super.save()
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/base.py", line 460, in save
self.save_base(using=using, force_insert=force_insert, force_update=force_update)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/base.py", line 553, in save_base
result = manager._insert(values, return_id=update_pk, using=using)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/manager.py", line 195, in _insert
return insert_query(self.model, values, **kwargs)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 1436, in insert_query
return query.get_compiler(using=using).execute_sql(return_id)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 791, in execute_sql
cursor = super(SQLInsertCompiler, self).execute_sql(None)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 735, in execute_sql
cursor.execute(sql, params)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/backends/postgresql_psycopg2/base.py", line 44, in execute
return self.cursor.execute(query, args)
DatabaseError: current transaction is aborted, commands ignored until end of transaction block

ERROR [0.001s]: test_moderation_on_slave_home (cms.tests.permmod.PermissionModeratorTests)

Traceback (most recent call last):
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/test/testcases.py", line 301, in call
self._post_teardown()
File "/home/mick/src/django-cms/cms/test_utils/testcases.py", line 326, in _post_teardown
super(SettingsOverrideTestCase, self)._post_teardown()
File "/home/mick/src/django-cms/cms/test_utils/testcases.py", line 115, in _post_teardown
menu_pool.clear()
File "/home/mick/src/django-cms/menus/menu_pool.py", line 87, in clear
to_be_deleted = [obj.key for obj in cache_keys]
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 107, in _result_iter
self._fill_cache()
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 772, in _fill_cache
self._result_cache.append(self._iter.next())
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 273, in iterator
for row in compiler.results_iter():
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 680, in results_iter
for rows in self.execute_sql(MULTI):
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 735, in execute_sql
cursor.execute(sql, params)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/backends/postgresql_psycopg2/base.py", line 44, in execute
return self.cursor.execute(query, args)
DatabaseError: current transaction is aborted, commands ignored until end of transaction block

ERROR [0.001s]: test_moderator_flags (cms.tests.permmod.PermissionModeratorTests)

Add page under slave_home and check its flag

Traceback (most recent call last):
File "/home/mick/src/django-cms/cms/tests/permmod.py", line 60, in setUp
self.user_super.save()
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/base.py", line 460, in save
self.save_base(using=using, force_insert=force_insert, force_update=force_update)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/base.py", line 553, in save_base
result = manager._insert(values, return_id=update_pk, using=using)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/manager.py", line 195, in _insert
return insert_query(self.model, values, **kwargs)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 1436, in insert_query
return query.get_compiler(using=using).execute_sql(return_id)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 791, in execute_sql
cursor = super(SQLInsertCompiler, self).execute_sql(None)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 735, in execute_sql
cursor.execute(sql, params)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/backends/postgresql_psycopg2/base.py", line 44, in execute
return self.cursor.execute(query, args)
DatabaseError: current transaction is aborted, commands ignored until end of transaction block

ERROR [0.001s]: test_moderator_flags (cms.tests.permmod.PermissionModeratorTests)

Add page under slave_home and check its flag

Traceback (most recent call last):
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/test/testcases.py", line 301, in call
self._post_teardown()
File "/home/mick/src/django-cms/cms/test_utils/testcases.py", line 326, in _post_teardown
super(SettingsOverrideTestCase, self)._post_teardown()
File "/home/mick/src/django-cms/cms/test_utils/testcases.py", line 115, in _post_teardown
menu_pool.clear()
File "/home/mick/src/django-cms/menus/menu_pool.py", line 87, in clear
to_be_deleted = [obj.key for obj in cache_keys]
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 107, in _result_iter
self._fill_cache()
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 772, in _fill_cache
self._result_cache.append(self._iter.next())
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 273, in iterator
for row in compiler.results_iter():
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 680, in results_iter
for rows in self.execute_sql(MULTI):
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 735, in execute_sql
cursor.execute(sql, params)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/backends/postgresql_psycopg2/base.py", line 44, in execute
return self.cursor.execute(query, args)
DatabaseError: current transaction is aborted, commands ignored until end of transaction block

ERROR [0.001s]: test_page_added_by_slave_can_be_published_approved_by_user_master (cms.tests.permmod.PermissionModeratorTests)

Traceback (most recent call last):
File "/home/mick/src/django-cms/cms/tests/permmod.py", line 60, in setUp
self.user_super.save()
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/base.py", line 460, in save
self.save_base(using=using, force_insert=force_insert, force_update=force_update)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/base.py", line 553, in save_base
result = manager._insert(values, return_id=update_pk, using=using)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/manager.py", line 195, in _insert
return insert_query(self.model, values, **kwargs)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 1436, in insert_query
return query.get_compiler(using=using).execute_sql(return_id)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 791, in execute_sql
cursor = super(SQLInsertCompiler, self).execute_sql(None)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 735, in execute_sql
cursor.execute(sql, params)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/backends/postgresql_psycopg2/base.py", line 44, in execute
return self.cursor.execute(query, args)
DatabaseError: current transaction is aborted, commands ignored until end of transaction block

ERROR [0.001s]: test_page_added_by_slave_can_be_published_approved_by_user_master (cms.tests.permmod.PermissionModeratorTests)

Traceback (most recent call last):
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/test/testcases.py", line 301, in call
self._post_teardown()
File "/home/mick/src/django-cms/cms/test_utils/testcases.py", line 326, in _post_teardown
super(SettingsOverrideTestCase, self)._post_teardown()
File "/home/mick/src/django-cms/cms/test_utils/testcases.py", line 115, in _post_teardown
menu_pool.clear()
File "/home/mick/src/django-cms/menus/menu_pool.py", line 87, in clear
to_be_deleted = [obj.key for obj in cache_keys]
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 107, in _result_iter
self._fill_cache()
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 772, in _fill_cache
self._result_cache.append(self._iter.next())
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 273, in iterator
for row in compiler.results_iter():
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 680, in results_iter
for rows in self.execute_sql(MULTI):
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 735, in execute_sql
cursor.execute(sql, params)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/backends/postgresql_psycopg2/base.py", line 44, in execute
return self.cursor.execute(query, args)
DatabaseError: current transaction is aborted, commands ignored until end of transaction block

ERROR [0.001s]: test_plugins_get_published (cms.tests.permmod.PermissionModeratorTests)

Traceback (most recent call last):
File "/home/mick/src/django-cms/cms/tests/permmod.py", line 60, in setUp
self.user_super.save()
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/base.py", line 460, in save
self.save_base(using=using, force_insert=force_insert, force_update=force_update)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/base.py", line 553, in save_base
result = manager._insert(values, return_id=update_pk, using=using)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/manager.py", line 195, in _insert
return insert_query(self.model, values, **kwargs)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 1436, in insert_query
return query.get_compiler(using=using).execute_sql(return_id)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 791, in execute_sql
cursor = super(SQLInsertCompiler, self).execute_sql(None)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 735, in execute_sql
cursor.execute(sql, params)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/backends/postgresql_psycopg2/base.py", line 44, in execute
return self.cursor.execute(query, args)
DatabaseError: current transaction is aborted, commands ignored until end of transaction block

ERROR [0.001s]: test_plugins_get_published (cms.tests.permmod.PermissionModeratorTests)

Traceback (most recent call last):
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/test/testcases.py", line 301, in call
self._post_teardown()
File "/home/mick/src/django-cms/cms/test_utils/testcases.py", line 326, in _post_teardown
super(SettingsOverrideTestCase, self)._post_teardown()
File "/home/mick/src/django-cms/cms/test_utils/testcases.py", line 115, in _post_teardown
menu_pool.clear()
File "/home/mick/src/django-cms/menus/menu_pool.py", line 87, in clear
to_be_deleted = [obj.key for obj in cache_keys]
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 107, in _result_iter
self._fill_cache()
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 772, in _fill_cache
self._result_cache.append(self._iter.next())
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 273, in iterator
for row in compiler.results_iter():
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 680, in results_iter
for rows in self.execute_sql(MULTI):
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 735, in execute_sql
cursor.execute(sql, params)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/backends/postgresql_psycopg2/base.py", line 44, in execute
return self.cursor.execute(query, args)
DatabaseError: current transaction is aborted, commands ignored until end of transaction block

ERROR [0.001s]: test_remove_plugin_page_under_moderation (cms.tests.permmod.PermissionModeratorTests)

Traceback (most recent call last):
File "/home/mick/src/django-cms/cms/tests/permmod.py", line 60, in setUp
self.user_super.save()
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/base.py", line 460, in save
self.save_base(using=using, force_insert=force_insert, force_update=force_update)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/base.py", line 553, in save_base
result = manager._insert(values, return_id=update_pk, using=using)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/manager.py", line 195, in _insert
return insert_query(self.model, values, **kwargs)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 1436, in insert_query
return query.get_compiler(using=using).execute_sql(return_id)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 791, in execute_sql
cursor = super(SQLInsertCompiler, self).execute_sql(None)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 735, in execute_sql
cursor.execute(sql, params)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/backends/postgresql_psycopg2/base.py", line 44, in execute
return self.cursor.execute(query, args)
DatabaseError: current transaction is aborted, commands ignored until end of transaction block

ERROR [0.001s]: test_remove_plugin_page_under_moderation (cms.tests.permmod.PermissionModeratorTests)

Traceback (most recent call last):
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/test/testcases.py", line 301, in call
self._post_teardown()
File "/home/mick/src/django-cms/cms/test_utils/testcases.py", line 326, in _post_teardown
super(SettingsOverrideTestCase, self)._post_teardown()
File "/home/mick/src/django-cms/cms/test_utils/testcases.py", line 115, in _post_teardown
menu_pool.clear()
File "/home/mick/src/django-cms/menus/menu_pool.py", line 87, in clear
to_be_deleted = [obj.key for obj in cache_keys]
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 107, in _result_iter
self._fill_cache()
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 772, in _fill_cache
self._result_cache.append(self._iter.next())
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 273, in iterator
for row in compiler.results_iter():
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 680, in results_iter
for rows in self.execute_sql(MULTI):
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 735, in execute_sql
cursor.execute(sql, params)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/backends/postgresql_psycopg2/base.py", line 44, in execute
return self.cursor.execute(query, args)
DatabaseError: current transaction is aborted, commands ignored until end of transaction block

ERROR [0.001s]: test_same_order (cms.tests.permmod.PermissionModeratorTests)

Traceback (most recent call last):
File "/home/mick/src/django-cms/cms/tests/permmod.py", line 60, in setUp
self.user_super.save()
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/base.py", line 460, in save
self.save_base(using=using, force_insert=force_insert, force_update=force_update)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/base.py", line 553, in save_base
result = manager._insert(values, return_id=update_pk, using=using)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/manager.py", line 195, in _insert
return insert_query(self.model, values, **kwargs)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 1436, in insert_query
return query.get_compiler(using=using).execute_sql(return_id)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 791, in execute_sql
cursor = super(SQLInsertCompiler, self).execute_sql(None)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 735, in execute_sql
cursor.execute(sql, params)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/backends/postgresql_psycopg2/base.py", line 44, in execute
return self.cursor.execute(query, args)
DatabaseError: current transaction is aborted, commands ignored until end of transaction block

ERROR [0.001s]: test_same_order (cms.tests.permmod.PermissionModeratorTests)

Traceback (most recent call last):
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/test/testcases.py", line 301, in call
self._post_teardown()
File "/home/mick/src/django-cms/cms/test_utils/testcases.py", line 326, in _post_teardown
super(SettingsOverrideTestCase, self)._post_teardown()
File "/home/mick/src/django-cms/cms/test_utils/testcases.py", line 115, in _post_teardown
menu_pool.clear()
File "/home/mick/src/django-cms/menus/menu_pool.py", line 87, in clear
to_be_deleted = [obj.key for obj in cache_keys]
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 107, in _result_iter
self._fill_cache()
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 772, in _fill_cache
self._result_cache.append(self._iter.next())
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 273, in iterator
for row in compiler.results_iter():
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 680, in results_iter
for rows in self.execute_sql(MULTI):
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 735, in execute_sql
cursor.execute(sql, params)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/backends/postgresql_psycopg2/base.py", line 44, in execute
return self.cursor.execute(query, args)
DatabaseError: current transaction is aborted, commands ignored until end of transaction block

ERROR [0.001s]: test_slave_can_add_page_to_root (cms.tests.permmod.PermissionModeratorTests)

Traceback (most recent call last):
File "/home/mick/src/django-cms/cms/tests/permmod.py", line 60, in setUp
self.user_super.save()
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/base.py", line 460, in save
self.save_base(using=using, force_insert=force_insert, force_update=force_update)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/base.py", line 553, in save_base
result = manager._insert(values, return_id=update_pk, using=using)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/manager.py", line 195, in _insert
return insert_query(self.model, values, **kwargs)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 1436, in insert_query
return query.get_compiler(using=using).execute_sql(return_id)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 791, in execute_sql
cursor = super(SQLInsertCompiler, self).execute_sql(None)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 735, in execute_sql
cursor.execute(sql, params)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/backends/postgresql_psycopg2/base.py", line 44, in execute
return self.cursor.execute(query, args)
DatabaseError: current transaction is aborted, commands ignored until end of transaction block

ERROR [0.001s]: test_slave_can_add_page_to_root (cms.tests.permmod.PermissionModeratorTests)

Traceback (most recent call last):
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/test/testcases.py", line 301, in call
self._post_teardown()
File "/home/mick/src/django-cms/cms/test_utils/testcases.py", line 326, in _post_teardown
super(SettingsOverrideTestCase, self)._post_teardown()
File "/home/mick/src/django-cms/cms/test_utils/testcases.py", line 115, in _post_teardown
menu_pool.clear()
File "/home/mick/src/django-cms/menus/menu_pool.py", line 87, in clear
to_be_deleted = [obj.key for obj in cache_keys]
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 107, in _result_iter
self._fill_cache()
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 772, in _fill_cache
self._result_cache.append(self._iter.next())
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 273, in iterator
for row in compiler.results_iter():
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 680, in results_iter
for rows in self.execute_sql(MULTI):
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 735, in execute_sql
cursor.execute(sql, params)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/backends/postgresql_psycopg2/base.py", line 44, in execute
return self.cursor.execute(query, args)
DatabaseError: current transaction is aborted, commands ignored until end of transaction block

ERROR [0.001s]: test_slave_can_add_page_under_slave_home (cms.tests.permmod.PermissionModeratorTests)

Traceback (most recent call last):
File "/home/mick/src/django-cms/cms/tests/permmod.py", line 60, in setUp
self.user_super.save()
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/base.py", line 460, in save
self.save_base(using=using, force_insert=force_insert, force_update=force_update)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/base.py", line 553, in save_base
result = manager._insert(values, return_id=update_pk, using=using)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/manager.py", line 195, in _insert
return insert_query(self.model, values, **kwargs)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 1436, in insert_query
return query.get_compiler(using=using).execute_sql(return_id)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 791, in execute_sql
cursor = super(SQLInsertCompiler, self).execute_sql(None)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 735, in execute_sql
cursor.execute(sql, params)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/backends/postgresql_psycopg2/base.py", line 44, in execute
return self.cursor.execute(query, args)
DatabaseError: current transaction is aborted, commands ignored until end of transaction block

ERROR [0.001s]: test_slave_can_add_page_under_slave_home (cms.tests.permmod.PermissionModeratorTests)

Traceback (most recent call last):
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/test/testcases.py", line 301, in call
self._post_teardown()
File "/home/mick/src/django-cms/cms/test_utils/testcases.py", line 326, in _post_teardown
super(SettingsOverrideTestCase, self)._post_teardown()
File "/home/mick/src/django-cms/cms/test_utils/testcases.py", line 115, in _post_teardown
menu_pool.clear()
File "/home/mick/src/django-cms/menus/menu_pool.py", line 87, in clear
to_be_deleted = [obj.key for obj in cache_keys]
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 107, in _result_iter
self._fill_cache()
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 772, in _fill_cache
self._result_cache.append(self._iter.next())
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 273, in iterator
for row in compiler.results_iter():
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 680, in results_iter
for rows in self.execute_sql(MULTI):
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 735, in execute_sql
cursor.execute(sql, params)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/backends/postgresql_psycopg2/base.py", line 44, in execute
return self.cursor.execute(query, args)
DatabaseError: current transaction is aborted, commands ignored until end of transaction block

ERROR [0.001s]: test_slave_can_add_plugin (cms.tests.permmod.PermissionModeratorTests)

Traceback (most recent call last):
File "/home/mick/src/django-cms/cms/tests/permmod.py", line 60, in setUp
self.user_super.save()
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/base.py", line 460, in save
self.save_base(using=using, force_insert=force_insert, force_update=force_update)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/base.py", line 553, in save_base
result = manager._insert(values, return_id=update_pk, using=using)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/manager.py", line 195, in _insert
return insert_query(self.model, values, **kwargs)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 1436, in insert_query
return query.get_compiler(using=using).execute_sql(return_id)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 791, in execute_sql
cursor = super(SQLInsertCompiler, self).execute_sql(None)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/sql/compiler.py", line 735, in execute_sql
cursor.execute(sql, params)
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/backends/postgresql_psycopg2/base.py", line 44, in execute
return self.cursor.execute(query, args)
DatabaseError: current transaction is aborted, commands ignored until end of transaction block

ERROR [0.001s]: test_slave_can_add_plugin (cms.tests.permmod.PermissionModeratorTests)

Traceback (most recent call last):
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/test/testcases.py", line 301, in call
self._post_teardown()
File "/home/mick/src/django-cms/cms/test_utils/testcases.py", line 326, in _post_teardown
super(SettingsOverrideTestCase, self)._post_teardown()
File "/home/mick/src/django-cms/cms/test_utils/testcases.py", line 115, in _post_teardown
menu_pool.clear()
File "/home/mick/src/django-cms/menus/menu_pool.py", line 87, in clear
to_be_deleted = [obj.key for obj in cache_keys]
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 107, in _result_iter
self._fill_cache()
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", line 772, in _fill_cache
self._result_cache.append(self._iter.next())
File "/home/mick/src/django-cms/tests/eggs/Django-1.3-py2.7.egg/django/db/models/query.py", li

Collaborator
ojii commented Oct 10, 2011

this needs CI to run postgres for a fix, otherwise it's pointless.

This was referenced Oct 4, 2012
Member
digi604 commented Dec 20, 2012

fixed

@digi604 digi604 closed this Dec 20, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment