Mailing List Archive

Mythfilldatabase error
This started about a week ago, probably same time as some OS update of
Ubuntu 18.04.

> 2020-08-06 17:57:24.978809 I  Updating source #1 (SD) with grabber
> tv_grab_zz_sdjson_sqlite
> 2020-08-06 17:57:24.979282 I  Found 62 channels for source 1 which use
> grabber
> 2020-08-06 17:57:24.979737 I  Starting process manager
> 2020-08-06 17:57:24.979746 I  Starting process signal handler
> 2020-08-06 17:57:24.979773 I  Starting IO manager (read)
> 2020-08-06 17:57:24.980613 I  Starting IO manager (write)
> 2020-08-06 17:57:25.480653 I  Grabber has capabilities: baseline
> manualconfig preferredmethod lineups apiconfig
> 2020-08-06 17:57:25.981434 I  Grabber prefers method: allatonce
> 2020-08-06 17:57:25.982619 I  XMLTV config file is:
> /home/mythuser/.mythtv/SD.xmltv
> 2020-08-06 17:59:44.657206 E  FillData: XMLTV grabber returned error
> code 1
> 2020-08-06 17:59:44.905966 E  Error in 1:1: unexpected end of file
> 2020-08-06 17:59:44.925315 I  No programs found in data.
> 2020-08-06 17:59:45.040749 E  Failed to fetch some program info
> 2020-08-06 17:59:45.040763 I  Adjusting program database end times.
> 2020-08-06 17:59:45.041477 I      0 replacements made

Any ideas.   I ran this manually, as the user (mythuser) that is always
logged in.

mythuser@amethi:~$ cat /home/mythuser/.mythtv/SD.xmltv
database=/home/mythuser/.xmltv/SchedulesDirect.DB
lineup=USA-OTA-76111
3rdparty-metadata=disabled
mythtv-categories=enabled

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Mythfilldatabase error [ In reply to ]
On Thu, Aug 6, 2020 at 11:07 PM Jack McGee <jack@greendesk.net> wrote:

> Any ideas.

Could be many things (exit code 1 is the generic
"something bad happened, look at the messages"
return).

If you are running the latest fixes/31, try adding in
the xmltv flag to the verbose logging command
(typically something like "--verbose general,xmltv")
to see any (possibly) relevant messages from the
grabber in the logs.

As an aside, I would generally recommend adding
in the xmltv verbosity in most cases such that any
interesting messages get logged in the future
when (not if) something else goes wrong, and for
most grabbers the number of additional lines
logged is modest.

And you can try running the grabber manually
(under your myth userid) outside of mythfilldatabase
to see the messages (typically add in something
like "--days 1 --output /dev/null" so you just see
any error messages and the grabber does minimal
work).
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Mythfilldatabase error [ In reply to ]
On 8/6/20 6:06 PM, Jack McGee wrote:
> This started about a week ago, probably same time as some OS update of Ubuntu 18.04.
>
>> 2020-08-06 17:57:24.978809 I  Updating source #1 (SD) with grabber tv_grab_zz_sdjson_sqlite
>> 2020-08-06 17:57:24.979282 I  Found 62 channels for source 1 which use grabber
>> 2020-08-06 17:57:24.979737 I  Starting process manager
>> 2020-08-06 17:57:24.979746 I  Starting process signal handler
>> 2020-08-06 17:57:24.979773 I  Starting IO manager (read)
>> 2020-08-06 17:57:24.980613 I  Starting IO manager (write)
>> 2020-08-06 17:57:25.480653 I  Grabber has capabilities: baseline manualconfig preferredmethod lineups apiconfig
>> 2020-08-06 17:57:25.981434 I  Grabber prefers method: allatonce
>> 2020-08-06 17:57:25.982619 I  XMLTV config file is: /home/mythuser/.mythtv/SD.xmltv
>> 2020-08-06 17:59:44.657206 E  FillData: XMLTV grabber returned error code 1
>> 2020-08-06 17:59:44.905966 E  Error in 1:1: unexpected end of file
>> 2020-08-06 17:59:44.925315 I  No programs found in data.
>> 2020-08-06 17:59:45.040749 E  Failed to fetch some program info
>> 2020-08-06 17:59:45.040763 I  Adjusting program database end times.
>> 2020-08-06 17:59:45.041477 I      0 replacements made
>
> Any ideas.   I ran this manually, as the user (mythuser) that is always logged in.
>
> mythuser@amethi:~$ cat /home/mythuser/.mythtv/SD.xmltv
> database=/home/mythuser/.xmltv/SchedulesDirect.DB
> lineup=USA-OTA-76111
> 3rdparty-metadata=disabled
> mythtv-categories=enabled

