Opened 13 years ago

Closed 13 years ago

#3657 closed defect (fixed)

When no DB, MythtvFrontend displays nothing on the screen.

Reported by: anonymous Owned by: Nigel
Priority: minor Milestone: unknown
Component: mythtv Version: 0.18
Severity: low Keywords:
Cc: Ticket locked: no

Description

I've been talking to people on irc on #mythtv-users and it seems like a common problem, no one is able to compile a working frontend under OS X on x86 platform or even PPC. It actually compiles but whenever it is launched it just drops into the dock and no window is open. There is just a bar on top that read MythFrontend but nothing is displayed.

I tried using the osx-packager.pl from the contrib/OSX directory and even after fixing a few dead links in there, it compiles and creates the same executable that does nothing. I checked the output from configure in the mythtv and it is shown below for both osx-packager.pl insall and manual install. I also noticed that inside configure under configuration of darwin x11 is marked as no, so it's hard coded to disable x11, so what will provide some video output?

I tried manually setting it to yes and it did find x11 and began compiling but crapped out when it got to /mythtv/libs/libmyth/screensaver-x11.cpp as that file has include for X11/Xlib.h and X11/X.h and neither of those files are part of the standard x11 in OS X. I found both of those files in SDK of OS X and moved them to /usr/include/X11/ which caused different errors that ended make process.

When I run configure on mythtv I get the following output:

vadims-computer:~/src/trunk/mythtv vadim$ sudo ./configure --disable-distcc
Password:
Firewire being disabled. /Developer/FireWireSDK* missing
# Basic Settings
Compile type     release
Compiler cache   no
DistCC           no
Install prefix   /usr/local
CPU              x86_32 (Unknown Intel P6 Family)
big-endian       no
MMX enabled      yes

# Input Support
Joystick menu    default
lirc support     no
Apple Remote     yes
Video4Linux sup. no
ivtv support     no
FireWire support no
DVB support      no [/usr/include]
DBox2 support    yes
HDHomeRun sup.   yes
IPTV support     yes

# Sound Output Support
OSS support      no
ALSA support     no
aRts support     no
JACK support     no
DTS passthrough  no

# Video Output Support
x11 support      no
xrandr support   no
xv support       no
XvMC support     no
XvMC VLD support no
XvMC pro support no
XvMC OpenGL sup. no
Mac acceleration no
OpenGL vsync     no
DirectFB         no

# Misc Features
Frontend         yes
Backend          yes

# Bindings
bindings_perl    yes

Creating libs/libmyth/mythconfig.h and libs/libmyth/mythconfig.mak

As you can see "Video Output Support" has no for absolutely everything.

Whenever frontend is executed from bash in OS X it begins complaining about not being able to connect to mysql (it should as the ip of backend was not supplied to it yet) and the last three lines are as follows:

QFont::setPointSize: Point size <= 0 (0)
QFont::setPointSize: Point size <= 0 (0)
QFont::setPointSize: Point size <= 0 (0)

When I tried this precompiled frontend (.20-fixes branch from Dec of 2006) the same mysql errors are seen but than a window is launched which allows me to enter my backend information but since I'm running svn head for backend it won't work but at least a window is launched.

Change History (10)

comment:1 Changed 13 years ago by robsbox@…

I'm guessing (because I've yet to compile an SVN frontend for my mac mini -- and would prefer to d/l a binary ;), but perhaps you should run ./configure --help, and then set a few video and sound switches to "enable" before you compile?

comment:2 Changed 13 years ago by ryebrye@…

I also have this problem. in the configure under darwin) it explicitly disables X11... Enabling it causes a problem when building the ScreenSaverX11 file - looks like my QT may not have been build with X11 support perhaps? http://pastebin.ca/584130

