Re: [SQLObject] SQLObject 0.14.0 - per-instance connection problem

2010-10-12 Thread Oleg Broytman
On Tue, Oct 12, 2010 at 05:17:53PM +0200, Georges Schutz wrote: > --> So for me the patch is OK. Thank you for the report! > >> conn = sobj.connectionForURI('sqlite:/:memory:') > >> > >> Person.createTable(ifNotExists=True, connection=conn) > >

Re: [SQLObject] SQLObject 0.14.0 - per-instance connection problem

2010-10-12 Thread Georges Schutz
On 12/10/2010 15:39, Oleg Broytman wrote: > On Mon, Oct 11, 2010 at 06:17:02PM +0200, Georges Schutz wrote: >> import sqlobject as sobj >> >> class Person(sobj.SQLObject): >> name = sobj.StringCol(default=None) >> >> conn = sobj.connectionForURI('sqlite:/:memory:') >> >> Person.createTable(if

Re: [SQLObject] SQLObject 0.14.0 - per-instance connection problem

2010-10-12 Thread Oleg Broytman
On Mon, Oct 11, 2010 at 06:17:02PM +0200, Georges Schutz wrote: > import sqlobject as sobj > > class Person(sobj.SQLObject): > name = sobj.StringCol(default=None) > > conn = sobj.connectionForURI('sqlite:/:memory:') > > Person.createTable(ifNotExists=True, connection=conn) > Person(name="P.

Re: [SQLObject] SQLObject 0.14.0 - sqlite connection problem

2010-10-12 Thread Oleg Broytman
Hello! On Mon, Oct 11, 2010 at 06:17:02PM +0200, Georges Schutz wrote: > AttributeError: No connection has been defined for this thread or process Thank you for the report! I will look at it. > Until at leased version 0.12 this code worked with no problem. I have > not tested the 0.13 versio

Re: [SQLObject] SQLObject 0.14.0 - sqlite connection problem

2010-10-11 Thread Georges Schutz
First thank you for all your work. I tested the new version with my projects using SQLObject and encountered the following problem (is the smallest code that reproduces the problem). AttributeError: No connection has been defined for this thread or process Until at leased version 0.12 this cod

Re: [SQLObject] SQLObject 0.14.0

2010-10-10 Thread Oleg Broytman
On Sun, Oct 10, 2010 at 04:42:33PM +0400, Oleg Broytman wrote: > > * The lists of columns/indices/joins are now sorted according to the order > > of declaration. > >About joins: joinDefinitions list is sorted but joins list is not - > SQLObject stores indices into the list so the list can be

Re: [SQLObject] SQLObject 0.14.0

2010-10-10 Thread Oleg Broytman
On Sun, Oct 10, 2010 at 04:17:28PM +0400, Oleg Broytman wrote: > * The lists of columns/indices/joins are now sorted according to the order > of declaration. About joins: joinDefinitions list is sorted but joins list is not - SQLObject stores indices into the list so the list can be reordered

[SQLObject] SQLObject 0.14.0

2010-10-10 Thread Oleg Broytman
Hello! I'm pleased to announce version 0.14.0, the first stable release of branch 0.14 of SQLObject. What is SQLObject = SQLObject is an object-relational mapper. Your database tables are described as classes, and rows are instances of those classes. SQLObject is meant to be e