Bugs item #1582577, was opened at 2006-10-22 16:07
Message generated for change (Comment added) made by sf-robot
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: Closed
Resolution: Fixed
Priority: 5
Private: No
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: SourceForge Robot (sf-robot)
Date: 2006-11-09 19:20
Message:
Logged In: YES
user_id=1312539
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
----------------------------------------------------------------------
Comment By: Duncan Webb (duncanwebb)
Date: 2006-10-26 15:02
Message:
Logged In: YES
user_id=104395
In rel-1-6 at r8477 I've added some exception handling that
should cope with old ivtv drivers.
An easy test is to run
ivtvctl --set-vbi-embed=1
The driver is okay if it returns:
ioctl IVTV_IOC_S_VBI_EMBED ok
vbi embedded in MPEG stream set to 1
The driver is broken if it returns:
ioctl IVTV_IOC_S_VBI_EMBED failed: Invalid argument
This only works upto driver version ivtv-0.7.x. Later
versions use v4l2 calls and the v4l2-ctl command.
----------------------------------------------------------------------
Comment By: ehisey (ehisey)
Date: 2006-10-25 01:16
Message:
Logged In: YES
user_id=1021609
Use lspci to confirm that you are using an ivtv compatible
card. I was getting this crash think my hauppauge card was a
pvr 150, when this paticular car was actually a WinTV GO card.
You could also use lsmod to see if the bttv drivers are
loading.
----------------------------------------------------------------------
Comment By: Duncan Webb (duncanwebb)
Date: 2006-10-22 22: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-22 18: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-22 18: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