*if you logout, doesn't it terminate all of your services running under your username?* *maybe just lock the screen may be better? *----------------------- Visit http://www.superantispyware.com/superantispyware.html?rid=3971 Remove All The Spyware - Not Just The Easy Ones! http://1-4-u.info | Don't send insanely long links! Need a Pick-Me-Up? http://quotes.feedtheguru.com
On Tue, Jul 20, 2010 at 7:21 PM, dustismo <[email protected]> wrote: > I'm just trying to figure this out. I've got a simple webapp working > locally. It works fine when I run it on the server as well except it > dies as soon as I log out. > > I run it by: > sudo -u webuser python webapp.py & > > the process continues to run after I log out but I get this printed to > the browser: > > Traceback (most recent call last): > File "/usr/local/lib/python2.6/dist-packages/web.py-0.34-py2.6.egg/ > web/wsgiserver/__init__.py", line 1174, in communicate > req.respond() > File "/usr/local/lib/python2.6/dist-packages/web.py-0.34-py2.6.egg/ > web/wsgiserver/__init__.py", line 544, in respond > self._respond() > File "/usr/local/lib/python2.6/dist-packages/web.py-0.34-py2.6.egg/ > web/wsgiserver/__init__.py", line 556, in _respond > response = self.wsgi_app(self.environ, self.start_response) > File "/usr/local/lib/python2.6/dist-packages/web.py-0.34-py2.6.egg/ > web/httpserver.py", line 237, in __call__ > return self.app(environ, xstart_response) > File "/usr/local/lib/python2.6/dist-packages/web.py-0.34-py2.6.egg/ > web/httpserver.py", line 212, in __call__ > return self.app(environ, start_response) > File "/usr/local/lib/python2.6/dist-packages/web.py-0.34-py2.6.egg/ > web/application.py", line 293, in wsgi > start_resp(status, headers) > File "/usr/local/lib/python2.6/dist-packages/web.py-0.34-py2.6.egg/ > web/httpserver.py", line 234, in xstart_response > self.log(status, environ) > File "/usr/local/lib/python2.6/dist-packages/web.py-0.34-py2.6.egg/ > web/httpserver.py", line 250, in log > print >> outfile, utils.safestr(msg) > IOError: [Errno 5] Input/output error > > > Looks like maybe an issue with logging, but I can't find anything > about logging in any of the docs. Any help? > > -- > You received this message because you are subscribed to the Google Groups > "web.py" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected] <webpy%[email protected]>. > For more options, visit this group at > http://groups.google.com/group/webpy?hl=en. > > -- You received this message because you are subscribed to the Google Groups "web.py" 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/webpy?hl=en.
