MythTV 0.27 on Mavericks 10.9

For discussion of topics specific to MythTV on OSX
Post Reply
amuso
Newcomer
Posts: 2
Joined: Mon Feb 24, 2014 6:39 pm
Norway

MythTV 0.27 on Mavericks 10.9

Post by amuso »

Hi

I'm doing a first time fresh install of MythTV 0.27 on Mac OS X 10.9

I've installed MySQL-server 5.1 64-bit and created a "mythtv" user and database "mythconverg" according to the documentation at:

http://www.mythtv.org/wiki/MythTV_on_Mac_OS_X

I can connect to the database fine:

Code: Select all

$ /usr/local/mysql/bin/mysql -u mythtv -p mythconverg
Enter password: 
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 65
Server version: 5.1.73 MySQL Community Server (GPL)
When I run MythTV-Setup from Applications I get presented with a location chooser and language chooser. I choose the default which match my country fine. After a second or two I get prompted the same question again and click Save once more. The setup application then finishes.

When I attempt to start MythFrontend I get an error telling me the database is 10 schema versions too old. It suggest running "mythtv-setup" or "mythbackend". Doing so does not help.

I can see that MythTV is populating the database with some data:

Code: Select all

mysql> show tables;
+---------------------------+
| Tables_in_mythconverg     |
+---------------------------+
| capturecard               |
| cardinput                 |
| channel                   |
| channelgroup              |
| channelgroupnames         |
| channelscan               |
| channelscan_channel       |
| channelscan_dtv_multiplex |
| codecparams               |
| credits                   |
| customexample             |
| diseqc_config             |
| diseqc_tree               |
| displayprofilegroups      |
| displayprofiles           |
| dtv_multiplex             |
| dtv_privatetypes          |
| dvdbookmark               |
| dvdinput                  |
| dvdtranscode              |
| eit_cache                 |
| filemarkup                |
| housekeeping              |
| inputgroup                |
| internetcontent           |
| internetcontentarticles   |
| inuseprograms             |
| iptv_channel              |
| jobqueue                  |
| jumppoints                |
| keybindings               |
| keyword                   |
| livestream                |
| logging                   |
| mythlog                   |
| oldfind                   |
| oldprogram                |
| oldrecorded               |
| people                    |
| pidcache                  |
| playgroup                 |
| powerpriority             |
| profilegroups             |
| program                   |
| programgenres             |
| programrating             |
| recgrouppassword          |
| record                    |
| recorded                  |
| recordedartwork           |
| recordedcredits           |
| recordedfile              |
| recordedmarkup            |
| recordedprogram           |
| recordedrating            |
| recordedseek              |
| recordfilter              |
| recordingprofiles         |
| recordmatch               |
| scannerfile               |
| scannerpath               |
| settings                  |
| storagegroup              |
| tvchain                   |
| tvosdmenu                 |
| upnpmedia                 |
| videocast                 |
| videocategory             |
| videocollection           |
| videocountry              |
| videogenre                |
| videometadata             |
| videometadatacast         |
| videometadatacountry      |
| videometadatagenre        |
| videopart                 |
| videopathinfo             |
| videosource               |
| videotypes                |
+---------------------------+
79 rows in set (0.00 sec)
Any help is very much appreciated. Thanks.
amuso
Newcomer
Posts: 2
Joined: Mon Feb 24, 2014 6:39 pm
Norway

Re: MythTV 0.27 on Mavericks 10.9

Post by amuso »

I've found a way forward, and now I'm just getting

"Can't connect to main server - MythContext"

once the frontend starts.

I opened a console and performed these tasks to achieve progress:

Code: Select all

LANG=en_US.UTF-8
export LANG
/usr/local/mysql/bin/mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root -p mysql
/Applications/MythBackend.app/Contents/MacOS/MythBackend

