On Jan 24, 2007, at 11:25 AM, Diez B. Roggisch wrote:
>
> Hi all,
>
> no idea what changed - but suddenly, all my tests break with this:
>
> ======================================================================
> ERROR: test_timerules (test_model.TestAll)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>
> File "/home/droggisch/projects/artnology/Van_Abbe_RMS/turbogears/
> turbogears/testutil.py",
> line 155, in setUp
> item.createTable(ifNotExists=True)
>
> File "/home/droggisch/projects/artnology/Van_Abbe_RMS/sqlobject/
> sqlobject/main.py",
> line 1337, in createTable
> if ifNotExists and conn.tableExists(cls.sqlmeta.table):
>
> File "/home/droggisch/projects/artnology/Van_Abbe_RMS/sqlobject/
> sqlobject/sqlite/sqliteconnection.py",
> line 201, in tableExists
> result = self.queryOne("SELECT tbl_name FROM sqlite_master WHERE
> type='table' AND tbl_name = '%s'" % tableName)
>
> File "/home/droggisch/projects/artnology/Van_Abbe_RMS/sqlobject/
> sqlobject/dbconnection.py",
> line 761, in queryOne
> return self._dbConnection._queryOne(self._connection, s)
>
> File "/home/droggisch/projects/artnology/Van_Abbe_RMS/sqlobject/
> sqlobject/dbconnection.py",
> line 343, in _queryOne
> self._executeRetry(conn, c, s)
>
> File "/home/droggisch/projects/artnology/Van_Abbe_RMS/sqlobject/
> sqlobject/dbconnection.py",
> line 299, in _executeRetry
> return cursor.execute(query)
> Warning: You can only execute one statement at a time.
>
> ----------------------------------------------------------------------
>
> Any suggestions on how to proceed?
Is this 1.0.1? I've bumped nosetests version to 0.9.1 from 0.9 and
that might be the problem... can you try to downgrade to 0.9 to see
if it is?
Note: you'd have to tweak TG's setup.py to require nose 0.9 or else
TG will probably fail to startup due to version conflicts.
Alberto
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---