Bugs item #1582577, was opened at 2006-10-23 01:07
Message generated for change (Comment added) made by duncanwebb
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1582577&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: program guide
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Justin Wetherell (phishman3579)
Assigned to: Nobody/Anonymous (nobody)
Summary: Crashes while watching TV
Initial Comment:
While trying to select a program to watch from the
guide, it crashes with this error:
USING STANDARD FREQUENCY: chan="2", freq="55250"
Video Opened at /dev/video0
Traceback (most recent call last):
File "/usr/local/src/freevo-1.6/src/main.py", line
321, in eventhandler
app.eventhandler(event)
File "/usr/local/src/freevo-1.6/src/menu.py", line
425, in eventhandler
if not isinstance(menu, Menu) and
menu.eventhandler(event):
File "/usr/local/src/freevo-1.6/src/tv/tvguide.py",
line 211, in eventhandler
self.player('tv', self.selected.channel_id)
File "/usr/local/src/freevo-1.6/src/tv/tvmenu.py",
line 100, in start_tv
plugin.getbyname(plugin.TV).Play(mode, tuner_id)
File
"/usr/local/src/freevo-1.6/src/tv/plugins/ivtv_xine_tv.py",
line 95, in Play
self.tuner.SetChannel(self.mode, tuner_channel)
File
"/usr/local/src/freevo-1.6/src/tv/plugins/ivtv_xine_tv.py",
line 220, in SetChannel
ivtv_dev.setvbiembed(0)
File "/usr/local/src/freevo-1.6/src/tv/ivtv.py", line
168, in setvbiembed
r = fcntl.ioctl(self.device, i32(SETVBI_EMBED_NO),
struct.pack(VBI_EMBED_ST, value))
IOError: [Errno 22] Invalid argument
osd.py (211): Couldnt load font "Arial_Bold.ttf"
osd.py (217): trying alternate: verabd.ttf
ivtv_xine_tv.py (120): 1161558139.5: tv app got
INPUT_ENTER event
Crash!
Traceback (most recent call last):
File "/usr/local/src/freevo-1.6/src/main.py", line
498, in ?
MainTread().run()
File "/usr/local/src/freevo-1.6/src/main.py", line
358, in run
self.eventhandler(rc.get_event(True))
File "/usr/local/src/freevo-1.6/src/main.py", line
308, in eventhandler
if not rc.app()(event):
File
"/usr/local/src/freevo-1.6/src/tv/plugins/ivtv_xine_tv.py",
line 138, in eventhandler
self.tuner.TuneChannel( int(s_event[6]) )
ValueError: invalid literal for int(): E
----------------------------------------------------------------------
>Comment By: Duncan Webb (duncanwebb)
Date: 2006-10-23 07:10
Message:
Logged In: YES
user_id=104395
Need some more information about your system.
kernel version, ivtv version and tv card.
I know that the tv card is a pvr-350. Between drivers 0.4.x
and 0.8.x the tuner number has moved from 4 to 0.
setvbiembed call is not very forgiving when the wrong input
is used.
ivtvctl -nP list the input and the current setting and my
local_conf.py has:
TV_DRIVER = 'v4l2'
TV_DEVICE = '/dev/video0'
TV_INPUT = 4
and
VideoGroup(vdev='/dev/video0',
adev='/dev/adsp',
input_type='tuner',
input_num=4,
tuner_norm=CONF.tv,
tuner_chanlist=CONF.chanlist,
desc='PVR-350 Video Group',
group_type='ivtv',
record_group=None),
AFAIK The videogroup setting overrides the earlier TV settings.
----------------------------------------------------------------------
Comment By: Richard van Paasen (rvpaasen)
Date: 2006-10-23 03:18
Message:
Logged In: YES
user_id=182311
Or, did you add INPUT_ENTER to the TV_EVENTS ?
I couldn't reproduce this bug.
----------------------------------------------------------------------
Comment By: Richard van Paasen (rvpaasen)
Date: 2006-10-23 03:07
Message:
Logged In: YES
user_id=182311
Is your lirc setup correctly? It is probably sending
repeating ENTER events when you press the button once. You
should set repeat=0 in the lirc config, e.g.:
begin
prog = freevo
remote = pvr
button = enter
config = ENTER
repeat = 0
end
Apart from that, doing "self.tuner.TuneChannel(
int(s_event[6]) )" without checking for a valid char is the
bug that causes a crash.
Have to fix this.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1582577&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
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-devel