I've added a filename to the content-type header this time.  It works 
in Kmail and outlook express.  Does it work ok for you now?

----------  Forwarded Message  ----------

Subject: [Webware Error] HTTP404
Date: Thu, 14 Mar 2002 15:11:03 -0800
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]

WebKit caught an exception while processing a request for
 "/WK/ImageManager2" at Thu Mar 14 15:11:03 2002 (timestamp:
 1016147463.84).  The plain text traceback from Python is printed
 below and the full HTML error report from WebKit is attached.

Traceback (most recent call last):
  File
 "/usr/local/lib/python2.2/site-packages/Webware/WebKit/Application.p
y", line 435, in _dispatchRequest servlet =
 self._checkOutServletInstance(request)
  File
 "/usr/local/lib/python2.2/site-packages/Webware/WebKit/Application.p
y", line 492, in _checkOutServletInstance servletPathData =
 self._resolveServletPathData(request)
  File
 "/usr/local/lib/python2.2/site-packages/Webware/WebKit/Application.p
y", line 620, in _resolveServletPathData dirName, baseName =
 os.path.split(
  File
 "/usr/local/lib/python2.2/site-packages/Webware/WebKit/Application.p
y", line 729, in _resolveFullPathFromBaseName raise HTTP404
HTTP404

-------------------------------------------------------


Title: An Error Has Occurred


Error
The site is having technical difficulties with this page. The problem has been logged and will be fixed as soon as possible. Sorry!


Traceback
Traceback (most recent call last):
  File "/usr/local/lib/python2.2/site-packages/Webware/WebKit/Application.py", line 435, in _dispatchRequest
    servlet = self._checkOutServletInstance(request)
  File "/usr/local/lib/python2.2/site-packages/Webware/WebKit/Application.py", line 492, in _checkOutServletInstance
    servletPathData = self._resolveServletPathData(request)
  File "/usr/local/lib/python2.2/site-packages/Webware/WebKit/Application.py", line 620, in _resolveServletPathData
    dirName, baseName = os.path.split(
  File "/usr/local/lib/python2.2/site-packages/Webware/WebKit/Application.py", line 729, in _resolveFullPathFromBaseName
    raise HTTP404
HTTP404


Misc Info
os.getcwd() /var/www/www.calrudd.com/Webware/WorkingDir  
sys.path ['/usr/local/bin', '/usr/local/lib/python2.2', '/usr/local/lib/python2.2/plat-linux2', '/usr/local/lib/python2.2/lib-tk', '/usr/local/lib/python2.2/lib-dynload', '/usr/local/lib/python2.2/site-packages', '/usr/local/lib/python2.2/site-packages/PIL', '/usr/local/lib/python2.2/site-packages/Webware', 'Cache/PSP']  
time Thu Mar 14 15:11:03 2002  


Fields


Environment
DOCUMENT_ROOT /var/www/www.calrudd.com/public_html  
GATEWAY_INTERFACE CGI/1.1  
HTTP_ACCEPT text/*, image/jpeg, image/png, image/*, */*  
HTTP_ACCEPT_CHARSET iso-8859-1, utf-8, *  
HTTP_ACCEPT_ENCODING x-gzip, gzip, identity  
HTTP_ACCEPT_LANGUAGE en, en_US  
HTTP_CONNECTION Keep-Alive  
HTTP_COOKIE _WEBKIT_SID_=42f13fb83412b59862c7afdc64990321  
HTTP_HOST calrudd.com  
HTTP_USER_AGENT Mozilla/5.0 (compatible; Konqueror/2.2.1; Linux)  
PATH /sbin:/bin:/usr/sbin:/usr/bin  
PATH_INFO /ImageManager2  
PATH_TRANSLATED /var/www/www.calrudd.com/public_html/ImageManager2  
QUERY_STRING  
REMOTE_ADDR 10.0.0.10  
REMOTE_PORT 33192  
REQUEST_METHOD GET  
REQUEST_URI /WK/ImageManager2  
SCRIPT_FILENAME /var/www/www.calrudd.com/public_html/WK  
SCRIPT_NAME /WK  
SCRIPT_URI http://www.calrudd.com/WK/ImageManager2  
SCRIPT_URL /WK/ImageManager2  
SERVER_ADDR 10.0.0.1  
SERVER_ADMIN [EMAIL PROTECTED]  
SERVER_NAME www.calrudd.com  
SERVER_PORT 80  
SERVER_PROTOCOL HTTP/1.1  
SERVER_SIGNATURE
Apache/1.3.22 Server at www.calrudd.com Port 80
 
SERVER_SOFTWARE Apache/1.3.22 (Unix) mod_ssl/2.8.5 OpenSSL/0.9.6c mod_webkit/0.5 PHP/4.1.1 mod_python/2.7.6 Python/2.2  
URI_MINUS_QSTRING /WK/ImageManager2  


Ids
namevalue
getegid100
geteuid510
getgid100
getpgrp5405
getpid5423
getppid5409
getuid510


Fancy Traceback
HTTP404: Application:  729
Application:  620
Application:  492
Application:  441

A problem occurred while running a Python script. Here is the sequence of function calls leading up to the error, with the most recent (innermost) call first.

WebKit/Application in _resolveFullPathFromBaseName(self=<WebKit.Application.ServletBasedApplication instance>, dirName='/var/www/www.calrudd.com/Webware/Servlets', baseName='ImageManager2')
  727         ## raise Error if no possible matches found
  728         if len(possibleMatches) < 1:
  729             raise HTTP404
       global HTTP404 = <class Webware.Exceptions.HTTP404>
  730         
  731         ## if multiple matches found, cascade through 'cascadingExtensions'

WebKit/Application in _resolveServletPathData(self=<WebKit.Application.ServletBasedApplication instance>, request=<WebKit.Request.Request instance>, useCache=1)
  618         ## The file doesn't exist, but the dir does ---> may not have ext specified
  619         if os.path.exists(dirName) and not os.path.exists(fullPath):
  620             dirName, baseName = os.path.split(
       dirName = '/var/www/www.calrudd.com/Webware/Servlets', baseName = 'ImageManager2', global os = <module 'os' from '/usr/local/lib/python2.2/os.pyc'>, global os.path = <module 'posixpath' from '/usr/local/lib/python2.2/posixpath.pyc'>, global os.path.split = <function split>
  621                 self._resolveFullPathFromBaseName(dirName, baseName)
  622                 )

WebKit/Application in _checkOutServletInstance(self=<WebKit.Application.ServletBasedApplication instance>, request=<WebKit.Request.Request instance>, pathExists=<function exists>, getmtime=<function getmtime>)
  490 
  491         ## get the ServletPathData
  492         servletPathData = self._resolveServletPathData(request)
       servletPathData = undefined, request = <WebKit.Request.Request instance>
  493         
  494         ## get the servlet ##

WebKit/Application in _dispatchRequest(self=<WebKit.Application.ServletBasedApplication instance>, request=<WebKit.Request.Request instance>)
  439             self.setting('HTTP403ErrorHandler')(rawRequest)
  440         except HTTP404:
  441             self.setting('HTTP404ErrorHandler')(rawRequest)
       rawRequest = {'environ': {'DOCUMENT_ROOT': '/var/www/www.calrudd.com/public_html', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/*, image/jpeg, image/png, image/*, */*', 'HTTP_ACCEPT_CHARSET': 'iso-8859-1, utf-8, *', 'HTTP_ACCEPT_ENCODING': 'x-gzip, gzip, identity', 'HTTP_ACCEPT_LANGUAGE': 'en, en_US', 'HTTP_CONNECTION': 'Keep-Alive', 'HTTP_COOKIE': '_WEBKIT_SID_=42f13fb83412b59862c7afdc64990321', 'HTTP_HOST': 'calrudd.com', 'HTTP_USER_AGENT': 'Mozilla/5.0 (compatible; Konqueror/2.2.1; Linux)', ...}, 'format': 'CGI', 'input': <open file '<socket>', mode 'rb'>, 'output': <open file '<socket>', mode 'wb'>, 'time': 1016147463.83981} (complete)
  442         else: # any exceptions not explicitly caught here are handled by the AppServer
  443             ## process the request/transaction if servlet found

HTTP404:
      __doc__ = 'Not Found'
      __getitem__ = <bound method HTTP404.__getitem__ of <Webware.Exceptions.HTTP404 instance at 0x838bddc>>
      __init__ = <bound method HTTP404.__init__ of <Webware.Exceptions.HTTP404 instance at 0x838bddc>>
      __module__ = 'Webware.Exceptions'
      __str__ = <bound method HTTP404.__str__ of <Webware.Exceptions.HTTP404 instance at 0x838bddc>>
      args = ()

Reply via email to