No setting found for this machine's BackendServerIP.
Please run setup on this machine and modify the first page
of the general settings.
2014-02-24 19:52:27.221319 C  mythbackend version: fixes/0.27 [v0.27-159-g9bf1070] www.mythtv.org
2014-02-24 19:52:27.221540 C  Qt version: compile: 4.8.5, runtime: 4.8.5
2014-02-24 19:52:27.221561 N  Enabled verbose msgs:  general
2014-02-24 19:52:27.221578 N  Setting Log Level to LOG_INFO
2014-02-24 19:52:27.233591 I  Added logging to the console
2014-02-24 19:52:27.234592 I  Setup Interrupt: 2 handler
2014-02-24 19:52:27.234630 I  Setup Terminated: 15 handler
2014-02-24 19:52:27.234644 I  Setup Segmentation fault: 11 handler
2014-02-24 19:52:27.234653 I  Setup Abort trap: 6 handler
2014-02-24 19:52:27.234664 I  Setup Bus error: 10 handler
2014-02-24 19:52:27.234676 I  Setup Floating point exception: 8 handler
2014-02-24 19:52:27.234686 I  Setup Illegal instruction: 4 handler
2014-02-24 19:52:27.234884 N  Using runtime prefix = /Applications/MythBackend.app/Contents/Resources
2014-02-24 19:52:27.234896 N  Using configuration directory = /Users/mythtv/.mythtv
2014-02-24 19:52:27.235151 I  Assumed character encoding: en_US.UTF-8
2014-02-24 19:52:27.237201 N  Empty LocalHostName.
2014-02-24 19:52:27.237211 I  Using localhost value of MythMac.local
2014-02-24 19:52:27.288811 N  Setting QT default locale to nb_NO
2014-02-24 19:52:27.288859 I  Current locale nb_NO
2014-02-24 19:52:27.288947 E  No locale defaults file for nb_NO, skipping
2014-02-24 19:52:27.297094 I  Current MythTV Schema Version (DBSchemaVer): 1317
2014-02-24 19:52:27.298206 E  Error Loading nb translation for module mythfrontend
2014-02-24 19:52:27.346498 I  New Client:  (#1)
I've tried to wipe the database and rerun setup and the above steps without any luck...
User avatar
pvr4me
Senior
Posts: 763
Joined: Fri Feb 07, 2014 7:25 pm
Location: near Toronto, Canada
Contact:
Canada

Re: MythTV 0.27 on Mavericks 10.9

Post by pvr4me »

amuso wrote:I'm doing a first time fresh install of MythTV 0.27 on Mac OS X 10.9...

When I run MythTV-Setup from Applications I get presented with a location chooser and language chooser. I choose the default which match my country fine. After a second or two I get prompted the same question again and click Save once more. The setup application then finishes. ...
For reasons I don't understand, MythTV-setup.app sometimes fails to show you the main menu after country/language selections. There are several more steps that must be finished in MythTV-setup.app before starting the backend and frontend. If you look in Console.app (/Applications/Utilities) you should see log entries for mythtv-setup by using the filter box. That may help us determine why you're not seeing the main menu of the setup application. Section 9 on the following page describes the configuration that needs to be done through MythTV-setup:

http://www.mythtv.org/wiki/MythTV-HOWTO

Craig
Formerly the MacPorts guy.
sergea29
Junior
Posts: 34
Joined: Wed Aug 06, 2014 2:41 pm
Canada

Re: MythTV 0.27 on Mavericks 10.9

Post by sergea29 »

Hello,

I am tying to install MythTV and having the same problem. Based on the info in the console there seems to be an issue with the font being used. By the way I am pretty new at this type of stuff so my knowledge is pretty basic.

2014-08-06 10:00:09.847 AM MythTV-Setup[418]: CoreText performance note: Client called CTFontCreateWithName() using name "Arial" and got font with PostScript name "ArialMT". For best performance, only use PostScript names when calling this API.
2014-08-06 10:00:09.847 AM MythTV-Setup[418]: CoreText performance note: Set a breakpoint on CTFontLogSuboptimalRequest to debug.
2014-08-06 10:00:11.649 AM MythTV-Setup[418]: CoreText performance note: Client called CTFontCreateWithName() using name "Liberation Sans" and got font with PostScript name "LiberationSans". For best performance, only use PostScript names when calling this API.
2014-08-06 10:00:11.651 AM MythTV-Setup[418]: CoreText performance note: Client called CTFontCreateWithName() using name "Liberation Sans" and got font with PostScript name "LiberationSans". For best performance, only use PostScript names when calling this API.
2014-08-06 10:00:11.651 AM MythTV-Setup[418]: CoreText performance note: Client called CTFontCreateWithName() using name "Liberation Sans" and got font with PostScript name "LiberationSans". For best performance, only use PostScript names when calling this API.
2014-08-06 10:00:11.652 AM MythTV-Setup[418]: CoreText performance note: Client called CTFontCreateWithName() using name "Liberation Sans" and got font with PostScript name "LiberationSans". For best performance, only use PostScript names when calling this API.
2014-08-06 10:00:11.654 AM MythTV-Setup[418]: CoreText performance note: Client called CTFontCreateWithName() using name "Arial" and got font with PostScript name "ArialMT". For best performance, only use PostScript names when calling this API.
2014-08-06 10:00:11.666 AM MythTV-Setup[418]: CoreText performance note: Client called CTFontCreateWithName() using name "Liberation Sans" and got font with PostScript name "LiberationSans". For best performance, only use PostScript names when calling this API.
2014-08-06 10:00:11.667 AM MythTV-Setup[418]: CoreText performance note: Client called CTFontCreateWithName() using name "Liberation Sans" and got font with PostScript name "LiberationSans". For best performance, only use PostScript names when calling this API.
2014-08-06 10:00:12.901 AM MythTV-Setup[418]: CoreText performance note: Client called CTFontCreateWithName() using name "Liberation Sans" and got font with PostScript name "LiberationSans". For best performance, only use PostScript names when calling this API.
2014-08-06 10:00:17.795 AM com.apple.launchd.peruser.501[236]: (org.osx-bundler.MythTV-Setup.61632[418]) Exited with code: 153[/i][/i]

Thanks
User avatar
pvr4me
Senior
Posts: 763
Joined: Fri Feb 07, 2014 7:25 pm
Location: near Toronto, Canada
Contact:
Canada

Re: MythTV 0.27 on Mavericks 10.9

Post by pvr4me »

The font messages are all harmless. I would guess that you're having problems connecting to the database. Please check the rest of the log. Note that in Console.app, you can filter for MythTV-Setup's messages by typing 'setup' in appropriate box.

Craig
Formerly the MacPorts guy.
User avatar
pvr4me
Senior
Posts: 763
Joined: Fri Feb 07, 2014 7:25 pm
Location: near Toronto, Canada
Contact:
Canada

Re: MythTV 0.27 on Mavericks 10.9

Post by pvr4me »

BTW, I've been trying to beat the drum for the last 2 years that MacPorts is the way to go if you want to run the backend on OS X. (The bundled frontend is great if you already have a backend.) However, two of you have chosen the bundled backend just recently. Were you aware of the MacPorts option before you started? (Now that you've gone this far, it is a pain to undo some of that and restart with MacPorts...)

