[lxml-dev] Error with thread

Frédéric Mantegazza mantegazza at ill.fr
Tue Oct 30 08:39:41 CET 2007


Le mardi 30 octobre 2007 08:33, Frédéric Mantegazza a écrit :

> Ok, I think I found the problem, but not the solution. I'm using lxml in
> a client/server app, based on Pyro. The first time I instanciate all my
> XSLT filters, I'm in a the main thread. Then, I can use them in other
> threads, and it works fine.
>
> But I have some commands to create a new session in the DataManger, and I
> then re-instanciate all XSLT filters (with different params). But here,
> I'm not in the main thread anymore! And it seems that if XSLT filters are
> instanciated in threads, they can't be used in other thread.
>
> Is this analyse correct? Is there a workarround ?

Sorry, I didn't see the answer from Stefan, as answers posted on the list 
and at my personnal address are only sent to my personnal address ; I 
didn't see it in the dozain of other messages... BTW, why this behaviour? 
This is the only ML like this (I use other Mailman lists, and I 
administrate some)...

-- 
   Frédéric


More information about the lxml-dev mailing list