[Solved] mythfilldatabase recently stopped working correctly

Have a MythTV related problem? Ask for help from other MythTV users here.

Moderator: Forum Moderators

Post Reply
marcw
Junior
Posts: 25
Joined: Tue May 03, 2016 4:49 pm
United States of America

[Solved] mythfilldatabase recently stopped working correctly

Post by marcw »

I noticed that my program listing now include 15 days instead of the normal 18 days. So I ran mythfilldatabase manually and noticed these errors (which were also in the mythfilldatabase log file for the past couple of days):

022-09-29 09:08:23.353836 E XMLTV grabber returned error code 255
2022-09-29 09:08:23.652398 E Malformed XML file, missing </tv> element, at line 1, Premature end of document.
2022-09-29 09:08:24.166673 E Failed to fetch some program info

Nothing has changed on my end that I know of but I do keep my Ubuntu updated including the Myth31 PPA. Could it be a SchedulesDirect issue?
User avatar
bill6502
Developer
Posts: 2307
Joined: Fri Feb 07, 2014 5:28 pm
United States of America

Re: mythfilldatabase recently stopped working correctly

Post by bill6502 »

Re-run like this: mythfilldatabase -v system,xmltv. Look for a line similar to:

Code: Select all

tv_grab_zz_sdjson_sqlite --config-file '/var/lib/mythtv/confdir/HDHR.xmltv' --output /tmp/mythxxxx
and run that command. You can add --debug to it if that doesn't help (but it's pretty noisy). Look in the --output
file or don't use the --output <filemame> at all.
User avatar
bill6502
Developer
Posts: 2307
Joined: Fri Feb 07, 2014 5:28 pm
United States of America

Re: mythfilldatabase recently stopped working correctly

Post by bill6502 »

Just did what I recommended and got:

Code: Select all

Opening the local database
Obtaining authentication token for Schedules Direct
Unable to authenticate to Schedules Direct: Schedules Direct authorization token response code: 3000, message: Server offline for maintenance.
See: https://schedulesdirect.org
marcw
Junior
Posts: 25
Joined: Tue May 03, 2016 4:49 pm
United States of America

Re: mythfilldatabase recently stopped working correctly

Post by marcw »

Thanks. Hopefully they resolve it soon.
User avatar
pgbennett
Developer
Posts: 503
Joined: Mon Apr 27, 2015 5:41 pm
United States of America

Re: mythfilldatabase recently stopped working correctly

Post by pgbennett »

There is a "news item" about this today on the web page.
https://schedulesdirect.org/
bshanteau
Newcomer
Posts: 13
Joined: Mon Jul 11, 2022 10:10 pm
United States of America

Re: mythfilldatabase recently stopped working correctly

Post by bshanteau »

I run MythTV v32 and use Multinational JSON with grabber tv_grab_zz_sdjson_sqlite on Schedules Direct. System Status->Listings Status says that mythfilldatabase usually completes correctly. Nevertheless there are still times when it reports a "potential grabber failure", but that usually goes away the next day.
User avatar
bill6502
Developer
Posts: 2307
Joined: Fri Feb 07, 2014 5:28 pm
United States of America

Re: mythfilldatabase recently stopped working correctly

Post by bill6502 »

@bshanteau, note that the message is only informational, if mythfilldatabase is run and
there is no new information, that message appears. It's only a problem if it continues to
happen. This issue was solved by SD.
Post Reply