[mythtv-users] mythfilldatabase fails to run automatically from within myth but runs ok from bash prompt

Viktor Avramov drvik at bigpond.net.au
Sun Mar 25 23:46:48 UTC 2007


Hi there... wondering if someone can point me in the right direction... mythfilldatabase segfaulted during it's run overnight... here is the snippet from the log

> 2007-03-26 04:50:03.012 New DB connection, total: 1
> 2007-03-26 04:50:03.051 Connected to database 'mythconverg' at host:
> localhost 2007-03-26 04:50:03.066 mythfilldatabase: Listings Download
> Started 2007-03-26 04:50:03.068 New DB connection, total: 2
> 2007-03-26 04:50:03.070 Connected to database 'mythconverg' at host:
> localhost 2007-03-26 04:50:03.134 Updating source #1 (DigitalTV) with
> grabber tv_grab_au 2007-03-26 04:50:03.145 Found 12 channels for source 1
> which use grabber 2007-03-26 04:50:03.194 Failed to run tv_grab_au
> --capabilities
> 2007-03-26 04:50:03.195 Grabbing XMLTV data using tv_grab_au is not
> supported. You may need to upgrade to the latest version of XMLTV.
> 2007-03-26 04:50:03.201 New DB connection, total: 3
> 2007-03-26 04:50:03.202 Connected to database 'mythconverg' at host:
> localhost 2007-03-26 04:50:03.203 Listings Cleanup: Keeping 7 days of data.
> 2007-03-26 04:50:03.239 New DB connection, total: 4
> 2007-03-26 04:50:03.261 Connected to database 'mythconverg' at host:
> localhost 2007-03-26 04:50:03.263 New DB connection, total: 5
> 2007-03-26 04:50:03.264 Connected to database 'mythconverg' at host:
> localhost 2007-03-26 04:50:03.270 Data fetching complete.
> 2007-03-26 04:50:03.271 Adjusting program database end times.
> 2007-03-26 04:50:03.275     0 replacements made
> 2007-03-26 04:50:03.278 mythfilldatabase: Listings Download Finished
> 2007-03-26 04:50:03.279 Marking generic episodes.
> 2007-03-26 04:50:03.288     Found 0
> 2007-03-26 04:50:03.289 Marking repeats.
> 2007-03-26 04:50:03.298     Found 0
> 2007-03-26 04:50:03.299 Unmarking new episode rebroadcast repeats.
> 2007-03-26 04:50:03.307     Found 0
> 2007-03-26 04:50:03.327 Marking episode first showings.
> 2007-03-26 04:50:03.672     Found 918
> 2007-03-26 04:50:03.711 Marking episode last showings.
> 2007-03-26 04:50:04.015     Found 918
> 2007-03-26 04:50:04.050
> ===============================================================
>
> | Attempting to contact the master backend for rescheduling.  |
> | If the master is not running, rescheduling will happen when |
> | the master backend is restarted.                            |
>
> ===============================================================
> 2007-03-26 04:50:04.060 Connecting to backend server: 192.168.0.3:6543 (try
> 1 of 3) 2007-03-26 04:50:04.061 Using protocol version 33
> 2007-03-26 04:50:04.063 Received a remote 'Clear Cache' request

My tv_grab_au does indeed support --capabilities as follows

> $ tv_grab_au --capabilities
> baseline
> manualconfig

and if I run mythfilldatabasefrom the bash prompt it works perfectly fine...

