I've been having a fairly major problem.  In the latest SVN release (including 
support packages) as of 5:00pm today, SQLObject can not perform any actions 
without bombing out with the following error during transaction close:

Exception exceptions.AttributeError: "'NoneType' object has no attribute 
'releaseConnection'" in <bound method Transaction.__del__ of 
<sqlobject.dbconnection.Transaction object at 0x2aaaad0531d0>> ignored

A few examples of commands that will trigger this:

        tg-admin sql sql
        tg-admin sql create
        tg-admin sql drop
        ... etc.

My model is as follows:

        from sqlobject import *
        from sqlobject.inheritance import InheritableSQLObject
        from turbogears.database import PackageHub
        
        hub = PackageHub("packagename")
        __connection__ = hub
        
        class Device(SQLObject):
                device = StringCol(length=200)
                model = StringCol(length=200)
                serialNumber = StringCol(length=200)
                notes = StringCol()
        
        class BaseContact(InheritableSQLObject):
                notes = StringCol()
        
        class Organization(BaseContact):
                name = StringCol(length=200)

Any ideas would be appreciated!
  - Matthew

Attachment: pgp2wPCQJK0AV.pgp
Description: PGP signature

Reply via email to