RE: A Post's Categories

Georg Bauer <gb-BRhJDZTO+/[email protected]> Sat, 27 Mar 2004 22:14:55 +0100
Newsgroups gmane.comp.pythin.pyds.devel
Message-ID <r02010100-1028-CBD9A70C803311D8A517000A9573A72A@[10.0.0.145]>
Hi!

> unexpected trouble there. I can import
> Pyds from a python shell, but very little that I was expecting to see 
> exposed (eg, the things I can see via
> xmlrpc) was there. Does this sound right?

Yep, importing isn't the way to go. Usually you use

> What is 'the monitor'?

that one :-)

You just set the monitorport to some usefull value and monitorpassword
to a desired password. Restart PyDS. Then you use

pyds-debug

this will start a monitor client - a medusa thingy that allows you to
directly inject Python code into the running server. You just do:

from __main__ import *
from PyDS.Tool import getTool

weblog = getTool('weblog')

and you have a WeblogTool instance in your weblog variable and can play
with that one as if you were part of the running server.

bye, Georg