Dirk Meyer wrote:
John Molohan wrote:

Hello all,

I've seen various issues with this same error being posted over the
last 2 months. Only now I'm using python2.4 so it's come to my
immediate attention. I know Dischi mentioned in one post that he had
done a hack for ioctl in 2.0. Now the question is is it too much work
to patch up 1.5.3 should I try to revert to python2.4 or maybe try
freevo2.0? I've just set up my new box with a G400 and PVR-150 so I
really want to get this resolved quickly but in the long term support
for python2.4 is probably a must even for the 1.5 series.


Maybe there is good solution, mine is only a hack. I added the
follwoing function to Freevo 2.0

def ioctl(fd, code, *args, **kargs):
    if code > sys.maxint:
        code = int(~(-code % sys.maxint) - 1)
    return fcntl.ioctl(fd, code, *args, **kargs)

Every ioctl in Freevo doesn't use the fcntl.ioctl directly, I use the
wrapper every time.

It seems to work. So If someone adds this function to util and
replaces all ioctl usage, it should work. A patch is welcome (I don't
use 2.4 so I have no idea if it works).

I guess we need a 1.5.4 that works on Python 2.4. Can someone help me
here? I'm very busy with CVS Freevo and would prefer someone else
sending patches for this.


Dischi


Right I've had a couple of patches to submit for 1.5.3 for a while now, recordserver frequency fix, one for tvtime. I've also tinkered with a new skin specifically for 720x576 so if I find the time over the next while I'll try put all these together and look at the python2.4 issue. The only problem is I've very basic programming skills and on top of that I only know python by looking through freevo's source. So be prepared for some questions if I do get stuck into this cause I've a feeling I'll be out of my depth. If someone else wants to step in instead please do.

John



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to