Re: [Sqlalchemy-users] Association object does not work with the threadlocal mod

2006-06-30 Thread Raul Garcia
Michael Bayer posted this on gmane.comp.python.sqlalchemy.user: > should have this fixed in changeset 1679 It works like a charm now :) Thanks a lot, Mike, your support is impressive! > its better if you dont use add_property btw, i noticed you were using > a property "Name" which you mean to

Re: [Sqlalchemy-users] Association object does not work with the threadlocal mod

2006-06-29 Thread Michael Bayer
should have this fixed in changeset 1679 its better if you dont use add_property btw, i noticed you were using a property "Name" which you mean to be "name"because of add_property, the People class had both. if you do it this way, it just has one of them: mapper(Originals, tab

Re: [Sqlalchemy-users] Association object does not work with the threadlocal mod

2006-06-29 Thread Raul Garcia
Michael Bayer posted this on gmane.comp.python.sqlalchemy.user: > heres how im running it: > > z-eeks-Computer:~/dev/sqlalchemy classic$ export PYTHONPATH=./lib/:./ > test/ > z-eeks-Computer:~/dev/sqlalchemy classic$ python threadlocal- > association.py > testdelete (__main__.AssociationTest) .

Re: [Sqlalchemy-users] Association object does not work with the threadlocal mod

2006-06-28 Thread Michael Bayer
ive also noticed that easy_install plays some games recently that make PYTHONPATH not function correctly. you might want to look in your site-packages/easy-install.pth file and comment out SQLAlchemy if youre trying to get a local non-installed version to work...not sure what the real fix

Re: [Sqlalchemy-users] Association object does not work with the threadlocal mod

2006-06-28 Thread Michael Bayer
heres how im running it: z-eeks-Computer:~/dev/sqlalchemy classic$ export PYTHONPATH=./lib/:./ test/ z-eeks-Computer:~/dev/sqlalchemy classic$ python threadlocal- association.py testdelete (__main__.AssociationTest) ... ok testinsert (__main__.AssociationTest) ... ok testmodify (__main__.Assoc

Re: [Sqlalchemy-users] Association object does not work with the threadlocal mod

2006-06-28 Thread Raul Garcia
> Michael Bayer [mailto:[EMAIL PROTECTED] > > heres a diff. the test framework has the "threadlocal" thing turned > off by default and also plays some games with it. > > you should be able to remove all the "save()" statements from the > tests and everything should keep working; with thread

Re: [Sqlalchemy-users] Association object does not work with the threadlocal mod

2006-06-27 Thread Michael Bayer
heres a diff. the test framework has the "threadlocal" thing turned off by default and also plays some games with it. you should be able to remove all the "save()" statements from the tests and everything should keep working; with threadlocal running, new objects automatically get added to