Hi,

When trying the Auto Detect Channels link in the webconfig I get this 
traceback:

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/twisted/protocols/basic.py", 
line 232, in dataReceived
    why = self.lineReceived(line)
  File "/usr/lib/python2.5/site-packages/twisted/web/http.py", line 
1004, in lineReceived
    self.allContentReceived()
  File "/usr/lib/python2.5/site-packages/twisted/web/http.py", line 
1045, in allContentReceived
    req.requestReceived(command, path, version)
  File "/usr/lib/python2.5/site-packages/twisted/web/http.py", line 601, 
in requestReceived
    self.process()
--- <exception caught here> ---
  File "/usr/lib/python2.5/site-packages/twisted/web/server.py", line 
160, in process
    self.render(resrc)
  File "/usr/lib/python2.5/site-packages/twisted/web/server.py", line 
167, in render
    body = resrc.render(self)
  File "/usr/lib/python2.5/site-packages/freevo/www/web_types.py", line 
99, in render
    return self._render(request)
  File "/usr/share/freevo/htdocs/configedit.rpy", line 405, in _render
    str_channels = '%r' % config.detect_channels()
  File "/usr/lib/python2.5/site-packages/freevo/config.py", line 971, in 
detect_channels
    chanlist.sort(f)
  File "/usr/lib/python2.5/site-packages/freevo/config.py", line 970, in 
<lambda>
    f = lambda a, b: cmp(int(a[2]), int(b[2]))
<type 'exceptions.ValueError'>: invalid literal for int() with base 10: 
'BBC2'

My TV_CHANNELS are:

TV_CHANNELS = [('rte-1.rte.ie',              'RTE1',               'A11'),
               ('rte2.rte.ie',               'NET2',               'A7'),
               ('utvlive.com',               'UTV',                'A13'),
               ('channel4.com',              'Channel4',           'A3'),
               ('south-east.bbc1.bbc.co.uk', 'BBC1',               'A17'),
               ('south-east.bbc2.bbc.co.uk', 'BBC2',               'A18'),
               ('tv3.ie',                    'TV3',                'A9'),
               ('sky-one.sky.com',           'SKY1',               'A19'),
               ('tg4.ie',                    'TG4',                'A15'),
               ('e4.channel4.com',           'E4',                 'A5'),
               ('paramountcomedy.com',       'Paramount',          'A22'),
               ('2.setanta.com',             'Setanta',            'A20'),
               ('discoveryeurope.com',       'Discovery',          'A1'),
               ('mtv.co.uk',                 '6',                'A21'),
               ('livingtv.co.uk',            'Living',             'A32'),
               ('sky-news.sky.com',          'Sky News',           'A24')
              ]

John

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to