webware-discuss

I've made a couple small additions to CVS. You can now write your
configuration files like Python modules, e.g.:
#AppServer.config
PrintConfigAtStartUp = True
Verbose = True
Host = '127.0.0.1'
#instead of
{
'PrintConfigAtStartUp': 1,
'Verbose': 1,
'Host': '127.0.0.1',
}
The % substitutions are now replaced by having variables present, like:
Context['Admin'] = WebKitPath + '/Admin'
You're free to use any other Python you care for as well, e.g.,
os.environ().
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.)
Lastly, AutoReload now isn't triggered by updating servlet files (which
can generally be safely reloaded).
Cheers.
--
Ian Bicking / ianb@... / http://blog.ianbicking.org

Hallo,
Ian Bicking hat gesagt: // Ian Bicking wrote:
> 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.
I played a bit more with that yesterday evening, and after I upgraded
Debian stable to testing and thus to Python 2.3 the first errors went away.
> The other errors should now be fixed in CVS.
Thank you a lot, I will test and report tomorrow.
Ciao
--
Frank Barknecht _ ______footils.org__