On Tue, 2009-06-09 at 09:06 +1200, Bernard Mentink wrote: > Hmmm, well that is not my user experience. [...] > File "/usr/local/bin/freevo", line 218, in get_python > child.fromchild.close() > AttributeError: 'Popen' object has no attribute 'fromchild'
Ah, ok, but this has nothing to with the fact that the popen2 module is deprecated. Just for the record. :) >From what I can see, the code just looks broken. Duncan, subprocess.Popen is not API compatible with popen2.Popen3, and it looks like maybe the code is assuming that. Specifically, subprocess.Popen objects use stdout/stderr and stdin attributes rather than fromchild and tochild. Am I missing something? If not, this code path must not be very well travelled? Is there something Bernard can do to workaround? Cheers, Jason. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users