In any case, it seems that all the sound and video output options are being diabled for the darwin builds, and that is consistent with the behavior of the ones I build (they launch but do nothing) and the nightly builds on sniperpad (they also launch but don't display anything -just a menu bar)

comment:3 Changed 13 years ago by Nigel

Resolution: worksforme
Status: newclosed
  1. MythTV has OS X native video output code (videoout_quartz.cpp). All the X11 output is meant to be disabled.
  1. The frontend first tires to connect to a database an backend on localhost (127.0.0.1). Running Console.app will show all the cannot connect error. After several minutes of trying, it should pop up the dialog box allowing you to enter the backend't IP address. If you don't want to wait this long, edit ~/.mythtv/mysql.txt before starting up MythFrontend.app

comment:4 Changed 13 years ago by anonymous

and this is normal?

e
QFont::setPointSize: Point size <= 0 (0)
QFont::setPointSize: Point size <= 0 (0)
QFont::setPointSize: Point size <= 0 (0)

comment:5 Changed 13 years ago by vadim

Resolution: worksforme
Status: closedreopened

this what is seen when I launch MythFrontend from terminal. I have Console.app running and nothing is displayed there at all. I cannot find this .mysql/mysql.txt file you speak of anywhere. Are you using the packager or building it yourself? I get the same result for both.

vadims-computer:/usr/local/bin vadim$ /usr/local/bin/mythfrontend 
2007-06-23 08:44:24.360 Using runtime prefix = /usr/local
QSqlDatabase: QMYSQL3 driver not loaded
QSqlDatabase: available drivers: QSQLITE
2007-06-23 08:44:24.361 New DB connection, total: 1
2007-06-23 08:44:24.362 Unable to connect to database!
2007-06-23 08:44:24.362 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:24.413 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:24.464 Unable to connect to database!
2007-06-23 08:44:24.464 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:24.514 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:24.564 Database not open while trying to load setting: GuiVidModeResolution
2007-06-23 08:44:24.564 Unable to connect to database!
2007-06-23 08:44:24.564 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:24.615 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:24.665 Database not open while trying to load setting: GuiVidModeWidth
2007-06-23 08:44:24.666 Unable to connect to database!
2007-06-23 08:44:24.666 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:24.716 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:24.766 Database not open while trying to load setting: GuiVidModeHeight
2007-06-23 08:44:24.768 Unable to connect to database!
2007-06-23 08:44:24.769 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:24.819 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:24.869 Database not open while trying to load setting: DisplaySizeResolution
2007-06-23 08:44:24.869 Unable to connect to database!
2007-06-23 08:44:24.869 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:24.919 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:24.969 Database not open while trying to load setting: DisplaySizeWidth
2007-06-23 08:44:24.969 Unable to connect to database!
2007-06-23 08:44:24.969 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:25.020 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:25.070 Database not open while trying to load setting: DisplaySizeHeight
2007-06-23 08:44:25.070 Unable to connect to database!
2007-06-23 08:44:25.070 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:25.120 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:25.170 Database not open while trying to load setting: TVVidModeResolution
2007-06-23 08:44:25.171 Unable to connect to database!
2007-06-23 08:44:25.171 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:25.221 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:25.271 Database not open while trying to load setting: TVVidModeWidth
2007-06-23 08:44:25.271 Unable to connect to database!
2007-06-23 08:44:25.271 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:25.321 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:25.371 Database not open while trying to load setting: TVVidModeHeight
2007-06-23 08:44:25.372 Unable to connect to database!
2007-06-23 08:44:25.372 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:25.422 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:25.472 Database not open while trying to load setting: VidModeResolution0
2007-06-23 08:44:25.472 Unable to connect to database!
2007-06-23 08:44:25.472 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:25.522 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:25.573 Database not open while trying to load setting: VidModeWidth0
2007-06-23 08:44:25.573 Unable to connect to database!
2007-06-23 08:44:25.573 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:25.623 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:25.673 Database not open while trying to load setting: VidModeHeight0
2007-06-23 08:44:25.673 Unable to connect to database!
2007-06-23 08:44:25.673 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:25.723 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:25.774 Database not open while trying to load setting: TVVidModeResolution0
2007-06-23 08:44:25.774 Unable to connect to database!
2007-06-23 08:44:25.774 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:25.824 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:25.874 Database not open while trying to load setting: TVVidModeWidth0
2007-06-23 08:44:25.874 Unable to connect to database!
2007-06-23 08:44:25.874 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:25.924 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:25.975 Database not open while trying to load setting: TVVidModeHeight0
2007-06-23 08:44:25.979 Unable to connect to database!
2007-06-23 08:44:25.979 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:26.029 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:26.079 Database not open while trying to load setting: UseVideoModes
2007-06-23 08:44:26.079 Total desktop dim: 1280x1024, with 1 screen[s].
2007-06-23 08:44:26.079 Unable to connect to database!
2007-06-23 08:44:26.079 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:26.130 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:26.180 Database not open while trying to load setting: XineramaScreen
2007-06-23 08:44:26.180 Unable to connect to database!
2007-06-23 08:44:26.180 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:26.230 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:26.280 Database not open while trying to load setting: RunFrontendInWindow
2007-06-23 08:44:26.281 Using screen 0, 1280x1024 at 0,0
2007-06-23 08:44:26.281 Unable to connect to database!
2007-06-23 08:44:26.281 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:26.331 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:26.381 Database not open while trying to load setting: Style
2007-06-23 08:44:26.382 Unable to connect to database!
2007-06-23 08:44:26.382 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:26.432 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:26.482 Database not open while trying to load setting: Theme
2007-06-23 08:44:26.482 Switching to square mode (blue)
2007-06-23 08:44:26.482 Unable to connect to database!
2007-06-23 08:44:26.482 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:26.533 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:26.583 Database not open while trying to load setting: GuiOffsetX
2007-06-23 08:44:26.583 Unable to connect to database!
2007-06-23 08:44:26.583 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:26.634 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:26.684 Database not open while trying to load setting: GuiOffsetY
2007-06-23 08:44:26.684 Unable to connect to database!
2007-06-23 08:44:26.684 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:26.734 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:26.784 Database not open while trying to load setting: GuiResolution
2007-06-23 08:44:26.784 Unable to connect to database!
2007-06-23 08:44:26.784 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:26.835 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:26.885 Database not open while trying to load setting: GuiWidth
2007-06-23 08:44:26.885 Unable to connect to database!
2007-06-23 08:44:26.885 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:26.936 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:26.986 Database not open while trying to load setting: GuiHeight
2007-06-23 08:44:26.989 Unable to connect to database!
2007-06-23 08:44:26.989 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:27.040 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:27.090 Database not open while trying to load setting: MenuTheme
2007-06-23 08:44:27.090 Unable to connect to database!
2007-06-23 08:44:27.090 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:27.140 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:27.190 Database not open while trying to load setting: QtFontBig
2007-06-23 08:44:27.190 Unable to connect to database!
2007-06-23 08:44:27.190 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:27.240 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:27.291 Database not open while trying to load setting: QtFontMedium
2007-06-23 08:44:27.291 Unable to connect to database!
2007-06-23 08:44:27.291 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:27.341 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:27.391 Database not open while trying to load setting: QtFontSmall
2007-06-23 08:44:27.395 Unable to connect to database!
2007-06-23 08:44:27.396 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:27.446 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:27.496 Database not open while trying to load setting: ThemePainter
2007-06-23 08:44:27.496 Using the Qt painter
2007-06-23 08:44:27.496 Unable to connect to database!
2007-06-23 08:44:27.496 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:27.547 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:27.598 Unable to connect to database!
2007-06-23 08:44:27.598 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:27.648 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:27.698 Unable to connect to database!
2007-06-23 08:44:27.698 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:27.749 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:27.799 Unable to connect to database!
2007-06-23 08:44:27.799 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:27.849 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:27.899 Unable to connect to database!
2007-06-23 08:44:27.899 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:27.950 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:28.000 Unable to connect to database!
2007-06-23 08:44:28.000 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:28.050 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:28.100 Unable to connect to database!
2007-06-23 08:44:28.100 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:28.151 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:28.201 Unable to connect to database!
2007-06-23 08:44:28.201 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:28.251 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:28.301 Unable to connect to database!
2007-06-23 08:44:28.301 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:28.351 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:28.402 Unable to connect to database!
2007-06-23 08:44:28.402 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:28.452 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:28.502 Unable to connect to database!
2007-06-23 08:44:28.502 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:28.552 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:28.602 Unable to connect to database!
2007-06-23 08:44:28.602 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:28.653 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:28.703 Unable to connect to database!
2007-06-23 08:44:28.703 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:28.753 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:28.803 Unable to connect to database!
2007-06-23 08:44:28.803 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:28.854 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:28.904 Unable to connect to database!
2007-06-23 08:44:28.904 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:28.954 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:29.004 Unable to connect to database!
2007-06-23 08:44:29.004 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:29.054 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:29.105 Unable to connect to database!
2007-06-23 08:44:29.105 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:29.155 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:29.205 Unable to connect to database!
2007-06-23 08:44:29.205 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:29.255 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:29.306 Unable to connect to database!
2007-06-23 08:44:29.306 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:29.356 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:29.406 Unable to connect to database!
2007-06-23 08:44:29.406 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:29.456 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:29.507 Unable to connect to database!
2007-06-23 08:44:29.507 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:29.557 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:29.607 Unable to connect to database!
2007-06-23 08:44:29.607 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:29.657 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:29.708 Unable to connect to database!
2007-06-23 08:44:29.708 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:29.758 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:29.808 Unable to connect to database!
2007-06-23 08:44:29.808 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:29.858 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:29.909 Unable to connect to database!
2007-06-23 08:44:29.909 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-06-23 08:44:29.959 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-06-23 08:44:30.009 Database not open while trying to load setting: Language
QFont::setPointSize: Point size <= 0 (0)
QFont::setPointSize: Point size <= 0 (0)
QFont::setPointSize: Point size <= 0 (0)

comment:6 Changed 13 years ago by vadim

Please close this ticket Nigel is correct the file is in ./mythtv/mysql.txt must have correct info, however I waited around an hour and no dialog box poped up to ask for info, when I edited it myself everything started working! Including HD stream on Apple Tv.

comment:7 Changed 13 years ago by Nigel

Milestone: unknown
Owner: changed from Isaac Richards to Nigel
Severity: mediumlow
Status: reopenednew
Summary: MythtvFrontend compilies under Mac OS X but nothing is displayed on the screen.When no DB, MythtvFrontend displays nothing on the screen.
Version: head0.18

comment:8 Changed 13 years ago by Nigel

(In [13759]) Allow default window to show if no database. See #3657

comment:9 Changed 13 years ago by anonymous

Problem was manifest on both Linux and Mac. Changeset 11174 changed the MythMainWindow initialization sequence. In the case of no database, it was being created without being initialised.

There is still an old problem, that if the DB address is not routable (e.g. set DBHostName to 1.2.3.4), it will take many minutes for all the connection attempts to time out. This can be reduced by putting MSqlQuery::testDBconnection() in key places (e.g. MythMainWindow::RegisterKey() and MythContextPrivate::PromptForDatabaseParams()), but that is a problem for another ticket.

comment:10 Changed 13 years ago by Nigel

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.