I've been using a web.py app in production now for a couple of weeks,
deployed under Apache 2.2.3 / mod_wsgi 3.3.

Then yesterday I started seeing tracebacks like this:
[Wed Nov 09 17:07:53 2011] [error] Traceback (most recent call last):
[Wed Nov 09 17:07:53 2011] [error]   File "/rel/lang/python/2.6.4-6/
opt-gccWS5_64/lib/python2.6/site-packages/web/application.py", line
240, in process
[Wed Nov 09 17:07:53 2011] [error]     return p(lambda:
process(processors))
[Wed Nov 09 17:07:53 2011] [error]   File "/rel/lang/python/2.6.4-6/
opt-gccWS5_64/lib/python2.6/site-packages/web/application.py", line
561, in processor
[Wed Nov 09 17:07:53 2011] [error]     return handler()
[Wed Nov 09 17:07:53 2011] [error]   File "/rel/lang/python/2.6.4-6/
opt-gccWS5_64/lib/python2.6/site-packages/web/application.py", line
240, in <lambda>
[Wed Nov 09 17:07:53 2011] [error]     return p(lambda:
process(processors))
[Wed Nov 09 17:07:53 2011] [error]   File "/rel/lang/python/2.6.4-6/
opt-gccWS5_64/lib/python2.6/site-packages/web/application.py", line
249, in process
[Wed Nov 09 17:07:53 2011] [error]     raise self.internalerror()
[Wed Nov 09 17:07:53 2011] [error]   File "/rel/lang/python/2.6.4-6/
opt-gccWS5_64/lib/python2.6/site-packages/web/application.py", line
468, in internalerror
[Wed Nov 09 17:07:53 2011] [error]     parent = self.get_parent_app()
[Wed Nov 09 17:07:53 2011] [error]   File "/rel/lang/python/2.6.4-6/
opt-gccWS5_64/lib/python2.6/site-packages/web/application.py", line
453, in get_parent_app
[Wed Nov 09 17:07:53 2011] [error]     if self in web.ctx.app_stack:
[Wed Nov 09 17:07:53 2011] [error]   File "/rel/lang/python/2.6.4-6/
opt-gccWS5_64/lib/python2.6/site-packages/web/utils.py", line 1165, in
__getattr__
[Wed Nov 09 17:07:53 2011] [error]     return getattr(self._getd(),
key)
[Wed Nov 09 17:07:53 2011] [error]   File "/rel/lang/python/2.6.4-6/
opt-gccWS5_64/lib/python2.6/site-packages/web/utils.py", line 71, in
__getattr__
[Wed Nov 09 17:07:53 2011] [error]     raise AttributeError, k
[Wed Nov 09 17:07:53 2011] [error] AttributeError: 'app_stack'


I did a little searching and found two posts to the web.py mailing
lists with the same error, but neither received responses:
http://groups.google.com/group/webpy/search?group=webpy&q=app_stack&qt_g=Search+this+group

I'm using the Apache mpm_worker_module, and am configuring mod_wsgi
with:
LoadModule wsgi_module modules/mod_wsgi.so
<VirtualHost *:8090>
 WSGIDaemonProcess concurrency_limit user=farmadmin group=user \
     home=/var/www/cl_server python-path=/var/www/cl_server \
     threads=20 processes=5

 WSGIScriptAlias / /var/www/cl_server/controller.py/

 Alias /static /var/www/cl_server/static/
 AddType text/html .py

 <Directory /usr/pic1/cl_server/>
     Order deny,allow
     Allow from all
 </Directory>
</VirtualHost>

Let me know if there is anymore information I could provide.

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to webpy@googlegroups.com.
To unsubscribe from this group, send email to 
webpy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to