Hello all,

I just downloaded the WebWare 0.6.1b1 and installed it along with Apache and 
mod_webkit on a Windows 2000 box.

There is however one problem. If I run http://localhost/webkit/, all the PSP examples 
work just fine. However, if I run a PSP page from the root directory of Apache, 
d:\apache\htdocs, psp:insert and psp:include refuse to work. I always get the 
following error message:

Traceback (most recent call last):
  File "WebKit\Application.py", line 348, in dispatchRequest
    self.handleGoodURL(transaction)
  File "WebKit\Application.py", line 496, in handleGoodURL
    self.respond(transaction)
  File "WebKit\Application.py", line 624, in respond
    transaction.respond()
  File "WebKit\Transaction.py", line 93, in respond
    self._servlet.respond(self)
  File "WebKit\HTTPServlet.py", line 37, in respond
    method(trans)
  File "WebKit\Page.py", line 34, in respondToGet
    self._respond(transaction)
  File "WebKit\Page.py", line 67, in _respond
    self.writeHTML()
  File "D:\Python21\Lib\Webware\WebKit\Cache\PSP\_apache_htdocs_include_psp.py", line 
41, in writeHTML
    self.transaction().application().includeURL(self.transaction(), __pspincludepath)
  File "WebKit\Application.py", line 597, in includeURL
    self.createServletInTransaction(trans)
  File "WebKit\Application.py", line 890, in createServletInTransaction
    cache = {
  File "d:\Python21\lib\ntpath.py", line 183, in getmtime
    st = os.stat(filename)
OSError: [Errno 2] No such file or directory: 
'd:/apache/htdocs\\include.pspd:/apache//WebSnippets/footer.inc'

Basically, if I don't run it under the WebKit location I configured in Apache, it 
completely messes up paths, and fails to do includes.

Did I forgot to configure something or is this just not working?

Cheers,


Pieter


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

Reply via email to