When using paste.fileapp, I'm getting Internal Server Error instead of
404 Not Found if a nonexistent path is requested.  Is this intentional
or a bug?

File '/home/mso/svn/hazweb/branches/crt-pylons2/crt/controllers/main.py',
line 40 in help
  return app(environ, start_response)
File '/home/mso/venv/pylons/lib/python2.5/site-packages/paste/fileapp.py',
line 104 in __call__
  return self.get(environ, start_response)
File '/home/mso/venv/pylons/lib/python2.5/site-packages/paste/fileapp.py',
line 209 in get
  self.update()
File '/home/mso/venv/pylons/lib/python2.5/site-packages/paste/fileapp.py',
line 189 in update
  stat = os.stat(self.filename)
OSError: [Errno 2] No such file or directory:
'/home/mso/svn/hazweb/branches/crt-pylons2/crt/help/MasterData.xml'

I guess I gotta look over everywhere else I've used FileApp and make
sure it abort(404)'s if the path does not exist.

-- 
Mike Orr <[email protected]>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to