Thanks for that Duncan,

I did find the problem though, I had a typo in the line:
export PYTHONPATH=~/freevo/lib/python2.6/site-packages

I had missed the 's' of the site-packages .... my bad :-(

Cheers,
Bernie

2009/6/10 Duncan Webb <dun...@freevo.org>

> Jason Tackaberry wrote:
> > 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?
>
>
> What it means is that freevo has not found the version of Python that is
> installed, it is looking for python, python2 and incorrectly for
> python2.4. So the simple workaround is to link python (or python2) to
> the installed version.
>
> ln -svf python2.5 /usr/bin/python
>
> Attached is a patch that should fix this problem and correct the version
> checking of python.
>
> Duncan
>
>
> ------------------------------------------------------------------------------
> 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
>
>
------------------------------------------------------------------------------
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

Reply via email to