If "mythuser" is the same user that the backend runs as, OK. Typically,
the user the backend runs as is "mythtv" and it would have the only set
of files in ~mythtv/.mythtv/*.xmltv and ~mythtv/.xmltv/SchedulesDirect.DB

I'd run mythtvfilldatabase -v system. The full tv_grab_zz_sdjson_sqlite
command line will show up in the output. Rerun that command from the
command line to see the failure (don't include the --quiet switch.)
That's always shown the error for me. 1st guess, permissions.

Consider running MFDB like this: sudo --login --user=mythtv mythfilldatabase
Create an alias to that 'cause it's too long to type. Then, you'll only
have the maintenance/administration/nosebleed of one set of files. If you
choose to link things, OK

--
Bill
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Mythfilldatabase error [ In reply to ]
On 8/6/20 6:42 PM, Bill Meek wrote:
> On 8/6/20 6:06 PM, Jack McGee wrote:
>> This started about a week ago, probably same time as some OS update
>> of Ubuntu 18.04.
>>
>
> If "mythuser" is the same user that the backend runs as, OK. Typically,
> the user the backend runs as is "mythtv" and it would have the only set
> of files in ~mythtv/.mythtv/*.xmltv and ~mythtv/.xmltv/SchedulesDirect.DB
>
> I'd run mythtvfilldatabase -v system. The full tv_grab_zz_sdjson_sqlite
> command line will show up in the output. Rerun that command from the
> command line to see the failure (don't include the --quiet switch.)
> That's always shown the error for me. 1st guess, permissions.
>
> Consider running MFDB like this: sudo --login --user=mythtv
> mythfilldatabase
> Create an alias to that 'cause it's too long to type. Then, you'll only
> have the maintenance/administration/nosebleed of one set of files. If you
> choose to link things, OK
>

Sorry for the noise.  The VPN on that machine had hit the kill switch. 
Fixed that, and ran it with the same command, and it ran successfully. 
I will see how it runs tonight.


_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Mythfilldatabase error [ In reply to ]
It appears to be running, but why it is saying Datadirect expires June
21, 2020?


Last mythfilldatabase run started on Sat Aug 8 2020, 7:50 PM and ended
on Sat Aug 8 2020, 7:50 PM. Successful.
Suggested next mythfilldatabase run: Sun Aug 9 2020, 7:50 PM.
There's guide data until 2020-08-26 03:00:00 (17 days).
DataDirect Status: Your subscription expires on Sun Jun 21 2020 5:43 PM


My schedulesdirect sub does not expire until Monday, June 21, 2021



On 8/6/20 9:02 PM, Jack McGee wrote:
>
> On 8/6/20 6:42 PM, Bill Meek wrote:
>> On 8/6/20 6:06 PM, Jack McGee wrote:
>>> This started about a week ago, probably same time as some OS update
>>> of Ubuntu 18.04.
>>>
>>
>> If "mythuser" is the same user that the backend runs as, OK. Typically,
>> the user the backend runs as is "mythtv" and it would have the only set
>> of files in ~mythtv/.mythtv/*.xmltv and
>> ~mythtv/.xmltv/SchedulesDirect.DB
>>
>> I'd run mythtvfilldatabase -v system. The full tv_grab_zz_sdjson_sqlite
>> command line will show up in the output. Rerun that command from the
>> command line to see the failure (don't include the --quiet switch.)
>> That's always shown the error for me. 1st guess, permissions.
>>
>> Consider running MFDB like this: sudo --login --user=mythtv
>> mythfilldatabase
>> Create an alias to that 'cause it's too long to type. Then, you'll only
>> have the maintenance/administration/nosebleed of one set of files. If
>> you
>> choose to link things, OK
>>
>
> Sorry for the noise.  The VPN on that machine had hit the kill
> switch.  Fixed that, and ran it with the same command, and it ran
> successfully.  I will see how it runs tonight.
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Mythfilldatabase error [ In reply to ]
On 8/9/20 11:13 AM, Jack McGee wrote:
> It appears to be running, but why it is saying Datadirect expires June 21, 2020?
>
>
> Last mythfilldatabase run started on Sat Aug 8 2020, 7:50 PM and ended on Sat Aug 8 2020, 7:50 PM. Successful.
> Suggested next mythfilldatabase run: Sun Aug 9 2020, 7:50 PM.
> There's guide data until 2020-08-26 03:00:00 (17 days).
> DataDirect Status: Your subscription expires on Sun Jun 21 2020 5:43 PM
>
>
> My schedulesdirect sub does not expire until Monday, June 21, 2021

Best guess: You haven't noticed it since converting to XMLTV and
renewed your subscription *after* converting.

I use something like this, the Value is your choice:

curl --data Key=DataDirectMessage --data Value="Unavailable with SD JSON XMLTV" yourBackendHostNameOrIP:6544/Myth/PutSetting

--
Bill
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org