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: Jason Tackaberry <[email protected]>
> To: [email protected]
> Sent: Tue, August 3, 2010 10:14:42 PM
> Subject: Re: [Freevo-devel] freevo2 trunk: tvserver rpc address bind failure
> 
> Hi Alain,
> 
> On Sun, 2010-08-01 at 02:47 -0700, Alain Péteut wrote:
> >  With rpc.address =   ("localhost",7600) :
> > 
> > Traceback (most  recent call last):
> [...]
> 
> Can you provide the complete  traceback?
Sure:

alain@localhost:~/freevo-test/lib/python2.6/site-packages/tvserver/scheduler$ 
cat log 

WARNING config(1078): 'Config' object has no attribute 'dvb0': dvb0.priority = 
<default: 9>
WARNING config(1078): 'Config' object has no attribute 'dvb0': dvb0.activate = 
<default: True>
WARNING config(1078): 'Config' object has no attribute 'dvb0': dvb0.plugin = 
<default: mplayer>
INFO conflict(139): start conflict resolving
INFO conflict(195): finished conflict resolving
INFO controller(131): schedule recordings
DEBUG sockets(397): Replacing dead unix socket at /tmp/kaa-1000/('localhost', 
7600)
*** 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(':')
ValueError: need more than 1 value to unpack

Configuration:
...
# | IP address and port to use for inter-process communication
rpc.address =  ('localhost', 7600)
...

I'm running Python 2.6 (debian squeeze(testing)):

python -V
Python 2.6.5+

Kind regards,
Alain

> 
> Thanks,
> Jason.
> 
> 
> ------------------------------------------------------------------------------
> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.