MythTV

Postate qui se avete consigli per migliorare i pacchetti disponibili in questo sito o se avete problemi con installazione, funzionamento o altro.

Moderatore: Staff

Regole del forum
1) Citare in modo preciso il nome del pacchetto.
2) Specificare se discussione/suggerimento o richiesta d'aiuto.
3) Leggere attentamente le risposte ricevute
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.

La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.
Rispondi
Avatar utente
linus.bash
Linux 3.x
Linux 3.x
Messaggi: 976
Iscritto il: ven 10 feb 2006, 12:58
Località: Bologna
Contatta:

MythTV

Messaggio da linus.bash »

Ho installato i TGZ di :

mythtv-0.19-i486-1sal.tgz
mythplugins-0.19-i486-1sal.tgz
libcdaudio-0.99.12p2-i486-1sal.tgz
lame-3.97b2-i486-1sl.tgz
jack-audio-connection-kit-0.100.0-i486-2sl.tgz

Ricevo questo errore ed il prg non si apre :


""

No error type from QSqlError? Strange...
2006-05-06 16:29:59.706 Database not open while trying to save setting: Language
2006-05-06 16:29:59.707 Unable to connect to database!
2006-05-06 16:29:59.707 Driver error was [1/2002]:
QMYSQL3: Unable to connect
Database error was:
Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2)

QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2006-05-06 16:29:59.758 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError? Strange...
2006-05-06 16:30:07.879 Unable to connect to database!
2006-05-06 16:30:07.879 Driver error was [1/2002]:
QMYSQL3: Unable to connect
Database error was:
Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2)

QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2006-05-06 16:30:07.938 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError? Strange...
2006-05-06 16:30:07.991 Failed to init MythContext, exiting.

""

Avatar utente
gohanz
Staff
Staff
Messaggi: 5832
Iscritto il: mar 30 nov 2004, 0:00

Messaggio da gohanz »

Ti mancano QtSql e il driver/Plugin Qt
Non sono presenti in download, però proprio ieri ho mandato i due pacchetti a Loris, in quanto mi servivano per una altro programma.
Aspetta che li metta disponibili

Avatar utente
linus.bash
Linux 3.x
Linux 3.x
Messaggi: 976
Iscritto il: ven 10 feb 2006, 12:58
Località: Bologna
Contatta:

Messaggio da linus.bash »

Appena messo, ciao.

Avatar utente
linus.bash
Linux 3.x
Linux 3.x
Messaggi: 976
Iscritto il: ven 10 feb 2006, 12:58
Località: Bologna
Contatta:

Messaggio da linus.bash »

L'errore continua ad esserci :

...ecco il finale :

QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2006-05-09 18:33:16.495 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError? Strange...
2006-05-09 18:33:16.547 Database not open while trying to load setting: GuiVidModeResolution
2006-05-09 18:33:16.548 Unable to connect to database!
2006-05-09 18:33:16.548 Driver error was [1/2002]:
QMYSQL3: Unable to connect
Database error was:
Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2)

QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2006-05-09 18:33:25.224 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError? Strange...
2006-05-09 18:33:33.034 Unable to connect to database!
2006-05-09 18:33:33.034 Driver error was [1/2002]:
QMYSQL3: Unable to connect
Database error was:
Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2)

QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2006-05-09 18:33:33.084 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError? Strange...
2006-05-09 18:33:33.136 Failed to init MythContext, exiting.

Avatar utente
gohanz
Staff
Staff
Messaggi: 5832
Iscritto il: mar 30 nov 2004, 0:00

Messaggio da gohanz »

Hai installato tutto? quindi QtSql, il Plugin Qt e Sqlite!

Avatar utente
linus.bash
Linux 3.x
Linux 3.x
Messaggi: 976
Iscritto il: ven 10 feb 2006, 12:58
Località: Bologna
Contatta:

Messaggio da linus.bash »

gohanz ha scritto:Hai installato tutto? quindi QtSql, il Plugin Qt e Sqlite!
ho installato QtSql, Sqlite e Qsqlite...dove sbaglio?


comunque stasera reinstallo e riprovo ma non capisco dov'è l'errore.

Ciao.

Avatar utente
l1q1d
Master
Master
Messaggi: 1862
Iscritto il: lun 21 feb 2005, 0:00
Località: In uno spazio n-dimesionale
Contatta:

Messaggio da l1q1d »

potrebbe essere un problema di incopatibilita' delle versioni...

Avatar utente
gohanz
Staff
Staff
Messaggi: 5832
Iscritto il: mar 30 nov 2004, 0:00

Messaggio da gohanz »

Non funziona neanche a me, :roll:,

Avatar utente
gohanz
Staff
Staff
Messaggi: 5832
Iscritto il: mar 30 nov 2004, 0:00

Messaggio da gohanz »

Pensavo che si servisse di Sqlite, invece usa MySql. Quindi ti tocca configurare il DataBASe

Riprendo un passo di S4D!
Poi ti conviene usare una guida.
8.16. Eliminare il messaggio "mySQL ended"
Per eliminare il messaggio "mySQL ended" all'avvio del programma bisogna abilitarlo: si tratta della prima operazione da fare se si vuole adoperare questo database. È necessario in prima istanza scegliere uno dei quattro file /etc/my.huge.conf, /etc/my.large.conf, /etc/my.medium.conf, /etc/my.small.conf e copiarlo sempre in /etc rinominandolo /etc/my.conf. La scelta dipende dalle dimensioni che intendiamo attribuire al nostro database. Quindi bisogna lanciare in sequenza i seguenti comandi: 1) mysql_install_db, 2) cd /var/lib, 3) chown -R mysql mysql/, 4) chgrp -R mysql mysql/. In tal modo mySQL viene attivato. Eccede dalla presenta trattazione l'uso di questo database.

Rispondi