Re: freevo2 trunk: tvserver rpc address bind failure
Alain Péteut <[email protected]>
| Newsgroups | gmane.comp.video.freevo.devel |
|---|---|
| Message-ID | <[email protected]> |
----- Original Message ---- > From: Jonathan Isom <[email protected]> > To: [email protected] > Sent: Sun, August 1, 2010 1:54:53 AM > Subject: Re: [Freevo-devel] freevo2 trunk: tvserver rpc address bind failure > > On 7/30/10, Alain Péteut <[email protected]> wrote: > > Dear all, > > > > I'm running python 2.6 and had some trouble to start the tvserver: > > In kaa.base.socket > > sock.bind(addr), line 467, in listen > > I got the error > > socket.gaierror: [Error -2] Name or service not known > > > > with the configuration > > rpc.address = 'localhost':7600 > > or > > rpc.address = localhost:7600 > > or > > rpc.address = '::10':7600 > > > > rpc.address = 127.0.0.1:7600 > > leads to > > socket.error: [Error 22] Invalid argument > > > > The only way it worked was > > rpc.address = :7600 (defaults to localhost as well) > > > Have you tried a tuple: > rpc.address = ("localhost",7600) > > Not sure but it may work. With rpc.address = ("localhost",7600) : Traceback (most recent call last): File "/home/alain/freevo-test/bin/tvserver", line 193, in <module> tvserver.scheduler.listen() File "/home/alain/freevo-test/lib/python2.6/site-packages/tvserver/scheduler/__init__.py", line 11, in listen _server.listen() File "/home/alain/freevo-test/lib/python2.6/site-packages/tvserver/scheduler/rpc.py", line 64, in listen ip, port = config.rpc.address.split(':') I suspect it's related to socket.AF_INET6, despite the python doc say it should work as socket.AF_INET as well. > > Jonathan > > Best regards, > > Alain > > > > >------------------------------------------------------------------------------ > > The Palm PDK Hot Apps Program offers developers who use the > > Plug-In Development Kit to bring their C/C++ apps to Palm for a share > > of $1 Million in cash or HP Products. Visit us here for more details: > > http://p.sf.net/sfu/dev2dev-palm > > _______________________________________________ > > Freevo-devel mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/freevo-devel > > > > > -- > ASUS m3a78 motherboard > AMD Athlon64 X2 Dual Core Processor 6000+ 3.1Ghz > 4 Gigabytes of DDR2-800 > Gigabyte nVidia 9400gt Graphics adapter > Kworld ATSC 110 TV Capture Card > Kworld ATSC 115 TV Capture Card > > ------------------------------------------------------------------------------ > The Palm PDK Hot Apps Program offers developers who use the > Plug-In Development Kit to bring their C/C++ apps to Palm for a share > of $1 Million in cash or HP Products. Visit us here for more details: > http://p.sf.net/sfu/dev2dev-palm > _______________________________________________ > Freevo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/freevo-devel > ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm