If Application.config contains a nonexistent context, Webware CVS throws the following--rather cryptic--exception, and does not actually identify what the missing context is:

Traceback (most recent call last):
  File "WebKit/ThreadedAppServer.py", line 704, in run
  File "WebKit/ThreadedAppServer.py", line 71, in __init__
  File "WebKit/AutoReloadingAppServer.py", line 56, in __init__
  File "WebKit/AppServer.py", line 86, in __init__
  File "WebKit/AppServer.py", line 209, in createApplication
  File "WebKit/Application.py", line 92, in __init__
  File "/opt/Webware/WebKit/URLParser.py", line 112, in __init__
    self.addContext(name, dir)
  File "/opt/Webware/WebKit/URLParser.py", line 180, in addContext
    mod = imp.load_module(name, *res)
TypeError: load_module() argument after * must be a sequence


I think it makes more sense for a warning naming the missing context to be printed to the console, and then for loading to continue.


...Edmund.



-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to