On May 3, 2011, at 1:09 PM, howesc wrote: > Jonathan, > > I added the logging statements and learned some more things: > - when running the controllers directly it seems to add site-packages > properly > - when running the controllers via the _TEST() function for executing > doctests it fails to add site-packages to the path > - after trying to run the tests and failing to add site-packages to the > path, that environment is used for the next normal web-request and does not > have site-packages on the path. > > i hope that helps. i'm trying to build some automated tests, and that > suddenly broke the path generation. > > let me know if i can help track this down further.
I don't know enough about _TEST to have an insight into that aspect of the problem, but it sounds like a good clue for someone who does.... One thing you might try, though, is to make sure that gluon.main is being imported at some point along the way. I figure it should be, because gaehandler does it, but again I'm not sure what _TEST is doing.

