[PEAK] a potential patch for zconfig_loader

Phillip J. Eby pje at telecommunity.com
Mon Jun 14 22:35:32 EDT 2004


At 03:06 PM 6/14/04 -0700, Dave Peticolas wrote:

>Hello, I've been trying to get a 'hello, world' example working for
>'peak EventDriven <zconfig file>' using a config file like:
>
>%import hello
>
>stopAfter 5
>
><Hello>
>   RunEvery 1
>   Priority 1
></Hello>
>
>My 'hello' package contains a component.xml definition for the Hello task,
>a simple extension of AdaptiveTask.
>
>I was encountering a traceback due, I believe, to the fact that the
>ZConfig.loader.ConfigLoader base class of load_zconfig.ConfigLoader
>was not being initialized. Attached is a patch that allowed me to get
>things working. The traceback below occurs without the patch.

Quick question: what version of ZConfig are you using?  The one included 
with PEAK, or a different one?




More information about the PEAK mailing list