id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 12759 raw_query tests fail with psycopg1 backend Karen Tracey nobody "Failure is: {{{ ====================================================================== ERROR: testAnnotations (modeltests.raw_query.tests.RawQueryTests) ---------------------------------------------------------------------- Traceback (most recent call last): File ""D:\u\kmt\django\trunk\tests\modeltests\raw_query\tests.py"", line 160, in testAnnotations self.assertSuccessfulRawQuery(Author, query, authors, expected_annotations) File ""D:\u\kmt\django\trunk\tests\modeltests\raw_query\tests.py"", line 13, in assertSuccessfulRawQuery results = list(model.objects.raw(query, params=params, translations=translations)) File ""d:\u\kmt\django\trunk\django\db\models\query.py"", line 1331, in __iter__ for row in self.query: File ""d:\u\kmt\django\trunk\django\db\models\sql\query.py"", line 58, in __iter__ return iter(self.cursor) File ""d:\u\kmt\django\trunk\django\db\backends\postgresql\base.py"", line 79, in __iter__ return iter(self.cursor) TypeError: 'cursor' object is not iterable ---------------------------------------------------------------------- Ran 152 tests in 40.608s FAILED (errors=1) }}} (Thhis was with `--failfast` specified so tests stopped after first failure.)" closed Database layer (models, ORM) dev fixed Accepted 0 0 0 0 0 0