[mythtv-users] trouble fetching schedule data

Steven Doerfler sgd-mythtv-users at lugaru.com
Thu Dec 22 03:49:53 UTC 2011


I'm trying to set up MythTV 0.24 on a Macmini running OS X 10.7.2 using
an HDHR Dual box to get ATSC from an antenna.  I've having trouble
getting US guide data working.

After going through steps 1 and 2 in MythTV-Setup, I set up an account
at SchedulesDirect, and tried to add it as a new video source.

I entered my name and password for SchedulesDirect into MythTV-Setup and
clicked Retrieve Lineups.  The screen flashed for a moment, but I
couldn't see what it said.  I clicked it a few times trying to read the
message, and then a message box appeared appeared and stayed.

At that point I had a box that said "Fetching Lineups from Schedules
Direct" and showed 50% finished.  It stayed like that.  Activity Monitor
said the setup program was using 100% of CPU and not responding.

I force-quit the setup program, and restarted it.  Now as soon as I
enter my name/password on that screen and click Retrieve Lineups, I get
the 50% finished message, and it's locked up.

I tried entering my user name and password, and skipping the Retrieve
Lineups button so MythTV could save the data.  The setup program crashed
when I tried to exit it (in mythDB::ClearSettingsCache) but it had saved
my user/password for SchedulesDirect.

Then I tried filling the database (several times).  I'm currently
getting this when I run it manually:

[sgd at Steven-Doerflers-Mac-mini ~] 513 $
/Applications/MythFillDatabase.app/Contents/MacOS/MythFillDatabase
2011-12-21 21:14:00.094 Using runtime prefix =
/Applications/MythFillDatabase.app/Contents/Resources
2011-12-21 21:14:00.094 Using configuration directory = /Users/sgd/.mythtv
2011-12-21 21:14:00.094 Unable to read configuration file mysql.txt
2011-12-21 21:14:00.094 Empty LocalHostName.
2011-12-21 21:14:00.094 Using localhost value of
Steven-Doerflers-Mac-mini.local
2011-12-21 21:14:00.105 New DB connection, total: 1
2011-12-21 21:14:00.105 Connected to database 'mythconverg' at host:
localhost
2011-12-21 21:14:00.108 Closing DB connection named 'DBManager0'
2011-12-21 21:14:00.108 Connected to database 'mythconverg' at host:
localhost
2011-12-21 21:14:00.110 Current locale en_US
2011-12-21 21:14:00.110 No locale defaults file for en_US, skipping
2011-12-21 21:14:00.111 Error Loading en_us translation for module
mythfrontend
2011-12-21 21:14:00.112 Current MythTV Schema Version (DBSchemaVer): 1264
2011-12-21 21:14:00.114 New DB connection, total: 2
2011-12-21 21:14:00.114 Connected to database 'mythconverg' at host:
localhost
2011-12-21 21:14:00.116 Updating source #3 (Antenna) with grabber
schedulesdirect1
2011-12-21 21:14:00.116 No channels are configured to use grabber.
2011-12-21 21:14:00.118
2011-12-21 21:14:00.118 Checking day @ offset 0, date: Wed Dec 21 2011
2011-12-21 21:14:00.119 Data refresh needed because no data exists for
day @ offset 0 from 8PM - midnight.
2011-12-21 21:14:00.119 Refreshing data for Wed Dec 21 2011
2011-12-21 21:14:00.119 New DB DataDirect connection
2011-12-21 21:14:00.119 Connected to database 'mythconverg' at host:
localhost
2011-12-21 21:14:00.120 Retrieving datadirect data.
2011-12-21 21:14:00.120 Grabbing data for Wed Dec 21 2011 offset 0
2011-12-21 21:14:00.121 From Wed Dec 21 05:00:00 2011 to Thu Dec 22
05:00:00 2011 (UTC)
2011-12-21 21:14:00.123 Grabbing listing data
--2011-12-21 21:14:00-- 
http://webservices.schedulesdirect.tmsdatadirect.com/schedulesdirect/tvlistings/xtvdService
Resolving webservices.schedulesdirect.tmsdatadirect.com... 144.142.232.53
Connecting to
webservices.schedulesdirect.tmsdatadirect.com|144.142.232.53|:80...
connected.
HTTP request sent, awaiting response... 401 Unauthorized
Connecting to
webservices.schedulesdirect.tmsdatadirect.com|144.142.232.53|:80...
connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/xml]
Saving to: `STDOUT'

    [<=>                                    ] 0          
--.-K/s                  [ <=>                                   ]
1,470       1.75K/s                  [ 
<=>                                  ] 27,750      25.6K/s             
2011-12-21 21:14:01.938 New DB connection, total: 3
2011-12-21 21:14:01.938 Connected to database 'mythconverg' at host:
localhost
2011-12-21 21:14:01.940 DataDirect: Your subscription expires on Wed Dec
28 2011 4:06 PM
    [   <=>                                 ] 66,738     
30.2K/s                  [    <=>                                ]
92,122      33.0K/s                  [    
<=>                               ] 92,122      33.0K/s   in 2.7s   

2011-12-21 21:14:03 (33.0 KB/s) - `-' saved [92122]

