Hi all,
  I am new to Webware and was recently trying to configure an
  application.  When I specified a new context line, I inadvertently
  did something like this:

        'myapp':   '/home/webkit/myapp/sitedir/',

  not realizing that I wasn't supposed to have the trailing / in the
  directory name.  When I attempted to run my web application, it came
  up with a traceback:

[Tue Jul  2 07:04:04 2002] [error] WebKit: Error while executing script 
/home/webkit/myapp/sitedir/auth/login.psp
Traceback (most recent call last):
  File "./WebKit/Application.py", line 390, in dispatchRequest
  File "./WebKit/Application.py", line 536, in handleGoodURL
  File "./WebKit/Application.py", line 991, in createServletInTransaction
  File "./WebKit/Application.py", line 918, in getServlet
  File "./PSP/PSPServletFactory.py", line 179, in servletForTransaction
  File "./PSP/PSPServletFactory.py", line 124, in createInstanceFromFile
  File "./WebKit/ServletFactory.py", line 94, in importAsPackage
  File "./WebKit/ServletFactory.py", line 130, in _importModuleFromDirectory
IOError: [Errno 2] No such file or directory: 
'/home/webkit/myapp/sitedir/uth/__init__.py'
    3  0.47 secs            /myapp/auth/login

  The problem is, as you may notice, that the a in 'auth' is somehow
  getting cut off.  When I compared my Application.config file to
  others I created (ones that worked), I realized the error.

  So, just reporting this to see if this is expected behavior and if
  not, submitting a bug report. ;)

Travis


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
No, I will not fix your computer.
http://thinkgeek.com/sf
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to