Hi Ronald

Nope, no luck from the shell either. I now suspect it has something to
do with the SQLITE and multi-threading issue that I have seen mention
elsewhere, but I don't know enough about that issue to test it
properly.

Am now busy installing MySQL to test my setup with a different database
to verify that.

Here the traceback from my 'tg-admin shell' session:
(where Notation is one of the classes from my third-party
SQLObject-based module)

>>> from idtest.model import *
>>> n = Notation.byNotation('11')
Traceback (most recent call last):
  File "<console>", line 1, in ?
  File "<string>", line 1, in <lambda>
  File
"/Users/etienne/tmp/turbogears/thirdparty/sqlobject/sqlobject/main.py",
line 1266, in _SO_fetchAlternateID
    result, obj = cls._findAlternateID(name, dbName, value, connection)
  File
"/Users/etienne/tmp/turbogears/thirdparty/sqlobject/sqlobject/main.py",
line 1257, in _findAlternateID
    return (connection or cls._connection)._SO_selectOneAlt(
  File
"/Users/etienne/tmp/turbogears/thirdparty/sqlobject/sqlobject/dbconnection.py",
line 856, in __get__
    return self.getConnection()
  File
"/Users/etienne/tmp/turbogears/thirdparty/sqlobject/sqlobject/dbconnection.py",
line 868, in getConnection
    raise AttributeError(
AttributeError: No connection has been defined for this thread or
process


PS. Catwalk is Really Good Stuff. Well done. When testing the new
Idenity framework for my project I noticed Catwalk incidentally, and
went WOW! This prompted me to bring some of my other project over to TG
0.9 too.

Reply via email to