On Tue, Feb 11, 2014 at 11:02 AM, Ryan Ollos <[email protected]>wrote:

> I've been seeing the following test case failure for quite a while now
> (with SQLite at least).
>
> ======================================================================
> ERROR: test_batch_ticket_insert_after_upgrade
> (tests.upgrade.EnvironmentUpgradeTestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "tests/upgrade.py", line 405, in
> test_batch_ticket_insert_after_upgrade
>     db("""INSERT INTO ticket (summary) SELECT summary FROM tmp""")
>   File "multiproduct/dbcursor.py", line 120, in execute
>     return self.connection.execute(query, params=params)
>   File "/home/user/Workspace/bhdev/bloodhound.git/trac/trac/db/util.py",
> line 121, in execute
>     cursor.execute(query, params)
>   File "multiproduct/dbcursor.py", line 85, in execute
>     return super(BloodhoundIterableCursor,
> self).execute(translate_sql(self.env, sql), args=args)
>   File "/home/user/Workspace/bhdev/bloodhound.git/trac/trac/db/util.py",
> line 66, in execute
>     return self.cursor.execute(sql)
>   File
> "/home/user/Workspace/bhdev/bloodhound.git/trac/trac/db/sqlite_backend.py",
> line 78, in execute
>     result = PyFormatCursor.execute(self, *args)
>   File
> "/home/user/Workspace/bhdev/bloodhound.git/trac/trac/db/sqlite_backend.py",
> line 56, in execute
>     args or [])
>   File
> "/home/user/Workspace/bhdev/bloodhound.git/trac/trac/db/sqlite_backend.py",
> line 48, in _rollback_on_error
>     return function(self, *args, **kwargs)
> OperationalError: 2 values for 3 columns
>
> ----------------------------------------------------------------------
> Ran 1282 tests in 369.913s
>
> FAILED (errors=1, skipped=22)
>
>
Olemis: do you have an idea on how to fix this one? After the patch in
#754, it's the only test case failure in Multiproduct with SQLite, so it
would be nice to fix it before the release.

Reply via email to