Jump to content

Turbogears 2 on Stevie


alltubeStuffDKOMS

Recommended Posts

Guest Geoff

I don't see why it wouldn't work. However, it will be easier to upload a zip of the source, and then add the location to your pythonpath.

Link to comment
Share on other sites

  • 2 weeks later...

Hm.. I can add it to path with script (to simply zipped source of turbogears app, as you suggested), but still I get 500 error. But I'm not sure, whether I'm doing th right things because by now I have always deployed turbogears apps with apache mod_proxy and simply run turbogears server from shell.

 

Could you write more precisely, what should I do? It would be very useful for many people, I suppose, because in the web there is almost no info about real deploying tg. Thanks in advance!

Link to comment
Share on other sites

I got your application closer to working at http://myalltube.heliohost.org/example/apache/example.wsgi/, only to come up with this error:

[Mon Aug 15 10:05:16 2011] [error] [client 74.197.184.234] mod_wsgi (pid=32511): Exception occurred processing WSGI script '$
[Mon Aug 15 10:05:16 2011] [error] [client 74.197.184.234] Traceback (most recent call last):
[Mon Aug 15 10:05:16 2011] [error] [client 74.197.184.234]   File "/usr/local/lib/python2.7/site-packages/Paste-1.7.5.1-py2.$
[Mon Aug 15 10:05:16 2011] [error] [client 74.197.184.234]     return self.apps[-1](environ, start_response)
[Mon Aug 15 10:05:16 2011] [error] [client 74.197.184.234]   File "/usr/local/lib/python2.7/site-packages/Paste-1.7.5.1-py2.$
[Mon Aug 15 10:05:16 2011] [error] [client 74.197.184.234]     app_iter = self.application(environ, start_response)
[Mon Aug 15 10:05:16 2011] [error] [client 74.197.184.234]   File "/usr/local/lib/python2.7/site-packages/Pylons-1.0-py2.7.e$
[Mon Aug 15 10:05:16 2011] [error] [client 74.197.184.234]     self.app, environ, catch_exc_info=True)
[Mon Aug 15 10:05:16 2011] [error] [client 74.197.184.234]   File "/usr/local/lib/python2.7/site-packages/Pylons-1.0-py2.7.e$
[Mon Aug 15 10:05:16 2011] [error] [client 74.197.184.234]     app_iter = application(environ, start_response)
[Mon Aug 15 10:05:16 2011] [error] [client 74.197.184.234]   File "/usr/local/lib/python2.7/site-packages/WebError-0.10.3-py$
[Mon Aug 15 10:05:16 2011] [error] [client 74.197.184.234]     "The EvalException middleware is not usable in a "
[Mon Aug 15 10:05:16 2011] [error] [client 74.197.184.234] AssertionError: The EvalException middleware is not usable in a multi-process environment

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...