Created
January 3, 2010 16:49
-
-
Save bmihelac/268034 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ERROR: test_21_copy_content (feincms.tests.PagesTestCase) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "../feincms/tests/__init__.py", line 840, in test_21_copy_content | |
self.assertEqual(len(page2.content.main), 1) | |
File "../feincms/models.py", line 566, in __getattr__ | |
contents = collect_items(item) | |
File "../feincms/models.py", line 556, in collect_items | |
contents = obj._content_for_region(region) | |
File "../feincms/models.py", line 257, in _content_for_region | |
print list(self._feincms_content_types[idx].objects.filter(parent=self, region=region.key).select_related()) | |
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/django/db/models/query.py", line 585, in select_related | |
obj = self._clone() | |
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/django/db/models/query.py", line 726, in _clone | |
query = self.query.clone() | |
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/django/db/models/sql/query.py", line 227, in clone | |
obj.where = deepcopy(self.where) | |
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/copy.py", line 173, in deepcopy | |
y = copier(memo) | |
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/django/utils/tree.py", line 61, in __deepcopy__ | |
obj.children = deepcopy(self.children, memodict) | |
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/copy.py", line 162, in deepcopy | |
y = copier(x, memo) | |
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/copy.py", line 228, in _deepcopy_list | |
y.append(deepcopy(a, memo)) | |
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/copy.py", line 162, in deepcopy | |
y = copier(x, memo) | |
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/copy.py", line 235, in _deepcopy_tuple | |
y.append(deepcopy(a, memo)) | |
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/copy.py", line 189, in deepcopy | |
y = _reconstruct(x, rv, 1, memo) | |
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/copy.py", line 338, in _reconstruct | |
state = deepcopy(state, memo) | |
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/copy.py", line 162, in deepcopy | |
y = copier(x, memo) | |
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/copy.py", line 255, in _deepcopy_dict | |
y[deepcopy(key, memo)] = deepcopy(value, memo) | |
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/copy.py", line 181, in deepcopy | |
rv = reductor(2) | |
TypeError: 'list' object is not callable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment