Hello

It seems there is some error in servletURI() method. I got

IndexError: string index out of range

when I call this method, but only when a servlet is requested without a servlet name (defaule main.py... is used), i.e.

http://localhost/WK/MyContext/

I use CVS version of Webware. Well, about three months old CVS version, so maybe it's fixed in current version, but just in case.

Stano Petko


Traceback:


Traceback (most recent call last):
  File "WebKit/Application.py", line 432, in dispatchRawRequest [edit]
  File "WebKit/Application.py", line 479, in runTransaction [edit]
  File "WebKit/Application.py", line 503, in runServlet [edit]
  File "WebKit/Servlet.py", line 41, in runTransaction [edit]
  File "Elisa/main.py", line 11, in awake [edit]
    ElisaPage.awake(self, transaction, subdirLevel=0)
  File "Elisa/core/ElisaPage.py", line 29, in awake [edit]
    print '@@@@@ servletURI():', self.request().servletURI()
  File "WebKit/HTTPRequest.py", line 355, in servletURI [edit]
IndexError: string index out of range


------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to