On Fri, 2004-08-20 at 01:43, Bruno Tavares wrote:
> Hi Mick and Nicolas,
> 
> Nicolas, this mail is going for you because i think you can help us out
> here.
> Me and Mick are trying to use our fresh plugin cd_burn.py ( a copy is
> attached so that you can test it).
> For me it works fine, for Mick, the first helper command executed goes
> defunct and i has to restart freevo to get back to normal operations.
> 
I think I have found the root cause, but I do not understand why..
Folowwing a breif convo on freevo-devel with Jasan Tack. I wrote a
helper do burn a cd from the command line, and from the command line it
works fine.. (using the *exact* same code that is in the plugin).

I added os.waitpid(-1,WNOHANG) as per Jasons request, and what I found
was that when running the code as a plugin from freevo run_child is not
aware of the child, even though its pollign it!

See my latest mail to the devel list for the sample code and output..

I'm stumped as to what could be happening here..  Maybe if the issue was
only evident when booting into freevo I could ake a guess at whats going
wrong.. But in this case they are both run from command line..

> The only difference between our setups seems to be the Python version:
> Mick is running 2.3.3 and i'm running 2.2.3-7.

I think freevo 1.5.0 *needs* 2.3 python..

> This get's even stranger because Mick tried out your dvdcopy plugin and
> he gets the same behaviour.

Now I know python is loosing its childs..  But I still have sweet fa
ideas as too why..

> We both have the util.popen3 patch to set gpid.
> Please tryout our plugin (if you have a burner, but , who doesnt? :) )
> and let us know the outcome.
> 
The pope3 changes should only affect 'stoppin' the code.. ie in
shutdown() and stop() functions..



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to