I'm sorry I took so long to reply. I think, though, that I see your problem.

You've made it sound like you are using a directory structure like this:

/usr/local/turbogears/project_venv
/usr/local/turbogears/project_live
/usr/local/turbogears/project_beta

Furthermore, you've got _live and _beta installed into the same virtualenv.
Finally, even though _live and _beta are separate directories, their
setup.py identifies them with the same project name.

If that's correct, then it simply won't work properly (and if you have
something similar that does, then it's a complete fluke, and should not be
relied upon).

What's going on is that the system is looking for a template named (for
example) project.templates.foo.bar

However, you have two versions of the project living inside the wsgi virtual
environment. This results in, at best, unpredictable results. The correct
fix would be to do something like this:

/usr/local/turbogears/project_venv_live
/usr/local/turbogears/project_live
/usr/local/turbogears/project_venv_beta
/usr/local/turbogears/project_beta

Installed project_beta into its own virtualenv, project_live into its own.
Your problems will go away entirely.

On Tue, Sep 13, 2011 at 9:29 PM, pkraus <[email protected]> wrote:

> I just put everything back to separate root directories.
>
>  --
> You received this message because you are subscribed to the Google Groups
> "TurboGears" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/turbogears/-/Skk5Spit6SIJ.
>
> 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.
>



-- 
Michael J. Pedersen
My IM IDs: Jabber/[email protected], AIM/pedermj022171
          Yahoo/pedermj2002, MSN/[email protected]
My Online Resume: http://www.icelus.org/
Twitter: pedersentg

-- 
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.

Reply via email to