Bugs item #1588310, was opened at 2006-11-01 01:02
Message generated for change (Comment added) made by duncanwebb
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1588310&group_id=46652

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: freevoweb
Group: 1.x svn
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Justin Wetherell (phishman3579)
Assigned to: Nobody/Anonymous (nobody)
Summary: Crash adding new favorite in WWW plugin

Initial Comment:
2006/10/31 18:55 EST [HTTPChannel,0,192.168.0.3] PROG:
Tue 2006-10-31 19:30->20:00  I14899.labs.zap2it
.com Golf With Style
2006/10/31 18:55 EST [HTTPChannel,0,192.168.0.3]
Traceback (most recent call last):
          File
"/usr/lib/python2.4/site-packages/twisted/protocols/basic.py",
line 223, in dataReceive
d
            why = self.lineReceived(line)
          File
"/usr/lib/python2.4/site-packages/twisted/protocols/http.py",
line 965, in lineReceived
            self.allContentReceived()
          File
"/usr/lib/python2.4/site-packages/twisted/protocols/http.py",
line 1006, in allContentR
eceived
            req.requestReceived(command, path, version)
          File
"/usr/lib/python2.4/site-packages/twisted/protocols/http.py",
line 557, in requestRecei
ved
            self.process()
        --- <exception caught here> ---
          File
"/usr/lib/python2.4/site-packages/twisted/web/server.py",
line 165, in process
            self.render(resrc)
          File
"/usr/lib/python2.4/site-packages/twisted/web/server.py",
line 172, in render
            body = resrc.render(self)
          File
"/usr/local/freevo/src/www/web_types.py", line 73, in
render
            return self._render(request)
          File
"/usr/local/freevo/src/www/htdocs/edit_favorite.rpy",
line 176, in _render
            fav = Favorite(prog.title, prog, TRUE,
TRUE, TRUE, priority)
          File
"/usr/local/src/freevo-1.7/src/tv/record_types.py",
line 163, in __init__
            self.channel =
tv_util.get_chan_displayname(prog.channel_id)
          File
"/usr/local/src/freevo-1.7/src/util/tv_util.py", line
117, in get_chan_displayname
            tv_channel_id, tv_display_name, tv_tuner_id
= vals[:3]
        exceptions.ValueError: need more than 2 values
to unpack

----------------------------------------------------------------------

>Comment By: Duncan Webb (duncanwebb)
Date: 2006-11-01 09:40

Message:
Logged In: YES 
user_id=104395

It looks like this is a problem with your local_conf and
TV_CHANNELS. You need at least 3 items for each channel and
it looks like you only have two.

"ValueError: need more than 2 values to unpack"

Here's a snip from mine.

TV_CHANNELS = [
    ('C1.sfdrs.ch',     u'SF 1', 'K05'),
    ('C2.sfdrs.ch',     u'SF 2', 'K10'),
    ('sfi.sfdrs.ch',    u'SFinfo', 'K35'),
    ('C3plus.tv',       u'3+', 'S15'),
    ('bloomberg.com',   u'Bloomberg', 'S23'),
    ('eurosport.de',    u'Eurosport', 'S17'),
...
]

Have you also updated your local_conf for freevo-1.x, there
are some changes to the server stuff.
freevo convert_config will do this for you.

BTW src/util/tv_util.py hasn't changed for a while.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1588310&group_id=46652

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to