okay the import worked as well when I did tg-admin shell prod.cfg. so it's not a prod and dev file problem But looking at an other machine where it seemed to work it turns out that I was using SA 0.4.2p3 there and 0.4.0 on the other machines (the one I had problems with). So I easy_installed that version and it works. does this mean I'm doing something wrong with SA and that some newer version just resolves it ? Tom
On Sep 29, 8:29 pm, Christopher Arndt <[EMAIL PROTECTED]> wrote: > zaf schrieb: > > >> What happens when you do "from turbogears.database import get_engine" in > >> your project directory in an interactive Python session? > > > It works both in the regular python shell and the tg-admin shell. > > It's weird, I don't get it. > > Then I suspect there is something wrong with your production > configuration. When you do "tg-admin shell" in your project directory, > you get the configuration from dev.cfg, unless you specify another > config file on the command line. > > > Was there a change in SQLAlchemy's required version ? > > If so, what would this have to do with it? You are using the same SA > version when you start your app with the start script and when you use > the Python shell, right? Otherwise experimenting makes no sense. > > Chris --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" 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?hl=en -~----------~----~----~----~------~----~------~--~---

