onsdag den 28. april 2010

Custom pipeline stages with python

Here's a little guide on howto start making your own pipeline stages in python.

  1. Create a configuration xml file for the stage in esp\etc\processors
  2. Create a python code file for the processor in esp\lib\python2.3\processors
  3. Restart the config server to have the GUI include the new stage (nctrl restart configserver)
  4. Reset psctrl to compile the python to a pyc (psctrl reset)
  5. Sometimes 4. is not enough to build the pyc, so I also use (nctrl restart procserver_1 procserver_2 ... procserver_x) to make another build attempt.

Ingen kommentarer:

Send en kommentar