> mythtv at bigfoot /var/log/mythtv $ /usr/bin/mythfilldatabase --refresh-all
> --no-delete 2007-03-26 09:07:41.798 Using runtime prefix = /usr
> 2007-03-26 09:07:41.813 New DB connection, total: 1
> 2007-03-26 09:07:41.817 Connected to database 'mythconverg' at host:
> localhost 2007-03-26 09:07:41.821 mythfilldatabase: Listings Download
> Started 2007-03-26 09:07:41.822 New DB connection, total: 2
> 2007-03-26 09:07:41.822 Connected to database 'mythconverg' at host:
> localhost 2007-03-26 09:07:41.827 Updating source #1 (DigitalTV) with
> grabber tv_grab_au 2007-03-26 09:07:41.828 Found 12 channels for source 1
> which use grabber 2007-03-26 09:07:41.878 Grabber has capabilities:
> baseline manualconfig 2007-03-26 09:07:41.878
> 2007-03-26 09:07:41.878 Checking day @ offset 0, date: Mon Mar 26 2007
> 2007-03-26 09:07:41.878 Data Refresh needed because of --refresh-all
> 2007-03-26 09:07:41.878 Refreshing data for Mon Mar 26 2007
> 2007-03-26 09:07:41.879 New DB connection, total: 3
> 2007-03-26 09:07:41.879 Connected to database 'mythconverg' at host:
> localhost 2007-03-26 09:07:41.880 ----------------- Start of XMLTV output
> ----------------- 2007-03-26 09:07:43.825 ------------------ End of XMLTV
> output ------------------ 2007-03-26 09:07:43.850 New DB connection, total:
> 4
> 2007-03-26 09:07:43.851 Connected to database 'mythconverg' at host:
> localhost 2007-03-26 09:07:43.879 Updating icons for sourceid: 1
> 2007-03-26 09:07:43.953 New DB connection, total: 5
> 2007-03-26 09:07:43.953 Connected to database 'mythconverg' at host:
> localhost Updated programs: 0  Unchanged programs: 267
> 2007-03-26 09:07:44.197
> 2007-03-26 09:07:44.198 Checking day @ offset 1, date: Tue Mar 27 2007
> 2007-03-26 09:07:44.198 Data Refresh needed because of --refresh-all
> 2007-03-26 09:07:44.198 Refreshing data for Tue Mar 27 2007
> 2007-03-26 09:07:44.198 ----------------- Start of XMLTV output
> ----------------- 2007-03-26 09:07:45.927 ------------------ End of XMLTV
> output ------------------ 2007-03-26 09:07:45.975 Updating icons for
> sourceid: 1
> Updated programs: 0  Unchanged programs: 261
> 2007-03-26 09:07:46.198
> 2007-03-26 09:07:46.198 Checking day @ offset 2, date: Wed Mar 28 2007
> 2007-03-26 09:07:46.198 Data Refresh needed because of --refresh-all
> 2007-03-26 09:07:46.198 Refreshing data for Wed Mar 28 2007
> 2007-03-26 09:07:46.199 ----------------- Start of XMLTV output
> ----------------- 2007-03-26 09:07:48.017 ------------------ End of XMLTV
> output ------------------ 2007-03-26 09:07:48.067 Updating icons for
> sourceid: 1
> Updated programs: 0  Unchanged programs: 271
> 2007-03-26 09:07:48.288
> 2007-03-26 09:07:48.289 Checking day @ offset 3, date: Thu Mar 29 2007
> 2007-03-26 09:07:48.289 Data Refresh needed because of --refresh-all
> 2007-03-26 09:07:48.289 Refreshing data for Thu Mar 29 2007
> 2007-03-26 09:07:48.289 ----------------- Start of XMLTV output
> ----------------- 2007-03-26 09:07:50.110 ------------------ End of XMLTV
> output ------------------ 2007-03-26 09:07:50.158 Updating icons for
> sourceid: 1
> Updated programs: 0  Unchanged programs: 275
> 2007-03-26 09:07:50.386
> 2007-03-26 09:07:50.387 Checking day @ offset 4, date: Fri Mar 30 2007
> 2007-03-26 09:07:50.387 Data Refresh needed because of --refresh-all
> 2007-03-26 09:07:50.387 Refreshing data for Fri Mar 30 2007
> 2007-03-26 09:07:50.387 ----------------- Start of XMLTV output
> ----------------- 2007-03-26 09:07:52.209 ------------------ End of XMLTV
> output ------------------ 2007-03-26 09:07:52.254 Updating icons for
> sourceid: 1
> Updated programs: 0  Unchanged programs: 253
> 2007-03-26 09:07:52.462
> 2007-03-26 09:07:52.462 Checking day @ offset 5, date: Sat Mar 31 2007
> 2007-03-26 09:07:52.462 Data Refresh needed because of --refresh-all
> 2007-03-26 09:07:52.462 Refreshing data for Sat Mar 31 2007
> 2007-03-26 09:07:52.462 ----------------- Start of XMLTV output
> ----------------- 2007-03-26 09:07:54.804 ------------------ End of XMLTV
> output ------------------ 2007-03-26 09:07:54.842 Updating icons for
> sourceid: 1
> removing existing program: 2007-03-31T01:30:00 - 2007-03-31T02:30:00 18
> Xanana: A Man, A Nation inserting new program    : 2007-03-31T01:30:00 -
> 2007-03-31T02:30:00 18 Xanana: A Man, A Nation
>
> 2007-03-26 09:07:54.846 New DB connection, total: 6
> 2007-03-26 09:07:54.846 Connected to database 'mythconverg' at host:
> localhost removing existing program: 2007-03-31T13:00:00 -
> 2007-03-31T13:30:00 18 Big Bite inserting new program    :
> 2007-03-31T13:00:00 - 2007-03-31T13:30:00 18 Big Bite
>
> removing existing program: 2007-03-31T13:30:00 - 2007-03-31T15:40:00 18
> MOVIE: Here On Earth inserting new program    : 2007-03-31T13:30:00 -
> 2007-03-31T15:40:00 18 MOVIE: Here On Earth
>
> removing existing program: 2007-03-31T15:40:00 - 2007-03-31T17:30:00 18
> MOVIE: Max Keeble's Big Move inserting new program    : 2007-03-31T15:40:00
> - 2007-03-31T17:30:00 18 MOVIE: Max Keeble's Big Move
>
> removing existing program: 2007-03-31T21:45:00 - 2007-03-31T23:45:00 18
> MOVIE: 48 Hours inserting new program    : 2007-03-31T21:45:00 -
> 2007-03-31T23:45:00 18 MOVIE: 48 Hours
>
> removing existing program: 2007-03-31T08:00:00 - 2007-03-31T08:30:00 19
> What's New Scooby-Doo? inserting new program    : 2007-03-31T08:00:00 -
> 2007-03-31T08:30:00 19 What's New Scooby-Doo?
>
> removing existing program: 2007-03-31T08:50:00 - 2007-03-31T09:20:00 19
> Don't Blame Me inserting new program    : 2007-03-31T08:50:00 -
> 2007-03-31T09:20:00 19 Don't Blame Me
>
> removing existing program: 2007-03-31T13:30:00 - 2007-03-31T15:40:00 19
> MOVIE: The Maltese Falcon inserting new program    : 2007-03-31T13:30:00 -
> 2007-03-31T15:40:00 19 MOVIE: The Maltese Falcon
>
> removing existing program: 2007-03-31T19:00:00 - 2007-03-31T21:15:00 19
> Swimming: 12th FINA World Championships inserting new program    :
> 2007-03-31T19:00:00 - 2007-03-31T21:15:00 19 Swimming: 12th FINA World
> Championships
>
> removing existing program: 2007-03-31T08:00:00 - 2007-03-31T08:30:00 20
> Scope inserting new program    : 2007-03-31T08:00:00 - 2007-03-31T08:30:00
> 20 Scope
>
> removing existing program: 2007-03-31T18:30:00 - 2007-03-31T22:00:00 20
> AFL: 2007 Championship Season inserting new program    :
> 2007-03-31T18:30:00 - 2007-03-31T22:00:00 20 AFL: 2007 Championship Season
>
> Updated programs: 27  Unchanged programs: 176
> 2007-03-26 09:07:55.139
> 2007-03-26 09:07:55.139 Checking day @ offset 6, date: Sun Apr 1 2007
> 2007-03-26 09:07:55.139 Data Refresh needed because of --refresh-all
> 2007-03-26 09:07:55.139 Refreshing data for Sun Apr 1 2007
> 2007-03-26 09:07:55.140 ----------------- Start of XMLTV output
> ----------------- 2007-03-26 09:07:56.519 ------------------ End of XMLTV
> output ------------------ 2007-03-26 09:07:56.541 Updating icons for
> sourceid: 1
> Updated programs: 24  Unchanged programs: 90
> 2007-03-26 09:07:56.669
> 2007-03-26 09:07:56.669 Checking day @ offset 7, date: Mon Apr 2 2007
> 2007-03-26 09:07:56.669 Data Refresh needed because of --refresh-all
> 2007-03-26 09:07:56.669 Refreshing data for Mon Apr 2 2007
> 2007-03-26 09:07:56.669 ----------------- Start of XMLTV output
> ----------------- 2007-03-26 09:07:58.324 ------------------ End of XMLTV
> output ------------------ 2007-03-26 09:07:58.348 Updating icons for
> sourceid: 1
> Updated programs: 0  Unchanged programs: 124
> 2007-03-26 09:07:58.448
> 2007-03-26 09:07:58.448 Checking day @ offset 8, date: Tue Apr 3 2007
> 2007-03-26 09:07:58.448 Data Refresh needed because of --refresh-all
> 2007-03-26 09:07:58.448 Refreshing data for Tue Apr 3 2007
> 2007-03-26 09:07:58.448 ----------------- Start of XMLTV output
> ----------------- 2007-03-26 09:07:59.603 ------------------ End of XMLTV
> output ------------------ 2007-03-26 09:07:59.611 Updating icons for
> sourceid: 1
> Updated programs: 0  Unchanged programs: 34
> 2007-03-26 09:07:59.640
> 2007-03-26 09:07:59.640 Checking day @ offset 9, date: Wed Apr 4 2007
> 2007-03-26 09:07:59.640 Data Refresh needed because of --refresh-all
> 2007-03-26 09:07:59.641 Refreshing data for Wed Apr 4 2007
> 2007-03-26 09:07:59.641 ----------------- Start of XMLTV output
> ----------------- 2007-03-26 09:08:01.035 ------------------ End of XMLTV
> output ------------------ 2007-03-26 09:08:01.042 Updating icons for
> sourceid: 1
> Updated programs: 0  Unchanged programs: 34
> 2007-03-26 09:08:01.075
> 2007-03-26 09:08:01.075 Checking day @ offset 10, date: Thu Apr 5 2007
> 2007-03-26 09:08:01.075 Data Refresh needed because of --refresh-all
> 2007-03-26 09:08:01.075 Refreshing data for Thu Apr 5 2007
> 2007-03-26 09:08:01.076 ----------------- Start of XMLTV output
> ----------------- 2007-03-26 09:08:02.150 ------------------ End of XMLTV
> output ------------------ 2007-03-26 09:08:02.158 Updating icons for
> sourceid: 1
> Updated programs: 0  Unchanged programs: 34
> 2007-03-26 09:08:02.188
> 2007-03-26 09:08:02.188 Checking day @ offset 11, date: Fri Apr 6 2007
> 2007-03-26 09:08:02.188 Data Refresh needed because of --refresh-all
> 2007-03-26 09:08:02.188 Refreshing data for Fri Apr 6 2007
> 2007-03-26 09:08:02.189 ----------------- Start of XMLTV output
> ----------------- 2007-03-26 09:08:03.699 ------------------ End of XMLTV
> output ------------------ 2007-03-26 09:08:03.706 Updating icons for
> sourceid: 1
> Updated programs: 0  Unchanged programs: 34
> 2007-03-26 09:08:03.734
> 2007-03-26 09:08:03.735 Checking day @ offset 12, date: Sat Apr 7 2007
> 2007-03-26 09:08:03.735 Data Refresh needed because of --refresh-all
> 2007-03-26 09:08:03.735 Refreshing data for Sat Apr 7 2007
> 2007-03-26 09:08:03.735 ----------------- Start of XMLTV output
> ----------------- 2007-03-26 09:08:04.745 ------------------ End of XMLTV
> output ------------------ 2007-03-26 09:08:04.753 Updating icons for
> sourceid: 1
> Updated programs: 0  Unchanged programs: 34
> 2007-03-26 09:08:04.782
> 2007-03-26 09:08:04.782 Checking day @ offset 13, date: Sun Apr 8 2007
> 2007-03-26 09:08:04.782 Data Refresh needed because of --refresh-all
> 2007-03-26 09:08:04.782 Refreshing data for Sun Apr 8 2007
> 2007-03-26 09:08:04.783 ----------------- Start of XMLTV output
> ----------------- 2007-03-26 09:08:05.598 ------------------ End of XMLTV
> output ------------------ 2007-03-26 09:08:05.602 Updating icons for
> sourceid: 1
> 2007-03-26 09:08:05.602 No programs found in data.
> 2007-03-26 09:08:05.602 Grabber is no longer returning program data,
> finishing 2007-03-26 09:08:05.608 Listings Cleanup: Keeping 7 days of data.
> 2007-03-26 09:08:05.622 Data fetching complete.
> 2007-03-26 09:08:05.622 Adjusting program database end times.
> 2007-03-26 09:08:05.626     0 replacements made
> 2007-03-26 09:08:05.627 mythfilldatabase: Listings Download Finished
> 2007-03-26 09:08:05.627 Marking generic episodes.
> 2007-03-26 09:08:05.636     Found 0
> 2007-03-26 09:08:05.636 Marking repeats.
> 2007-03-26 09:08:05.644     Found 0
> 2007-03-26 09:08:05.644 Unmarking new episode rebroadcast repeats.
> 2007-03-26 09:08:05.652     Found 0
> 2007-03-26 09:08:05.670 Marking episode first showings.
> 2007-03-26 09:08:05.955     Found 927
> 2007-03-26 09:08:05.955 Marking episode last showings.
> 2007-03-26 09:08:06.253     Found 927
> 2007-03-26 09:08:06.254
> ===============================================================
>
> | Attempting to contact the master backend for rescheduling.  |
> | If the master is not running, rescheduling will happen when |
> | the master backend is restarted.                            |
>
> ===============================================================
> 2007-03-26 09:08:06.256 Connecting to backend server: 192.168.0.3:6543 (try
> 1 of 3) 2007-03-26 09:08:06.257 Using protocol version 33
> 2007-03-26 09:08:06.258 Received a remote 'Clear Cache' request
> 2007-03-26 09:08:06.260 mythfilldatabase run complete.


Can anyone explain why it won't work using the automated method...

Viktor


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20070326/461f68b3/attachment-0001.htm 


More information about the mythtv-users mailing list