2011-12-21 21:14:06.097 Grab complete.  Actual data from Wed Dec 21
05:00:00 2011 to Thu Dec 22 05:00:00 2011 (UTC)
2011-12-21 21:14:06.099 Main temp tables populated.
2011-12-21 21:14:06.099 Updating MythTV channels.
2011-12-21 21:14:06.104 IconData: Updating icons for sourceid: 3
2011-12-21 21:14:06.105 Channels updated.
2011-12-21 21:14:06.131 Did not find any new program data.
2011-12-21 21:14:06.135
2011-12-21 21:14:06.137 Checking day @ offset 1, date: Thu Dec 22 2011
2011-12-21 21:14:06.139 Data Refresh always needed for tomorrow
2011-12-21 21:14:06.141 Refreshing data for Thu Dec 22 2011
2011-12-21 21:14:06.143 Retrieving datadirect data.
2011-12-21 21:14:06.144 Grabbing data for Wed Dec 21 2011 offset 1
2011-12-21 21:14:06.148 From Thu Dec 22 05:00:00 2011 to Fri Dec 23
05:00:00 2011 (UTC)
2011-12-21 21:14:06.154 Grabbing listing data
--2011-12-21 21:14:06-- 
http://webservices.schedulesdirect.tmsdatadirect.com/schedulesdirect/tvlistings/xtvdService
Resolving webservices.schedulesdirect.tmsdatadirect.com... 144.142.232.53
Connecting to
webservices.schedulesdirect.tmsdatadirect.com|144.142.232.53|:80...
connected.
HTTP request sent, awaiting response... 401 Unauthorized
Connecting to
webservices.schedulesdirect.tmsdatadirect.com|144.142.232.53|:80...
connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/xml]
Saving to: `STDOUT'

    [<=>                                    ] 0          
--.-K/s                  [ <=>                                   ]
1,470       1.74K/s                  [ 
<=>                                  ] 27,750      25.5K/s             
2011-12-21 21:14:07.943 DataDirect: Your subscription expires on Wed Dec
28 2011 4:06 PM
    [   <=>                                 ] 66,658     
30.4K/s                  [    <=>                                ]
91,890      33.2K/s                  [    
<=>                               ] 91,890      33.2K/s   in 2.7s   

2011-12-21 21:14:09 (33.2 KB/s) - `-' saved [91890]

[....many days worth of this omitted....]

2011-12-21 21:15:23.075 Checking day @ offset 13, date: Tue Jan 3 2012
2011-12-21 21:15:23.076 Data refresh needed because no data exists for
day @ offset 13 from 8PM - midnight.
2011-12-21 21:15:23.076 Refreshing data for Tue Jan 3 2012
2011-12-21 21:15:23.077 Retrieving datadirect data.
2011-12-21 21:15:23.077 Grabbing data for Wed Dec 21 2011 offset 13
2011-12-21 21:15:23.077 From Tue Jan 3 05:00:00 2012 to Wed Jan 4
05:00:00 2012 (UTC)
2011-12-21 21:15:23.079 Grabbing listing data
--2011-12-21 21:15:23-- 
http://webservices.schedulesdirect.tmsdatadirect.com/schedulesdirect/tvlistings/xtvdService
Resolving webservices.schedulesdirect.tmsdatadirect.com... 144.142.232.53
Connecting to
webservices.schedulesdirect.tmsdatadirect.com|144.142.232.53|:80...
connected.
HTTP request sent, awaiting response... 401 Unauthorized
Connecting to
webservices.schedulesdirect.tmsdatadirect.com|144.142.232.53|:80...
connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/xml]
Saving to: `STDOUT'

    [<=>                                    ] 0          
--.-K/s                  [ <=>                                   ]
10          --.-K/s                  [ 
<=>                                  ] 1,470       
981B/s                  [   <=>                                 ]
27,750      15.6K/s              2011-12-21 21:15:25.651 DataDirect:
Your subscription expires on Wed Dec 28 2011 4:06 PM
    [    <=>                                ] 38,606     
18.8K/s                  [     <=>                               ]
47,846      18.6K/s                  [     
<=>                              ] 65,690      20.6K/s                 
[       <=>                             ] 83,222     
18.8K/s                  [        <=>                            ]
83,222      18.8K/s   in 4.3s   

2011-12-21 21:15:28 (18.8 KB/s) - `-' saved [83222]

