Discussion:
[tg-trunk] running multiple versions
Arjun K
2016-03-25 10:08:39 UTC
Permalink
how can we run multiple versions of turbogears app in ubuntu. when running
one version , it takes controller of other version and error comes.
--
You received this message because you are subscribed to the Google Groups "TurboGears Trunk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to turbogears-trunk+***@googlegroups.com.
To post to this group, send email to turbogears-***@googlegroups.com.
Visit this group at https://groups.google.com/group/turbogears-trunk.
For more options, visit https://groups.google.com/d/optout.
Alessandro Molina
2016-04-04 14:07:12 UTC
Permalink
The only case this might happen is when both versions are installed into
the same virtual environment.
As TG imports the controllers by package/module and there can only be one
package installed per environment with a specific name you will end up
running with the last one you installed if you don't create two separate
virtual environments.

In case it's happening with two separate virtual envs that would require to
look at your environment as two separate envs should never interfere one
with the other.
Post by Arjun K
how can we run multiple versions of turbogears app in ubuntu. when running
one version , it takes controller of other version and error comes.
--
You received this message because you are subscribed to the Google Groups
"TurboGears Trunk" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/group/turbogears-trunk.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "TurboGears Trunk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to turbogears-trunk+***@googlegroups.com.
To post to this group, send email to turbogears-***@googlegroups.com.
Visit this group at https://groups.google.com/group/turbogears-trunk.
For more options, visit https://groups.google.com/d/optout.
Craig Small
2016-04-05 11:46:40 UTC
Permalink
I've done that. As Alessandro says, you just need two virtualenvs each with
its own version of TurboGears. The tricky bit for me was the apache WSGI
config to point it to the right spot when you have two. With a little care
its quite possible.

- Craig

On Tue, Apr 5, 2016 at 12:07 AM Alessandro Molina <
Post by Alessandro Molina
The only case this might happen is when both versions are installed into
the same virtual environment.
As TG imports the controllers by package/module and there can only be one
package installed per environment with a specific name you will end up
running with the last one you installed if you don't create two separate
virtual environments.
In case it's happening with two separate virtual envs that would require
to look at your environment as two separate envs should never interfere one
with the other.
Post by Arjun K
how can we run multiple versions of turbogears app in ubuntu. when
running one version , it takes controller of other version and error comes.
--
You received this message because you are subscribed to the Google Groups
"TurboGears Trunk" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/group/turbogears-trunk.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"TurboGears Trunk" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/group/turbogears-trunk.
For more options, visit https://groups.google.com/d/optout.
--
Craig Small (@smallsees) http://enc.com.au/ csmall at : enc.com.au
Debian GNU/Linux http://www.debian.org/ csmall at : debian.org
GPG fingerprint: 5D2F B320 B825 D939 04D2 0519 3938 F96B DF50 FEA5
--
You received this message because you are subscribed to the Google Groups "TurboGears Trunk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to turbogears-trunk+***@googlegroups.com.
To post to this group, send email to turbogears-***@googlegroups.com.
Visit this group at https://groups.google.com/group/turbogears-trunk.
For more options, visit https://groups.google.com/d/optout.
Continue reading on narkive:
Loading...