Failed to lock to channel at boot

Bug #377050 reported by lpan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Me TV
Fix Released
Medium
Unassigned
me-tv (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: me-tv

I get that error only at the start of the program. Then I can click any channel and I watch it. Always. I can change channel without any problem.

With xine I never get the error.

I execute:

atc@pc1:~$ me-tv --disable-epg-thread --read_timeout=100
Me TV 0.8.12
15/05/09 20:32:00: Setting display channel to 'Canal Sur 2 Andalucia' (2)
15/05/09 20:32:00: Waiting for signal lock ...

and I get the error in about 10 seconds. I don't know if the read-timeout option is working. It happens with any channel.

My system: Ubuntu 9.04, Gnome
My tv tunner: AverMedia A16D (Hybrid)

Because of the error, I can't use Me-TV to record using crontab.

Great program, anyway.

Related branches

Revision history for this message
Michael Lamothe (lamothe-deactivatedaccount-deactivatedaccount) wrote :

The read_timeout option worked for me. What's the verbose output say?

Changed in me-tv (Ubuntu):
status: New → Incomplete
Revision history for this message
lpan (antovar) wrote :

This is:

atc@pc1: me-tv -v --disable-epg-thread --read_timeout=100
Me TV 0.8.12
19/05/09 19:35:51: Scanning DVB devices ...
19/05/09 19:35:51: Opening frontend device: /dev/dvb/adapter0/frontend0
19/05/09 19:35:51: Closing frontend device: /dev/dvb/adapter0/frontend0
19/05/09 19:35:51: Database 'exists'
19/05/09 19:35:51: Opening database file '/home/atc/.me-tv/me-tv.db'
19/05/09 19:35:51: Application constructor
19/05/09 19:35:51: sqlite3_threadsafe() = 1
19/05/09 19:35:51: Loading Glade file '/usr/share/me-tv/glade/me-tv.glade' ...
19/05/09 19:35:51: Application constructed
19/05/09 19:35:51: Initialising table 'version'
19/05/09 19:35:51: Required Database version: 2
19/05/09 19:35:51: Actual Database version: 2
19/05/09 19:35:51: Me TV database initialised successfully
19/05/09 19:35:51: Opening frontend device: /dev/dvb/adapter0/frontend0
19/05/09 19:35:51: Using 'Zarlink MT352 DVB-T' (/dev/dvb/adapter0/frontend0)
19/05/09 19:35:51: Loading channels ...
19/05/09 19:35:51: Loading channel 'Canal Sur TV'
19/05/09 19:35:51: Channel 'Canal Sur TV' added
19/05/09 19:35:51: Channel 'laSexta' added
19/05/09 19:35:51: Loading channel 'CUATRO'
19/05/09 19:35:51: Channel 'CUATRO' added
...
...
19/05/09 19:35:51: Channels loaded
19/05/09 19:35:51: Loading scheduled recordings
19/05/09 19:35:51: Scheduled recordings loaded
19/05/09 19:35:51: StatusIcon constructor started
19/05/09 19:35:51: StatusIcon constructed
19/05/09 19:35:51: MainWindow constructor
19/05/09 19:35:51: Setting integer combo box size to 0
19/05/09 19:35:51: MainWindow constructed
19/05/09 19:35:51: Setting geometry (645, 688, 286, 282)
19/05/09 19:35:52: Updating EPG
19/05/09 19:35:52: Setting integer combo box size to 2
19/05/09 19:35:52: EPG update complete
19/05/09 19:35:52: Stopping engine
19/05/09 19:35:52: Engine stopped
19/05/09 19:35:52: Setting display channel to 'CUATRO' (14)
19/05/09 19:35:52: Thread 'Stream' created
19/05/09 19:35:52: Creating StreamThread
19/05/09 19:35:52: StreamThread created
19/05/09 19:35:52: Removing demuxers
19/05/09 19:35:52: Waiting for signal lock ...
19/05/09 19:36:01: status: 0
19/05/09 19:36:01: currently tuned to freq -1076322748, symbol rate -1256421102, inner fec -1076322680
19/05/09 19:36:01: Exception: Failed to lock to channel
19/05/09 19:36:01: Destroying StreamThread
19/05/09 19:36:01: Removing demuxers
19/05/09 19:36:01: StreamThread destroyed
19/05/09 19:36:01: Poking screensaver
19/05/09 19:36:01: Checking scheduled recordings
19/05/09 19:36:01: Creating save thread
19/05/09 19:36:01: Thread 'Save Thread' created
19/05/09 19:36:01: Save thread running
19/05/09 19:36:01: Database 'exists'
19/05/09 19:36:01: Opening database file '/home/atc/.me-tv/me-tv.db'
19/05/09 19:36:01: Saving 0 scheduled recordings
19/05/09 19:36:01: Deleting old scheduled recordings
19/05/09 19:36:01: Scheduled recordings saved
19/05/09 19:36:01: Saving channels
19/05/09 19:36:01: Thread 'Save Thread' started
19/05/09 19:36:01: Updating EPG
19/05/09 19:36:01: EPG update complete
19/05/09 19:36:01: Saving channel 'Canal Sur TV'
19/05/09 19:36:01: Channel 'Canal Sur TV' saved
...
...

Revision history for this message
Michael Lamothe (lamothe-deactivatedaccount-deactivatedaccount) wrote :

Thanks to you verbose output I was able to see the point where I missed the read_timeout value. Revision 436 in the development branch. Does xine take a long time to change channels initially?

Changed in me-tv:
importance: Undecided → Medium
status: New → Confirmed
status: Confirmed → In Progress
Changed in me-tv:
status: In Progress → Fix Committed
Revision history for this message
Michael Lamothe (lamothe-deactivatedaccount-deactivatedaccount) wrote :

You have not responded, if this is not fixed in 0.8.13 then let us know.

Changed in me-tv:
status: Fix Committed → Fix Released
Changed in me-tv (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
lpan (antovar) wrote :

It works! I guess the timeout option is working so it gets the signal lock.

Thank you.

About your question, xine takes about 8 seconds to show the first channel and between 5 and 8 to change channels. I think it is similar to me-tv.

I hope you enhance the recording scheduler soon.

Thanks again.

Revision history for this message
Michael Lamothe (lamothe-deactivatedaccount-deactivatedaccount) wrote :

This was not reported against an Ubuntu Me TV version so I'm setting it to invalid.

Changed in me-tv (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package me-tv - 0.9.4-0ubuntu1

---------------
me-tv (0.9.4-0ubuntu1) karmic; urgency=low

  * New upstream release (LP: #379706)
    - Fix to stop EPG update crashing the application
      after faulty save (LP: #72872)
    - Fixed spin buttons from GtkBuilder conversion (LP: #382197)
    - Fixed icon on application popup menu (LP: #379685)
    - Fixed compiling of me-tv-0.8.12 fails on Fedora 11 (LP: #377020)
    - Fixed Failed to lock to channel at boot (LP: #377050)
    - Increased timeout to 5 seconds again (LP: #371165)
    - Fixed me-tv unusually slow, often freezes (LP: #351510)
    - Fixed channel persistence (LP: #361514)
    - Fix for forward slashes in description (LP: #359710)
    - Fixed Must create .me-tv directory manually (LP: #353796)
    - Fixed audio stream can't be changed (LP: #350402)
  * debian/control:
    - Removed dependency libxine1-ffmpeg, libxine1-x
    - Removed libglademm-2.4-dev Build-Depends.

 -- Scott Evans <email address hidden> Sat, 27 Jun 2009 00:46:22 +1000

Changed in me-tv (Ubuntu):
status: Invalid → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.