2011-12-21 21:15:29.939 Grab complete.  Actual data from Tue Jan 3
05:00:00 2012 to Wed Jan 4 05:00:00 2012 (UTC)
2011-12-21 21:15:29.941 Main temp tables populated.
2011-12-21 21:15:29.966 Did not find any new program data.
2011-12-21 21:15:29.967 Failed to fetch some program info
2011-12-21 21:15:29.967 Adjusting program database end times.
2011-12-21 21:15:29.968     0 replacements made
2011-12-21 21:15:29.968 Marking generic episodes.
2011-12-21 21:15:29.969     Found 0
2011-12-21 21:15:29.969 Fudging non-unique programids with multiple parts.
2011-12-21 21:15:29.969     Found 0
2011-12-21 21:15:29.970 Marking repeats.
2011-12-21 21:15:29.971     Found 0
2011-12-21 21:15:29.971 Unmarking new episode rebroadcast repeats.
2011-12-21 21:15:29.971     Found 0
2011-12-21 21:15:29.972 Marking episode first showings.
2011-12-21 21:15:29.973     Found 0
2011-12-21 21:15:29.973 Marking episode last showings.
2011-12-21 21:15:29.975     Found 0
2011-12-21 21:15:29.978 Grabbing next suggested grabbing time
2011-12-21 21:15:30.787 DataDirect: BlockedTime is: 2011-12-21T21:15:30
2011-12-21 21:15:30.787 DataDirect: NextSuggestedTime is:
2011-12-23T10:27:19
2011-12-21 21:15:30.789 DataDirect: Provider suggested running again at
2011-12-23T10:27:19, but MythFillPeriod is 1.  Next run time will be
adjusted to be 2011-12-22T10:27:19.
2011-12-21 21:15:30.791
===============================================================
| Attempting to contact the master backend for rescheduling.  |
| If the master is not running, rescheduling will happen when |
| the master backend is restarted.                            |
===============================================================
2011-12-21 21:15:30.795 MythCoreContext: Connecting to backend server:
127.0.0.1:6543 (try 1 of 1)
2011-12-21 21:15:30.796 Using protocol version 63
2011-12-21 21:15:30.801 Received a remote 'Clear Cache' request
2011-12-21 21:15:31.801 mythfilldatabase run complete.
2011-12-21 21:15:31.803 DataDirect: Deleting temporary files

That's when I try to fill the database from a prompt. When I
double-click MythFillDatabase in /Applications, the program starts
taking 99% of CPU and never exits.  I have to force-quit it.

When I start the front end, I can see live TV OK, but there are no
channel names when switching channels, just codes like 4 3 instead of
WTAE-DT.  The program guide shows channel names, but only "Unknown" for
the programs.

Other setup info: Under "Capture cards" I set up both tuners on the
HDHR, selecting each tuner from the list. It figured out the IP address
itself.  For "Input Connections", I set each capture device to use the
video source I'd created, and used the "Scan for channels" option to
find channels.  It found the ones I expected, and they appear in the
drop-down list of available default channels on that page.  The option
"Fetch channels from listings source" seems to do nothing when selected,
though it's not disabled.

I went to http://schedulesdirect.org/getdata, entered my login info, and
got a page of XML schedule data that mentions my local stations.

I couldn't find any log files.  None of the log files at
http://www.mythtv.org/wiki/General_Troubleshooting_Tips exist on my Mac,
and I didn't see any MythTV-related logs in the Mac's Console log-viewer
either.

What could the problem be?  Thanks for any suggestions.

Steven



More information about the mythtv-users mailing list