Re: [sqlalchemy] SQLAlchemy 5.4.p1 - RuntimeError - why?

2009-11-26 Thread Hermann Himmelbauer
Am Dienstag 24 November 2009 22:23:49 schrieb Michael Bayer: I see 0.5.4p1 ! upgrading is always the first response. this was a bug that was fixed. Thanks a lot, this seems to have solved it! Best Regards, Hermann -- herm...@qwer.tk GPG key ID: 299893C7 (on keyservers) FP: 0124 2584 8809

[sqlalchemy] Re: pass any field as a keyword param to the constructor?

2009-11-26 Thread Lukasz Szybalski
Any idea how should I be set the None Type argument to str.? x=Recall() type(x.MAKETXT) is type 'NoneType' set in OrmObject when it does the setattr it probably fails because you cannot setattr on NoneType objects? setattr(x.MAKETXT,'somevalue') Traceback (most recent call last): File stdin,

Re: [sqlalchemy] Dynamic mapper issue

2009-11-26 Thread Michael Bayer
On Nov 26, 2009, at 2:05 AM, Kalium wrote: Hi, I'm coming to grief trying to create a Mapper on the fly. At first I tried this class Dynamic(object): pass Dynamic.mapper = mapper(Dynamic, self.j); self.j is a join statement. This now maps all the columns from the

Re: [sqlalchemy] SQLAlchemy 0.5.5 MySQL Issue

2009-11-26 Thread Alexandre Conrad
2009/11/27 gizli mehm...@gmail.com: With mysql however, the insert done by the query() actually does a commit.. i turned on echo, and i dont see an explicit commit but this is what seems to happen.. After the program is done, I can see Obj(5) in the mysql database. Is this a known problem?