[TransWarp] InvocationError with ZConfigInterpreter
Phillip J. Eby
pje at telecommunity.com
Wed Aug 27 21:36:27 EDT 2003
At 06:10 PM 8/27/03 -0700, John Landahl wrote:
>A ZConfig-based app has been working fine up until doing a CVS update today.
>Attached (and pasted below) is the traceback I get when running the app like
>so: peak ZConfig config.xml foo.conf
>
>Could recent changes in peak.running.commands have broken ZConfigInterpreter,
>or am I again running into a strange library installation problem?
I'd have to guess it's an installation problem; mine works fine.
> FWIW,
>I've uninstalled and reinstalled PEAK a couple of times to try to rule this
>out; I also dug around a bit in commands.py but things look as they should
>from my limited perspective, and 'peak test' turns up no problems.
Try:
peak ZConfig path/to/peak/running/EventDriven.xml simple.conf
Where 'simple.conf' contains:
#==============
StopAfter 10
<CleanupFiles>
RunEvery 1
Priority 1
Directory .
MatchFiles foobar.baz
DeleteIfOlderThan 50d
</CleanupFiles>
#==============
That should run silently for ten seconds and then exit. If it does, then
there's something weird with your specific files/application. If it
doesn't, your installation is hosed, because mine works with this test.
More information about the PEAK
mailing list