[mythtv-users] Mythfilldatabase error

Bill Meek keemllib at gmail.com
Thu Aug 6 23:42:12 UTC 2020


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 at 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


More information about the mythtv-users mailing list