Just curious.

Craig
Formerly the MacPorts guy.
sergea29
Junior
Posts: 34
Joined: Wed Aug 06, 2014 2:41 pm
Canada

Re: MythTV 0.27 on Mavericks 10.9

Post by sergea29 »

Hello Craig,

Thanks for the answer. Unfortunately for the log that is as far as the setup gets. How much trouble is it start over on with MacPorts. As for the bundle, I just followed the recommended 0.27.3 one from Mythtv.org. Is there a 0.27.3 from Macports?

Serge
User avatar
pvr4me
Senior
Posts: 763
Joined: Fri Feb 07, 2014 7:25 pm
Location: near Toronto, Canada
Contact:
Canada

Re: MythTV 0.27 on Mavericks 10.9

Post by pvr4me »

sergea29 wrote: Thanks for the answer. Unfortunately for the log that is as far as the setup gets. How much trouble is it start over on with MacPorts. As for the bundle, I just followed the recommended 0.27.3 one from Mythtv.org. Is there a 0.27.3 from Macports?
Ah. No, MacPorts is at 0.27.1 for the time being; the key difference being some live tv fixes. I need to catch up to some infrastructure changes at MacPorts before I can update the all-in-one installer. Hopefully soon-ish.

I presume you've installed MySQL from a .dmg. You need to use the System Preferences>MySQL panel to shut down that version of MySQL. Last I looked, the .dmg did not provide an uninstaller. Lacking that, it can leave remnants that confuse the MacPorts install. The key one I know of is a configuration file (/etc/my.conf from memory) that the MacPorts-installed-MySQL finds and uses. And ends up pointing the MySQL socket to the wrong place. Deleting/renaming that file seemed to work for another user.

After that, it should be just follow the cookbook...

Craig
Formerly the MacPorts guy.
sergea29
Junior
Posts: 34
Joined: Wed Aug 06, 2014 2:41 pm
Canada

Re: MythTV 0.27 on Mavericks 10.9

Post by sergea29 »

Thanks alot for the quick response.
I am installing MythTv for live TV so i guess i will think about what will be my next step. I am trying to go OTA and cancel my cable subscription but it is not going as easily as i would have hoped.

Serge
User avatar
pvr4me
Senior
Posts: 763
Joined: Fri Feb 07, 2014 7:25 pm
Location: near Toronto, Canada
Contact:
Canada

Re: MythTV 0.27 on Mavericks 10.9

Post by pvr4me »

Myth is first and foremost a digital video recording system. Define some rules and Myth will record a whole bunch of stuff you _might_ want to watch. That is a change in behaviour that some people love and others never connect with.

EyeTV is basically your only other option. It is much easier to set up and has a pretty decent live TV experience, as I recall. But it costs money and the developer has let it languish over the past several years. I expect that if some Mac OS change is incompatible with EyeTV, they'll drop the product rather than invest in updating it.

Craig
Formerly the MacPorts guy.
roger_p
Newcomer
Posts: 1
Joined: Fri Dec 30, 2016 5:32 am
United States of America

Re: MythTV 0.27 on Mavericks 10.9

Post by roger_p »

You might be running into the problem with timezone info not being set up in mysql. See https://www.mythtv.org/wiki/MythTV_on_M ... one_tables
User avatar
pvr4me
Senior
Posts: 763
Joined: Fri Feb 07, 2014 7:25 pm
Location: near Toronto, Canada
Contact:
Canada

Re: MythTV 0.27 on Mavericks 10.9

Post by pvr4me »

roger_p wrote:You might be running into the problem with timezone info not being set up in mysql. See https://www.mythtv.org/wiki/MythTV_on_M ... one_tables
You do realize that you posted to a 2.5 year old thread?

Craig
Formerly the MacPorts guy.
Post Reply