Author Topic: "MythTV is ready. However ..." Repeats constantly - SOLVED  (Read 4495 times)

madness

  • Making baby steps
  • Posts: 3
    • View Profile
"MythTV is ready. However ..." Repeats constantly - SOLVED
« on: December 10, 2010, 11:32:00 am »
Hi, Comrades! :)

810-snapshot for 05.12.2010
Core/Hybrid with 2 tuners TT-budget S-1500
MD with 2 tuners TT-budget S-1500

In pre-pre-previous installation everything was OK about it, but...

Problem:
After installing tuners in MythTV Setup, I continuesly get theese messages:
"MythTV is ready. However ..."
[ OK ]

and
"It will take about few minutes to retreive your channel listings. ...."
[ OK ]

After every reload system tells me (box in left-top corner of screen), it has added all my tuners. Again.

I can scan channels, it's ok, but after exiting from Setup, TV almost can not work (well, few times by couple seconds there was picture), seems, those messages appears each time backend restarts or mythfilldatabase runs and restarts backend.

Here is part of MythTV-Plugin log:

Code: [Select]
05 12/10/10 13:15:09.760 MythTV_PlugIn::CMD_Sync_Providers_and_Cards cardid 0 is invalid <0x7ccccb90>
01 12/10/10 13:15:09.766 Query failed (You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''dcerouter),' at line 1): INSERT INTO `capturecard`(videodevice,cardtype,defaultinput,hostname) VALUES ('/dev/dvb/adapter0/frontend0','DVB','DVBInput', 'dcerouter),   (1) <0x7ccccb90>
05 12/10/10 13:15:09.766 Resetting db_wrapper connection <0x7ccccb90>
01 12/10/10 13:15:09.767 Query failed (You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''dcerouter),' at line 1): INSERT INTO `capturecard`(videodevice,cardtype,defaultinput,hostname) VALUES ('/dev/dvb/adapter0/frontend0','DVB','DVBInput', 'dcerouter),   (1) <0x7ccccb90>
05 12/10/10 13:15:09.767 Resetting db_wrapper connection <0x7ccccb90>
01 12/10/10 13:15:09.767 Query failed (): INSERT INTO `capturecard`(videodevice,cardtype,defaultinput,hostname) VALUES ('/dev/dvb/adapter0/frontend0','DVB','DVBInput', 'dcerouter),   retry: 0 <0x7ccccb90>
05 12/10/10 13:15:09.768 MythTV_PlugIn::CMD_Sync_Providers_and_Cards cardid 0 is invalid <0x7ccccb90>
01 12/10/10 13:15:09.770 Query failed (You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''dcerouter),' at line 1): INSERT INTO `capturecard`(videodevice,cardtype,defaultinput,hostname) VALUES ('/dev/dvb/adapter0/frontend0','DVB','DVBInput', 'dcerouter),   (1) <0x7ccccb90>
05 12/10/10 13:15:09.770 Resetting db_wrapper connection <0x7ccccb90>
01 12/10/10 13:15:09.770 Query failed (You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''dcerouter),' at line 1): INSERT INTO `capturecard`(videodevice,cardtype,defaultinput,hostname) VALUES ('/dev/dvb/adapter0/frontend0','DVB','DVBInput', 'dcerouter),   (1) <0x7ccccb90>
05 12/10/10 13:15:09.770 Resetting db_wrapper connection <0x7ccccb90>
01 12/10/10 13:15:09.770 Query failed (): INSERT INTO `capturecard`(videodevice,cardtype,defaultinput,hostname) VALUES ('/dev/dvb/adapter0/frontend0','DVB','DVBInput', 'dcerouter),   retry: 0 <0x7ccccb90>
05 12/10/10 13:15:09.772 MythTV_PlugIn::CMD_Sync_Providers_and_Cards cardid 0 is invalid <0x7ccccb90>
01 12/10/10 13:15:09.773 Query failed (You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''moon58),' at line 1): INSERT INTO `capturecard`(videodevice,cardtype,defaultinput,hostname) VALUES ('/dev/dvb/adapter0/frontend0','DVB','DVBInput', 'moon58),   (1) <0x7ccccb90>
05 12/10/10 13:15:09.773 Resetting db_wrapper connection <0x7ccccb90>
01 12/10/10 13:15:09.773 Query failed (You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''moon58),' at line 1): INSERT INTO `capturecard`(videodevice,cardtype,defaultinput,hostname) VALUES ('/dev/dvb/adapter0/frontend0','DVB','DVBInput', 'moon58),   (1) <0x7ccccb90>
05 12/10/10 13:15:09.773 Resetting db_wrapper connection <0x7ccccb90>
01 12/10/10 13:15:09.773 Query failed (): INSERT INTO `capturecard`(videodevice,cardtype,defaultinput,hostname) VALUES ('/dev/dvb/adapter0/frontend0','DVB','DVBInput', 'moon58),   retry: 0 <0x7ccccb90>
05 12/10/10 13:15:09.775 MythTV_PlugIn::CMD_Sync_Providers_and_Cards cardid 0 is invalid <0x7ccccb90>
01 12/10/10 13:15:09.776 Query failed (You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''moon58),' at line 1): INSERT INTO `capturecard`(videodevice,cardtype,defaultinput,hostname) VALUES ('/dev/dvb/adapter0/frontend0','DVB','DVBInput', 'moon58),   (1) <0x7ccccb90>
05 12/10/10 13:15:09.776 Resetting db_wrapper connection <0x7ccccb90>
01 12/10/10 13:15:09.777 Query failed (You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''moon58),' at line 1): INSERT INTO `capturecard`(videodevice,cardtype,defaultinput,hostname) VALUES ('/dev/dvb/adapter0/frontend0','DVB','DVBInput', 'moon58),   (1) <0x7ccccb90>
05 12/10/10 13:15:09.777 Resetting db_wrapper connection <0x7ccccb90>
01 12/10/10 13:15:09.777 Query failed (): INSERT INTO `capturecard`(videodevice,cardtype,defaultinput,hostname) VALUES ('/dev/dvb/adapter0/frontend0','DVB','DVBInput', 'moon58),   retry: 0 <0x7ccccb90>


I understand, the error is in absence of ' after 'moon58 and 'dcerouter in the end of each line, but i can not find a way to fix it.
It cannot be that I am the one, who has such problem... Any ideas how to deal with it?
« Last Edit: December 17, 2010, 03:16:15 pm by madness »

coley

  • Guru
  • ****
  • Posts: 492
    • View Profile
Re: "MythTV is ready. However ..." Repeats constantly
« Reply #1 on: December 10, 2010, 04:27:31 pm »
In Webadmin, go to Advanced -> Configuration -> Device Templates
Then select the one for your tuner TT-budget S-1500, i.e. pick template number #2078
pick device template and look at the default value for the config string (#59), the tick as you have spotted is missing from after <%=HOST%> at the end of the insertion command, put it in, save the template.
Now at the next router reload the devices will be detected and actually get inserted into the Mythconverg db

They should not be re-detected on each re-load any more.

-Coley.

MANDINGO

  • Guru
  • ****
  • Posts: 204
    • View Profile
Re: "MythTV is ready. However ..." Repeats constantly
« Reply #2 on: December 11, 2010, 12:13:51 am »
 ;D  Seems i have a typo thanks for that catch and i will fix and put into sqlcvs for the builds to come

Thanks

Mandingo
For a Current List of Plug and Play Capture Cards/Devices
http://wiki.linuxmce.org/index.php/Capture_Cards

madness

  • Making baby steps
  • Posts: 3
    • View Profile
Re: "MythTV is ready. However ..." Repeats constantly
« Reply #3 on: December 17, 2010, 03:15:37 pm »
Hi guys!!!!

:) SOLVED - sounds sooo sweet...

Coley: Thank's! It works now.
MANDINGO: I'm happy to help ;)

Insert string for TT-1500 template now looks like this:
Code: [Select]
INSERT INTO `capturecard`(videodevice,cardtype,defaultinput,hostname) VALUES ('/dev/dvb/adapter0/frontend0','DVB','DVBInput','<%=HOST%>');
Well, universe doesn't want my life to become TOO sweet ;) I explain:
By some reason, first (1 of 2) DVB-card on each machine duplicates, or even triplicates.
I.e. I see 2 cards in MythTV Setup, but "max recordings" = 3 on first card, even if i set it to 1, after exiting setup it turns back to 3.
...But I'd better create another post for this problem...

Thank's again!