I've just checked out the sqlalchemy , generated a tg2 project ( algo
a sqlalchemy activated pylons project ) and in both cases it worked.
It seems some changes to sqlalchemy/util.py make that possible.

I only have a problem of different kind when issuing paster setup-app
development.ini for a project  with identity support.  There' s a
problem in websetup.py in line 20.

model.metadata.create_all(bind=config['pylons.app_globals'].sa_engine)

It seems as if config is only available a level below.  I changed the
line to ...

model.metadata.create_all(bind=config.config['pylons.app_globals'].sa_engine)

and the model was created but the setup-app process gave another error
similar to the previous one.

Any hint on what's causing this?

BTW , I am using tg2 trunk , sqlalchemy trunk and pylons latest from
mercurial repository.

Domingo Aguilera

On Aug 19, 7:47 am, Domingo Aguilera <[EMAIL PROTECTED]>
wrote:
> Some changes on sqlalchemy trunk are making neither tg2 nor pylons
> work.
>
> Thread adjustments that impact orm.session and pooling.
>
> Domingo Aguilera
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to