Well the error is that when I login on I get a 500 error,
but I successfully log in as the user.
(remember I am trying to deploy an unmodified
quickstarted app.)
If run under paster serve, the behavior is right.
This error after dealing with the virtual environment errors,
makes me suspicious about the tech.
The problems are easily reproducible.
Use a Debian 5 system.  I used the virtualenv
packaged in debian.
Create the environment: "virtualenv --no-site-packages BASELINE"
  activate
  update setuptools,  the pre-packaged stuff is out of date, according
to the easy_install errors of tg2
  install tg2, I used "easy_install -i 
http://www.turbogears.org/2.0/downloads/current/index
tg.devtools"
  I used the mowsgideploy templates, the files that I use are whittled
down from that.
  config the app with a production.ini and run paster setup-app
  symlink the Apache conf in the site-available directory.
  restart Apache
On Aug 16, 8:54 pm, Michael Pedersen <[email protected]> wrote:
> I, personally, have deployed three separate instances of Apache/mod_wsgi/TG
> into production. I know others have done the same. The only issues I've had
> were things like permissions issues, using zipped files when unzipped was
> better, etc. In other words, nothing more than the usual rigamarole of
> rolling out to production.
>
> What errors did you get exactly? Without knowing that, we can't tell you
> what's wrong. As of now, your original question seems to be solved, so
> what's left?
>
> On Mon, Aug 16, 2010 at 7:06 PM, James Durham <[email protected]>wrote:
>
>
>
> > Thank's for your suggestions.  The deployment under mod wsgi is very
> > difficult.
> > I finally got "myapp" to run using mod_wsgi, but other errors poped
> > up.
> > It seems that Turbogears and Pylons isn't ready for modwsgi
> > deployment.
> > Someone smarter than me should research this more.
>
> > On Aug 16, 4:05 pm, James Durham <[email protected]> wrote:
> > > Yes. It is literally called BASELINE.
>
> > > On Aug 16, 3:13 am, "Diez B. Roggisch" <[email protected]> wrote:
>
> > > > On Aug 16, 2010, at 1:29 AM, James Durham wrote:
>
> > > > > Hello, I'm working on an exercise to learn tg2 and mod_wsgi
> > > > > integration.
> > > > > The basic idea is to use a quickstarted tg2 app and immediately
> > deploy
> > > > > that
> > > > > app using mod_wsgi.
> > > > > I started with some templates from modwsgideploy.
> > > > > I modified them to point to the right directories, and also fix some
> > > > > directive
> > > > > issues.  (mod_wsgi couldn't see the virtual environment for
> > instance.)
>
> > > > > The work on this halted when I got to this point.
>
> > > > > [Wed Aug 04 20:58:35 2010] [error] [client 127.0.0.1] Error - <type
> > > > > 'exceptions.OSError'>: [Errno 20] Not a directory: '/usr/local/
> > > > > turbogears/BASELINE/lib/python2.5/site-packages/myapp-0.1dev-
> > > > > py2.5.egg/
> > > > > myapp/controllers'
>
> > > > Is your VE really called "BASELINE"?
>
> > > > We btw. run a TG2 app without a hitch from a source-install which is
> > "egged" in the VE using
>
> > > >   python setup.py develop
>
> > > > Diez
>
> > --
> > 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]<turbogears%[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], ICQ/103345809, AIM/pedermj022171
>           Yahoo/pedermj2002, MSN/[email protected]

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