[mythtv-users] XMLTV grabber returned error code 1

Gary Buhrmaster gary.buhrmaster at gmail.com
Wed May 11 17:23:49 UTC 2022


On Wed, May 11, 2022 at 2:53 AM DryHeat122 <dryheat122 at gmail.com> wrote:
>
> I am getting that error when I run mythfilldatabase. It is followed by:
>
>      Malformed XML file, missing </tv> element, at line 1, Premature end of document.
>
> What XML file is it talking about? The one returned by Schedules Direct? How do I troubleshoot this?

The one that mythfilldatabase is trying to load,
which is (typically) generated by your grabber,
unless an error occurs.

There are many possible reasons for a grabber
to fail (the most common are a filesystem (/tmp)
being out of space, and that one is running it
by a userid (i.e. the backend user) who does not
have permissions on the file(s) that were created
by the userid one used (i.e. not the same userid
as the backend userid) to configure the grabber
initially).

To obtain additional information from the grabber
itself, one can add in the flags "--verbose general,xmltv"
to the invocation of mythfilldatabase and mythtv
will log the grabbers output (if any) that may
provide additional guidance.


More information about the mythtv-users mailing list