I think I've come across a small initialization bug in MiddleKit. When
kicking off AppServer in a WebKit work directory created by
MakeAppWorkDir.py, MiddleKit fails with the following error message:

traceback (most recent call last):
  File "/opt/Webware/WebKit/AppServer.py", line 188, in loadPlugIn plugIn.install()
  File "/opt/Webware/WebKit/PlugIn.py", line 101, in install 
self._module.InstallInWebKit(self._appServer)
  File "/opt/Webware/MiddleKit/__init__.py", line 13, in InstallInWebKit assert 
mkPathVia__file__==mkPathViaAppServer, '
\nmkPathVia__file__=%r\nmkPathViaAppServer=%r\n' % (
AssertionError:
mkPathVia__file__='/opt/Webware/MiddleKit'
mkPathViaAppServer='/home/elian/MiddleKit'

ERROR: Plug-in /opt/Webware/MiddleKit raised exception.


To my inexperienced eyes, it looks like the path formed for
mkPathViaAppServer is not using the information provided by variable
AppWorkDir (which is set to '/home/elian/WebwareTest' in my OneShot.cgi
file.

...Edmund.


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

Reply via email to