Hi all,

 

I’ve just installed WebWare 0.8.1 and am trying to test some of the sample applications and I am getting a lot of errors.  I am running Windows XP and Python 2.3.4.

 

 

C:\Program Files\Webware-0.8.1\PSP\Examples\PSPDocs.psp

Traceback (most recent call last):
  File "WebKit\Application.py", line 415, in dispatchRequest
    self.handleGoodURL(transaction)
  File "WebKit\Application.py", line 563, in handleGoodURL
    self.createServletInTransaction(transaction)
  File "WebKit\Application.py", line 1047, in createServletInTransaction
    inst = self.getServlet(transaction,path,cache)
  File "WebKit\Application.py", line 990, in getServlet
    inst = factory.servletForTransaction(transaction)
  File "PSP\PSPServletFactory.py", line 181, in servletForTransaction
    clc.compile()
  File "PSP\PSPCompiler.py", line 53, in compile
    parser = PSPParser(self._ctxt)
  File "PSP\PSPParser.py", line 57, in __init__
    self.currentFile = self._reader.Mark().getFile()
  File "PSP\StreamReader.py", line 61, in getFile
    return self.reader.getFile(self.fileid)
AttributeError: Mark instance has no attribute 'reader'

 

 

 

And

 

C:\Program Files\Webware-0.8.1\PSP\Examples\my_include.psp

Traceback (most recent call last):
  File "WebKit\Application.py", line 415, in dispatchRequest
    self.handleGoodURL(transaction)
  File "WebKit\Application.py", line 563, in handleGoodURL
    self.createServletInTransaction(transaction)
  File "WebKit\Application.py", line 1056, in createServletInTransaction
    inst = self.getServlet(transaction, path)
  File "WebKit\Application.py", line 990, in getServlet
    inst = factory.servletForTransaction(transaction)
  File "PSP\PSPServletFactory.py", line 181, in servletForTransaction
    clc.compile()
  File "PSP\PSPCompiler.py", line 53, in compile
    parser = PSPParser(self._ctxt)
  File "PSP\PSPParser.py", line 57, in __init__
    self.currentFile = self._reader.Mark().getFile()
  File "PSP\StreamReader.py", line 61, in getFile
    return self.reader.getFile(self.fileid)
AttributeError: Mark instance has no attribute 'reader'