Here's what happens if I enable debugging in Application.py, either
by setting the global constant at the top of the script, or by
setting "global debug" and "debug = 1" in 
serverSideInfoForRequest().  I get the same error for all URLs and
adapters, and the browser hangs after it delivers the exception message,
waiting for more output.  The console says:


################ BEGIN CONSOLE OUTPUT #######################
    3  2001-06-02 13:06:10  /webkit/Examples/
>> serverSideInfoForRequest(request=<WebKit.HTTPRequest.HTTPRequest instance at 
>0x82e0e7c>)
*** ERROR ***
[Sat Jun  2 13:06:10 2001] [error] WebKit: Error while executing script 
/home/iron/www/iron.cx/fake-docroot/Examples/
Traceback (most recent call last):
  File "/home/iron/webware/Webware-CVS/WebKit/Application.py", line 332, in 
dispatchRequest
    ssPath = request.serverSidePath()
  File "/home/iron/webware/Webware-CVS/WebKit/HTTPRequest.py", line 256, in 
serverSidePath
    self._serverSidePath, self._serverSideContextPath, self._contextName = 
app.serverSideInfoForRequest(self)
  File "/home/iron/webware/Webware-CVS/WebKit/Application.py", line 942, in 
serverSideInfoForRequest
    pprint.pprint(request._rawRequest)
AttributeError: HTTPRequest instance has no attribute '_rawRequest'
>> serverSideInfoForRequest(request=<WebKit.HTTPRequest.HTTPRequest instance at 
>0x82e0e7c>)
Exception in thread Thread-6:
Traceback (most recent call last):
  File "/opt/python-2.1/lib/python2.1/threading.py", line 378, in __bootstrap
    self.run()
  File "/opt/python-2.1/lib/python2.1/threading.py", line 366, in run
    apply(self.__target, self.__args, self.__kwargs)
  File "/home/iron/webware/Webware-CVS/WebKit/ThreadedAppServer.py", line 145, in 
threadloop
    rh.handleRequest()
  File "/home/iron/webware/Webware-CVS/WebKit/ThreadedAppServer.py", line 371, in 
handleRequest
    transaction = self.server._app.dispatchRawRequest(dict, strmOut)
  File "/home/iron/webware/Webware-CVS/WebKit/Application.py", line 317, in 
dispatchRawRequest
    return self.dispatchRequest(self.createRequestForDict(newRequestDict), strmOut)
  File "/home/iron/webware/Webware-CVS/WebKit/Application.py", line 363, in 
dispatchRequest
    path = request.serverSidePath()
  File "/home/iron/webware/Webware-CVS/WebKit/HTTPRequest.py", line 256, in 
serverSidePath
    self._serverSidePath, self._serverSideContextPath, self._contextName = 
app.serverSideInfoForRequest(self)
  File "/home/iron/webware/Webware-CVS/WebKit/Application.py", line 942, in 
serverSideInfoForRequest
    pprint.pprint(request._rawRequest)
AttributeError: HTTPRequest instance has no attribute '_rawRequest'
################ END CONSOLE OUTPUT #######################


The error log (Errors.cxv) shows:

Sat Jun  2 13:06:10 2001,,/home/iron/www/iron.cx/fake-docroot/Examples/,exceptio
ns.AttributeError,HTTPRequest instance has no attribute '_rawRequest',

-- 
-Mike (Iron) Orr, [EMAIL PROTECTED]  (if mail problems: [EMAIL PROTECTED])
   http://iron.cx/     English * Esperanto * Russkiy * Deutsch * Espan~ol

_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to