[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-myserver] python plugin manager
From: |
Daniele Perrone |
Subject: |
Re: [Bug-myserver] python plugin manager |
Date: |
Sat, 9 Aug 2008 11:45:40 +0200 |
Thanks a lot, now it works without linking directly libpython to myserver;)
On Fri, Aug 8, 2008 at 8:27 PM, Giuseppe Scrivano <address@hidden> wrote:
> 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!!
>
--
Perrone Daniele