[mythtv-users] mythtv-setup does not create video sources

Jimmy Desai desaijay84 at yahoo.com
Sun Jun 18 19:48:11 UTC 2006


Hi,

  Thanks for getting back. Ok, so here's the answers to your queries:

> Do you use ivtv? If so, is  it loading properly? (Intense Red)

I'm using ivtv version 0.4.5-1. Yes, it's loading properly. I'm able to capture video and audio using " cat /dev/video0  > test.mpg ". As of now, I'm capturing the input from my coax cable (Tuner0). Just for reference, I'm running kernel 2.6.15-1-amd64-k8 (Debian Etch).

> Is the mythtv-setup program connecting to the database? ( Intense Red)

I think it is. (I have installed and configured MySQL. It's working properly, since I'm able to access it through my browser using "localhost". I've also setup the root password and supplied it to mythtv during configuration.) Here is the output when I start it up in a console:

2006-06-18 15:15:43.550 Using runtime prefix 2006-06-18 15:15:43.629 New DB connection, total: 1
2006-06-18 15:15:43.640 Connected to database 'mythconverg' at host: localhost
2006-06-18 15:15:43.644 Total desktop dim: 1280x1024, with 1 screen[s].
2006-06-18 15:15:43.648 Using screen 0, 1280x1024 at 0,0
2006-06-18 15:15:43.655 Current Schema Version:
2006-06-18 15:15:43.656 Newest Schema Version : 1123
2006-06-18 15:15:43.658 New DB connection, total: 2
2006-06-18 15:15:43.659 Connected to database 'mythconverg' at host: localhost
2006-06-18 15:15:43.660 Setting Lock for Database Schema upgrade. If you see a long pause here it means the Schema is already locked and is being upgraded by another Myth process.
2006-06-18 15:15:43.663 New DB connection, total: 3
2006-06-18 15:15:43.664 Connected to database 'mythconverg' at host: localhost
2006-06-18 15:15:43.665 Told to create a NEW database schema, but the database
already has 14 tables.
If you are sure this is a good mythtv database, verify
that the settings table has the DBSchemaVer variable.

2006-06-18 15:15:43.666 Database Schema upgrade FAILED, unlocking.
2006-06-18 15:15:43.685 Total desktop dim: 1280x1024, with 1 screen[s].
2006-06-18 15:15:43.688 Using screen 0, 1280x1024 at 0,0
2006-06-18 15:15:43.690 Switching to square mode (blue)
2006-06-18 15:15:44.778 DB Error (Insert Keybinding):
Query was:
INSERT INTO keybindings (context, action, description, keylist, hostname) VALUES ( 'Global', 'UP', 'Up Arrow', 'Up', 'amd64' );
Driver error was [2/1017]:
QMYSQL3: Unable to execute query
Database error was:
Can't find file: 'keybindings' (errno: 2)

2006-06-18 15:15:44.780 DB Error (Insert Keybinding):
Query was:
INSERT INTO keybindings (context, action, description, keylist, hostname) VALUES ( 'Global', 'DOWN', 'Down Arrow', 'Down', 'amd64' );
Driver error was [2/1017]:
QMYSQL3: Unable to execute query
Database error was:
Can't find file: 'keybindings' (errno: 2)

There are some errors here, but I don't know what they mean. Another thing that I found strange was that there is a whole bunch of lines which say the following:

2006-06-18 15:15:45.632 DB Error (Save new setting on host):
Query was:
INSERT INTO settings ( value, data, hostname ) VALUES ( 'Language', 'EN', 'amd64' );
Driver error was [2/1146]:
QMYSQL3: Unable to execute query
Database error was:
Table 'mythconverg.settings' doesn't exist

and also a lot of lines with this:

No error type from QSqlError?  Strange...
2006-06-18 15:16:20.964 DB Error (simpledbstorage update):
Query was:

No error type from QSqlError?  Strange...
2006-06-18 15:16:20.965 DB Error (simpledbstorage update):
Query was:

No error type from QSqlError?  Strange...

It seems to be compalining about the database, but I'm not sure whether this is normal or not. I've copied the output of the console into a text file. In the interest of keeping the email short, instead of copying it all here, I've put it up here: http://www.site.uottawa.ca/~jdesa066/mythtv-setup_output.txt

> Are running mythtvsetup in root mode (Mache)

I ran it as mythtv user. I tried it a couple of times but it didn't work. I removed and installed all the packages again. I even compiled them from the source (the source packages on debian-multimedia.org). I still get the same error. I even ran the setup as root. But I still get the same problem.

> Run mythtv-setup from a console window and then check (ALT-TAB) that console window when you are creating the sources to see if any errors are reported to the console. ( Kevin)

Yes, there are a whole bunch of errors being reported. Please see the description a little above. The output is available here: http://www.site.uottawa.ca/~jdesa066/mythtv-setup_output.txt

I hope that gives you a better idea of the problem occuring.

Thanks!
Jimmy

 		
---------------------------------
Do you Yahoo!?
 Get on board. You're invited to try the new Yahoo! Mail Beta.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20060618/65bb15b1/attachment.htm 


More information about the mythtv-users mailing list