[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-myserver] python plugin manager
From: |
Giuseppe Scrivano |
Subject: |
Re: [Bug-myserver] python plugin manager |
Date: |
Fri, 08 Aug 2008 20:27:04 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
Hello,
The python symbols must be loaded globally. To ensure it (by default
a plugin is not loaded globally) you need to specify these lines in
the myserver.xml configuration file:
<PLUGIN namespace="executors" name="python">
<ENABLED>YES</ENABLED>
<GLOBAL>YES</GLOBAL>
</PLUGIN>
This is the same behaviour you get linking libpython2.5 directly to
the myserver executable instead of the python plugin as it should be.
Regards,
Giuseppe
"Daniele Perrone" <address@hidden> writes:
> Hello, I'm working on the python plugin to add the capability of call
> python callbacks from myserver. I've created a python class that
> manages a thread pool for execute the callbacks. At this point the
> work is in progress, but there is a linking problem when I attempt to
> load python plugin into myserver. Momentarily I solved it only linking
> libpython into myserver.
> 've attached the patch at this email, if there are ideas for resolve
> this issue they are welcome!!