Hallo,
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 \
> ~/WikiWorkDir
>
> 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
./AppServer:
### 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.
Exiting AppServer
### end
Also I had some other problem with using MakeAppWorkDir the
old-fashioned way. Mote: ~/tester did *not* exist prior to this
command, although MakeApp tells us so:
$ bin/MakeAppWorkDir.py --cvsignore -l lib ~/tester/
Creating directory tree at /home/fbar/tester
/home/fbar/tester already exists.
/home/fbar/tester/Cache created.
/home/fbar/tester/Configs created.
/home/fbar/tester/ErrorMsgs created.
/home/fbar/tester/Logs created.
/home/fbar/tester/Sessions created.
Copying files.
/home/fbar/tester/404Text.txt
/home/fbar/tester/AppServer
/home/fbar/tester/WebKit.cgi
Creating launcher scripts.
/home/fbar/tester/Launch.py created.
/home/fbar/tester/WebKit.cgi updated.
Creating default context.
Traceback (most recent call last):
File "bin/MakeAppWorkDir.py", line 488, in ?
mawd.buildWorkDir()
File "bin/MakeAppWorkDir.py", line 105, in buildWorkDir
self.makeDefaultContext()
File "bin/MakeAppWorkDir.py", line 229, in makeDefaultContext
if not os.path.exists(contextDir):
UnboundLocalError: local variable 'contextDir' referenced before assignment
Ciao
--
Frank Barknecht _ ______footils.org__
-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss