[mythtv] mythtv fails to retrieve key bindings

Tobias Preclik mythtv at tobias.preclik.de
Wed Mar 8 08:09:47 UTC 2006


Hi,

my mythtv installation fails to read the key bindings from the database.
the database contents are new and seem to be correct. if you want to
judge yourself have a look at the db dump:
http://tobias.preclik.de/mythconverg.sql

when i start mythtv-setup (mythtv-r8907) it starts up asks me those two
questions and then seems to freeze. the reason for that is that mythtv
fails to retrieve the keybindings afaik. in particular libmyth's
MythMainWindow::RegisterKey(). everything works fine until the
query.value(0).toString() calls. value() returns a QVariant which is of
type QDateTime. The call of toString() afterwards fails and the qt
prints the error message "QTime::fromString: Parameter out of range" -
though mythtv keeps running. (but somehow the stdout/err seem to be
"dead" - no more io is possible. stepping through the code still works
though.). when looking at the db dump one can see that the keylist
fields in the keybindings table are of type varchar(32). i suspect that
all db writings succeed but all readings fail.

i am using gentoo and have mysql-4.14 and qt-3.3.4 installed. other
gentoo users seem to have the same problem:
http://forums.gentoo.org/viewtopic-t-438882.html

i have a tcpdump of a mythtv-setup session ready:
http://tobias.preclik.de/mythtv-session.tcpdump

and a mysqld log at:
http://tobias.preclik.de/mysql.log

and now i am quite clueless. is it qt's fault? as far as i can tell the
qt mysql driver should support mysql 4.1. or maybe is it some thread
synchronisation issue? are the gentoo specific patches buggy?

i hope you can help me. i'm currently recompiling qt in debug mode but i
doubt i can find the problem myself.

greets
tobias




-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20060308/1a6f9057/attachment.pgp 


More information about the mythtv-dev mailing list