Re: [SQLObject] autoCommit=False and Transaction -> SQLObjectNotFound on creation

2015-01-05 Thread Gregor Horvath
Hi Oleg, Am Mon, 5 Jan 2015 13:19:39 +0100 schrieb Oleg Broytman : > On Mon, Jan 05, 2015 at 12:19:20PM +0100, Gregor Horvath > wrote: > > Problem: > > > > raise SQLObjectNotFound, "The object %s by the ID %s does not > > exist" % (self.__class__.__name__, self.id) > > sqlobject.main.SQL

Re: [SQLObject] autoCommit=False and Transaction -> SQLObjectNotFound on creation

2015-01-05 Thread Oleg Broytman
Hi! On Mon, Jan 05, 2015 at 12:19:20PM +0100, Gregor Horvath wrote: > Problem: > > raise SQLObjectNotFound, "The object %s by the ID %s does not > exist" % (self.__class__.__name__, self.id) > sqlobject.main.SQLObjectNotFound: The object Eingangsrechnung by the ID > 1 does not exist > >

[SQLObject] autoCommit=False and Transaction -> SQLObjectNotFound on creation

2015-01-05 Thread Gregor Horvath
Hello, Problem: $ dropdb scratch; createdb scratch; python /tmp/scratch.py Traceback (most recent call last): File "/tmp/scratch.py", line 25, in er = Eingangsrechnung(name="test") File "/home/gregor/work/gnucash/testve/local/lib/python2.7/site-packages/sqlobject/main.py", line 1226,