I don't see any problems here. Are you still having this problem?
Try specifying 'LoginPage.py' in forwardRequestFast, instead of just
'LoginPage'. I don't think that'll help, but... Let us know.
I would start putting debug statements in
Application.forwardRequestFast. The path is no being set correctly in
Request.
Jay
On 20 Jul 2001 09:22:04 -0400, Roy W Fileger wrote:
> Hi All,
>
> I have spent several months developing a project in Webware.
>
> I'm embarrassed by this question but I recently spent several
> days modifying my application to use my modified copy of
> SecurePage.
>
> Periodically I reboot my system and after I did nothing would
> run. I saved my stuff and reinstalled Webware and then the
> example LoginPage and SecurePage would work but the
> slightest effort on my part to get my app going again results in
> the attached error page.
>
> Under Misc Info the path to the file is not correct I know. I
> checked the WebKit.cgi in the Apache subdirectory and it looks
> good. I know it is something stupid but I'm hung up until I
> resolve the problem.
>
> I have attached the error page.
>
> Thank you for your time and your consideration, Roy W. Fileger.
> ====================================================
>
> Error
>
> The site is having technical difficulties with this page. An error has
> been logged, and the problem will be fixed as soon as possible. Sorry!
>
>
> Traceback
>
> c:\program files\nusphere\apache\nsdocs\examples\void.py
>
> Traceback (most recent call last):
> File "WebKit\Application.py", line 306, in dispatchRequest
> self.handleGoodURL(transaction)
> File "WebKit\Application.py", line 414, in handleGoodURL
> self.respond(transaction)
> File "WebKit\Application.py", line 490, in respond
> transaction.respond()
> File "WebKit\Transaction.py", line 93, in respond
> self._servlet.respond(self)
> File "WebKit\HTTPServlet.py", line 38, in respond
> method(self, trans)
> File "WebKit\Page.py", line 34, in respondToGet
> self._respond(transaction)
> File "WebKit\Page.py", line 53, in _respond
> self.writeHTML()
> File "C:\Webware\WebKit\Examples\SecurePage.py", line 76, in writeHTML
> app.forwardRequestFast(trans, 'LoginPage')
> File "WebKit\Application.py", line 469, in forwardRequestFast
> self.createServletInTransaction(trans)
> File "WebKit\Application.py", line 726, in createServletInTransaction
> assert path is not None
> AssertionError:
>
> Misc Info
> filename c:\program files\nusphere\apache\nsdocs\examples\void.py
> os.getcwd() C:\Webware
> sys.path ['C:\\Webware\\WebKit\\Examples', '', 'c:\\vitalpy',
> 'c:\\webware', 'c:\\webware\\webkit\\examples',
> 'c:\\webware\\webkit\\cans', 'c:\\webware\\webkit\\cache\\psp',
> 'c:\\python20\\pythonwin', 'c:\\python20\\win32',
> 'c:\\python20\\win32\\lib', 'c:\\python20', 'c:\\python20\\dlls',
> 'c:\\python20\\lib', 'c:\\python20\\lib\\plat-win',
> 'c:\\python20\\lib\\lib-tk', 'c:\\python20\\pil', 'c:\\python20\\ppm',
> 'C:\\Webware\\WebKit\\Cans', 'C:\\Webware',
> 'C:\\Webware\\WebKit\\Cache\\PSP']
> time Thu Jul 19 23:58:29 2001
>
>
> Fields
> TID 1
> extendedID P1A1B2C3D4E5
> orderID 1013
>
>
> Headers
> Content-type text/html
>
>
> Environment
> COMSPEC C:\WINNT\system32\cmd.exe
> DOCUMENT_ROOT c:/program files/nusphere/apache/nsdocs
> DOWNGRADE_1_0 1
> FORCE_RESPONSE_1_0 1
> GATEWAY_INTERFACE CGI/1.1
> HTTPS on
> HTTP_ACCEPT image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
> application/vnd.ms-excel, application/msword,
> application/vnd.ms-powerpoint, application/x-mediadna-xdna,
> application/x-mediadna-mdna, */*
> HTTP_ACCEPT_ENCODING gzip, deflate
> HTTP_ACCEPT_LANGUAGE en-us
> HTTP_CONNECTION Keep-Alive
> HTTP_COOKIE _SID_=2001071923582577725
> HTTP_HOST windows2000:9443
> HTTP_REFERER
> https://windows2000:9443/cgi-bin/WebKit.cgi/Examples/PEFunctions.py?rderID=1
> 013&extendedID=P1A1B2C3D4E5&TID=1
>
> HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)
> NOKEEPALIVE 1
> PATH C:\PROGRA~1\nusphere\perl\bin; C:\PROGRA~1\nusphere\perl\bin;
> C:\PROGRA~1\nusphere\mysql\bin; C:\Perl\bin\; c:\mksnt; C:\WINNT\system32;
> C:\WINNT; C:\WINNT\System32\Wbem; C:\PROGRA~1\buildit;
> C:\PROGRA~1\buildit; C:\Python20\; c:\vslick\win; C:\Program
> Files\Microsoft Visual Studio\Common\Tools\WinNT; C:\Program
> Files\Microsoft Visual Studio\Common\MSDev98\Bin; C:\Program
> Files\Microsoft Visual Studio\Common\Tools; C:\Program Files\Microsoft
> Visual Studio\VC98\bin
> PATH_INFO /Examples/LoginPage
> PATH_TRANSLATED c:\program files\nusphere\apache\nsdocs\examples\void.py
> QUERY_STRING orderID=1013&extendedID=P1A1B2C3D4E5&TID=1
> REMOTE_ADDR 192.168.0.1
> REMOTE_PORT 3243
> REQUEST_METHOD GET
> REQUEST_URI /cgi-bin/WebKit.cgi/Examples/LoginPage
> SCRIPT_FILENAME c:/program files/nusphere/apache/nscgi-bin/webkit.cgi
> SCRIPT_NAME /cgi-bin/WebKit.cgi
> SERVER_ADDR 192.168.0.1
> SERVER_ADMIN [EMAIL PROTECTED]
> SERVER_NAME localhost
> SERVER_PORT 9443
> SERVER_PROTOCOL HTTP/1.1
> SERVER_SIGNATURE Apache/1.3.20 Server at localhost Port 9443
> SERVER_SOFTWARE Apache/1.3.20 (Win32) mod_perl/1.25 mod_ssl/2.8.4
> OpenSSL/0.9.6 AuthNuSphere/1.0.0
> SSL_UNCLEAN_SHUTDOWN 1
> SYSTEMROOT C:\WINNT
> WINDIR C:\WINNT
>
>
> Ids
> name value
> getpid 872
>
>
>
>
> _______________________________________________
> Webware-discuss mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/webware-discuss
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/webware-discuss