Oleg Broytmann wrote:
> On Tue, Apr 18, 2006 at 02:34:00PM +0200, Uwe Grauer wrote:
>> Exception exceptions.TypeError: "'NoneType' object is not callable" in
>> <bound method Transaction.__del__ of <sqlobject.dbconnection.Transaction
>> object at 0x40b4a94c>> ignored
> 
>    I cannot decrypt the error. The __dell__() there is just:
> 
>     def __del__(self):
>         if self._obsolete:
>             return
>         self.rollback()
> 
>    Where is the NoneType object that is not callable?
> 

I don't know where it is. If i could debug this, i wouldn't ask how i
could do this.
The rollback() seems to be the culprit.

>> I do not see a commit between the table creation and the generator
>> creation. Maybe this is a problem. In my private tool i do a commit
>> after every object.
> 
>    In most database DDL statements (including CREATE) commit the current
> transaction and start their own. But I don't know how FB works in this
> aspect.
> 
> Oleg.

What do you mean by this?
Databases do Transaction handling by their own?
Never saw something like this.

Please give me a way to debug this!
How would i do the create in my own script?
My Problem is, that i could not find a way to actually use something
other than tg-admin for the create (and could not debug tg-admin).
How would i write a script which just asks sqlobject to create the
database from a sqlobject-model?
I just need a simple way to invoke the creation from an own script.
That way, i would be able to debug until i find the cause of the error.

This might sound stupid, but the doc about sqlobject-admin is so short,
that i could not make it (sqlobject-admin) usable for me.

Any help?
        Uwe




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to