Frank Barknecht wrote:
> Ian Bicking hat gesagt: // Ian Bicking wrote:
>>There's also some small changes to MakeAppWorkDir.py, so you can set up
>>the Wiki (in svn://w4py.org/Wiki) like:
>>MakeAppWorkDir -c Wiki -d ~/w4py.org/Wiki/Context -l ~/w4py.org/Wiki \
>>And no further configuration should be required. (It would be nice to
>>allow things like --AppServer.Port=9000, and have it update
>>AppServer.config as well, but not for now.)
> I tried this but I'm having troubles installing it correctly. Using
> exactly your command above I get this error when trying to start the
> ### start ...
> WebKitPath = /home/fbar/webware/Webware/Webware/WebKit
> WebwarePath = /home/fbar/webware/Webware/Webware
> serverSidePath = /home/fbar/WikiWorkDir
> Current directory: /home/fbar/WikiWorkDir
> Loading context: Examples at /home/fbar/webware/Webware/Webware/WebKit/Examples
> Loading context: Wiki at /home/fbar/w4py.org/Wiki/Context
> Loading context: Testing at /home/fbar/webware/Webware/Webware/WebKit/Testing
> Loading context: Admin at /home/fbar/webware/Webware/Webware/WebKit/Admin
> Default context aliases to: Wiki
> Session Sweeper started
> Plug-ins list: /home/fbar/webware/Webware/Webware/COMKit, /home/fbar/webware/Webware/Webware/MiddleKit, /home/fbar/webware/Webware/Webware/MiscUtils, /home/fbar/webware/Webware/Webware/PSP, /home/fbar/webware/Webware/Webware/TaskKit, /home/fbar/webware/Webware/Webware/UserKit, /home/fbar/webware/Webware/Webware/WebUtils
> Loading plug-in: COMKit at /home/fbar/webware/Webware/Webware/COMKit
> Plug-in /home/fbar/webware/Webware/Webware/COMKit cannot be loaded because:
> Required op sys is ['nt'], but actual op sys is posix.
> Loading plug-in: MiddleKit at /home/fbar/webware/Webware/Webware/MiddleKit
> Traceback (most recent call last):
> File "./WebKit/AppServer.py", line 264, in loadPlugIn
> File "./WebKit/PlugIn.py", line 101, in install
> File "./MiddleKit/__init__.py", line 17, in InstallInWebKit
> File "./WebKit/Application.py", line 699, in addContext
> File "./WebKit/URLParser.py", line 191, in addContext
> File "./MiddleKit/WebBrowser/__init__.py", line 18, in contextInitialize
> File "./MiddleKit/WebBrowser/MixIns.py", line 148, in ?
> File "./MiddleKit/WebBrowser/MixIns.py", line 145, in InstallMixIns
> AssertionError: Could not mix-in ObjectStore.
> ERROR: Plug-in /home/fbar/webware/Webware/Webware/MiddleKit raised exception.
Well that's a stumper. I don't get that error. I assume 'from
MiddleKit.Core.ObjectStore import ObjectStore' is somehow failing, but I
don't know why. It seems like it must be unrelated. I'd suggest
putting in a print statement to look into those ImportErrors that are
getting caught in MixIns.py.
The other errors should now be fixed in CVS.