Mailing List Archive

MythFillDatabase running, but not updating anything...
MythFillDatabase is running about once a minute, claiming to be successful, but the log has errors, and nothing gets updated.

Background: I have done a clean install of Mint Cinnamon 21, installed the ppa for MythTV 33 Installed MythTV 33, restored the
database, implemented all the changes to allow mythTV to shut down when idle. Everything appears to be working except it never
shuts down because mythfilldatabase is running continuously.

MythWeb status says the last successful run of mythfilldatabase was on the 9th. I went into Backend Setup, and did not find
anything that needed fixing, exited and ran mythfilldatabase, it appeared to run, but did not update anything.

The following is an excerpt from the log of mythfilldatabase. This repeats about once a minute. Yes there are errors, but I have
no clue what they mean, or how to fix them:

Apr 15 11:49:51 BlackBox mythfilldatabase: mythfilldatabase[1935750]: I CoreContext mythfilldatabase.cpp:651 (main)
#012===============================================================#012| Attempting to contact the master backend for
rescheduling.  |#012| If the master is not running, rescheduling will happen when |#012| the master backend is restarted.
|#012===============================================================
Apr 15 11:49:51 BlackBox mythfilldatabase: mythfilldatabase[1935750]: N CoreContext mythfilldatabase.cpp:666 (main)
mythfilldatabase run complete.
Apr 15 11:49:51 BlackBox mythfilldatabase: mythfilldatabase[1935750]: I CoreContext mythpowerdbus.cpp:73 (~MythPowerDBus)
PowerDBus: Closing interfaces
Apr 15 11:49:51 BlackBox mythfilldatabase: mythfilldatabase[1935750]: I CoreContext mythcontext.cpp:1678 (~MythContext) Waiting
for threads to exit.
Apr 15 11:49:51 BlackBox mythfilldatabase: mythfilldatabase[1935750]: I CoreContext mythcontext.cpp:1684 (~MythContext) Exiting
Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]: C thread_unknown mythcommandlineparser.cpp:2903
(ConfigureLogging) mythfilldatabase version: fixes/33 [v33.1+fixes.202304101849.51cb10a678~ubuntu22.04.1] www.mythtv.org
Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]: C thread_unknown mythcommandlineparser.cpp:2907
(ConfigureLogging) Qt version: compile: 5.15.3, runtime: 5.15.3
Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]: I thread_unknown mythcommandlineparser.cpp:2909
(ConfigureLogging) Linux Mint 21.1 (x86_64)
Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]: N thread_unknown mythcommandlineparser.cpp:2911
(ConfigureLogging) Enabled verbose msgs:  general
Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]: N thread_unknown logging.cpp:689 (logStart) Setting Log
Level to LOG_INFO
Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]: I Logger logging.cpp:277 (run) Added logging to the console
Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]: I thread_unknown signalhandling.cpp:182
(SetHandlerPrivate) Setup Interrupt handler
Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]: I thread_unknown signalhandling.cpp:182
(SetHandlerPrivate) Setup Terminated handler
Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]: I thread_unknown signalhandling.cpp:182
(SetHandlerPrivate) Setup Segmentation fault handler
Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]: I thread_unknown signalhandling.cpp:182
(SetHandlerPrivate) Setup Aborted handler
Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]: I thread_unknown signalhandling.cpp:182
(SetHandlerPrivate) Setup Floating point exception handler
Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]: I thread_unknown signalhandling.cpp:182
(SetHandlerPrivate) Setup Illegal instruction handler
Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]: I thread_unknown signalhandling.cpp:182
(SetHandlerPrivate) Setup Bus error handler
Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]: I thread_unknown signalhandling.cpp:182
(SetHandlerPrivate) Setup Real-time signal 0 handler
Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]: I thread_unknown signalhandling.cpp:182
(SetHandlerPrivate) Setup Hangup handler
Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]: N thread_unknown mythdirs.cpp:203 (InitializeMythDirs)
Using runtime prefix = /usr
Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]: N thread_unknown mythdirs.cpp:204 (InitializeMythDirs)
Using configuration directory = /home/mythtv/.mythtv
Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]: I CoreContext mythcorecontext.cpp:261 (Init) Assumed
character encoding: en_US.UTF-8
Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]: I LogForward loggingserver.cpp:219 (SyslogLogger) Added
syslogging
Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]: I CoreContext mythcontext.cpp:584 (LoadDatabaseSettings)
Empty LocalHostName. This is typical.
Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]: I CoreContext mythcontext.cpp:635 (LoadDatabaseSettings)
Using a profile name of: 'BlackBox' (Usually the same as this host's name.)
Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]: I CoreContext mythcontext.cpp:872 (TestDBconnection) Start
up testing connections. DB localhost, BE , attempt 0, status dbAwake, Delay: 2000
Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]: N CoreContext mythcorecontext.cpp:1826 (InitLocale)
Setting QT default locale to en_US
Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]: I CoreContext mythcorecontext.cpp:1859
(SaveLocaleDefaults) Current locale en_US
Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]: N CoreContext mythlocale.cpp:120 (LoadDefaultsFromXML)
Reading locale defaults from /usr/share/mythtv//locales/en_us.xml
Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]: I CoreContext mythpowerdbus.cpp:540 (AcquireLock)
PowerDBus: Failed to delay sleep,shutdown: Permission denied
Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]: I CoreContext mythpowerdbus.cpp:368 (DeviceAdded)
PowerDBus: Added UPower.Device '/org/freedesktop/UPower/devices/mouse_hidpp_battery_0'
Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]: I CoreContext mythpower.cpp:354 (PowerLevelChanged) Power:
On AC power
Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]: I CoreContext mythpower.cpp:136 (Init) Power: Supported
actions: None
Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]: I CoreContext mythtranslation.cpp:62 (load) Loading en_us
translation for module mythfrontend
Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]: I CoreContext schemawizard.cpp:117 (Compare) Current
MythTV Schema Version (DBSchemaVer): 1376
Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]: I CoreContext mythcorecontext.cpp:460
(ConnectCommandSocket) MythCoreContext::ConnectCommandSocket(): Connecting to backend server: 127.0.0.1:6543 (try 1 of 1)
Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]: I CoreContext mythcorecontext.cpp:1708 (CheckProtoVersion)
MythCoreContext::CheckProtoVersion(): Using protocol version 91 BuzzOff
Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]: I CoreContext mythfilldatabase.cpp:272 (main) Opening
blocking connection to master backend
Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]: I CoreContext filldata.cpp:326 (Run) Updating source #3
(NorthWest) with grabber tv_grab_zz_sdjson
Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]: I CoreContext filldata.cpp:341 (Run) Found 101 channels
for source 3 which use grabber
Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]: I SystemSignalManager mythsystemunix.cpp:500 (run)
Starting process signal handler
Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]: I SystemManager mythsystemunix.cpp:274 (run) Starting
process manager
Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]: I SystemIOHandlerR mythsystemunix.cpp:91 (run) Starting IO
manager (read)
Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]: I SystemIOHandlerW mythsystemunix.cpp:91 (run) Starting IO
manager (write)
Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]: E CoreContext filldata.cpp:370 (Run) tv_grab_zz_sdjson 
--capabilities failed or we timed out waiting. You may need to upgrade your xmltv grabber
Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]: E CoreContext filldata.cpp:677 (Run) Grabbing XMLTV data
using tv_grab_zz_sdjson is not supported. You may need to upgrade to the latest version of XMLTV.
Apr 15 11:50:34 BlackBox mythfilldatabase: mythfilldatabase[1937008]: I CoreContext filldata.cpp:326 (Run) Updating source #4
(North) with grabber tv_grab_zz_sdjson
Apr 15 11:50:34 BlackBox mythfilldatabase: mythfilldatabase[1937008]: I CoreContext filldata.cpp:341 (Run) Found 98 channels for
source 4 which use grabber
Apr 15 11:50:34 BlackBox mythfilldatabase: mythfilldatabase[1937008]: E CoreContext filldata.cpp:370 (Run) tv_grab_zz_sdjson 
--capabilities failed or we timed out waiting. You may need to upgrade your xmltv grabber
Apr 15 11:50:34 BlackBox mythfilldatabase: mythfilldatabase[1937008]: E CoreContext filldata.cpp:677 (Run) Grabbing XMLTV data
using tv_grab_zz_sdjson is not supported. You may need to upgrade to the latest version of XMLTV.
Apr 15 11:50:34 BlackBox mythfilldatabase: mythfilldatabase[1937008]: I CoreContext filldata.cpp:326 (Run) Updating source #5
(South) with grabber tv_grab_zz_sdjson
Apr 15 11:50:34 BlackBox mythfilldatabase: mythfilldatabase[1937008]: I CoreContext filldata.cpp:341 (Run) Found 19 channels for
source 5 which use grabber
Apr 15 11:50:34 BlackBox mythfilldatabase: mythfilldatabase[1937008]: E CoreContext filldata.cpp:370 (Run) tv_grab_zz_sdjson 
--capabilities failed or we timed out waiting. You may need to upgrade your xmltv grabber
Apr 15 11:50:34 BlackBox mythfilldatabase: mythfilldatabase[1937008]: E CoreContext filldata.cpp:677 (Run) Grabbing XMLTV data
using tv_grab_zz_sdjson is not supported. You may need to upgrade to the latest version of XMLTV.
Apr 15 11:50:35 BlackBox mythfilldatabase: mythfilldatabase[1937008]: I CoreContext filldata.cpp:326 (Run) Updating source #6
(NorthWest ATSC3) with grabber tv_grab_zz_sdjson
Apr 15 11:50:35 BlackBox mythfilldatabase: mythfilldatabase[1937008]: I CoreContext filldata.cpp:341 (Run) Found 101 channels
for source 6 which use grabber
Apr 15 11:50:35 BlackBox mythfilldatabase: mythfilldatabase[1937008]: E CoreContext filldata.cpp:370 (Run) tv_grab_zz_sdjson 
--capabilities failed or we timed out waiting. You may need to upgrade your xmltv grabber
Apr 15 11:50:35 BlackBox mythfilldatabase: mythfilldatabase[1937008]: E CoreContext filldata.cpp:677 (Run) Grabbing XMLTV data
using tv_grab_zz_sdjson is not supported. You may need to upgrade to the latest version of XMLTV.
Apr 15 11:50:35 BlackBox mythfilldatabase: mythfilldatabase[1937008]: N CoreContext mythfilldatabase.cpp:399 (main) Data
fetching complete.
Apr 15 11:50:35 BlackBox mythfilldatabase: mythfilldatabase[1937008]: I CoreContext mythfilldatabase.cpp:407 (main) Adjusting
program database end times.
Apr 15 11:50:35 BlackBox mythfilldatabase: mythfilldatabase[1937008]: I CoreContext mythfilldatabase.cpp:412 (main)     0
replacements made
Apr 15 11:50:35 BlackBox mythfilldatabase: mythfilldatabase[1937008]: I CoreContext mythfilldatabase.cpp:415 (main) Marking
generic episodes.
Apr 15 11:50:37 BlackBox mythfilldatabase: mythfilldatabase[1937008]: I CoreContext mythfilldatabase.cpp:426 (main)     Found 0
Apr 15 11:50:37 BlackBox mythfilldatabase: mythfilldatabase[1937008]: I CoreContext mythfilldatabase.cpp:429 (main) Extending
non-unique programids with multiple parts.
Apr 15 11:50:38 BlackBox mythfilldatabase: mythfilldatabase[1937008]: I CoreContext mythfilldatabase.cpp:479 (main)     Found 0
Apr 15 11:50:38 BlackBox mythfilldatabase: mythfilldatabase[1937008]: I CoreContext mythfilldatabase.cpp:481 (main) Fixing
missing original airdates.
Re: MythFillDatabase running, but not updating anything... [ In reply to ]
On Sat, 2023-04-15 at 12:02 -0700, Douglas Peale wrote:
> MythFillDatabase is running about once a minute, claiming to be
> successful, but the log has errors, and nothing gets updated.
>
> Background: I have done a clean install of Mint Cinnamon 21,
> installed the ppa for MythTV 33 Installed MythTV 33, restored the
> database, implemented all the changes to allow mythTV to shut down
> when idle. Everything appears to be working except it never
> shuts down because mythfilldatabase is running continuously.
>
> MythWeb status says the last successful run of mythfilldatabase was
> on the 9th. I went into Backend Setup, and did not find
> anything that needed fixing, exited and ran mythfilldatabase, it
> appeared to run, but did not update anything.
>
> The following is an excerpt from the log of mythfilldatabase. This
> repeats about once a minute. Yes there are errors, but I have
> no clue what they mean, or how to fix them:
>
> Apr 15 11:49:51 BlackBox mythfilldatabase: mythfilldatabase[1935750]:
> I CoreContext mythfilldatabase.cpp:651 (main)
> #012===============================================================#0
> 12| Attempting to contact the master backend for
> rescheduling.  |#012| If the master is not running, rescheduling will
> happen when |#012| the master backend is restarted.
> > #012===============================================================
> Apr 15 11:49:51 BlackBox mythfilldatabase: mythfilldatabase[1935750]:
> N CoreContext mythfilldatabase.cpp:666 (main)
> mythfilldatabase run complete.
> Apr 15 11:49:51 BlackBox mythfilldatabase: mythfilldatabase[1935750]:
> I CoreContext mythpowerdbus.cpp:73 (~MythPowerDBus)
> PowerDBus: Closing interfaces
> Apr 15 11:49:51 BlackBox mythfilldatabase: mythfilldatabase[1935750]:
> I CoreContext mythcontext.cpp:1678 (~MythContext) Waiting
> for threads to exit.
> Apr 15 11:49:51 BlackBox mythfilldatabase: mythfilldatabase[1935750]:
> I CoreContext mythcontext.cpp:1684 (~MythContext) Exiting
> Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> C thread_unknown mythcommandlineparser.cpp:2903
> (ConfigureLogging) mythfilldatabase version: fixes/33
> [v33.1+fixes.202304101849.51cb10a678~ubuntu22.04.1] http://email.mg.glenb.net/c/eJxEyT2ugzAMAODTkO1FTnAMGXIY4x94ElAJaFFv36FDx0-fNnHWgsFaojGVkYAwLE0BIXOvuWKCooBJMk2kVdCHEST8tz45A6NxZq3qJF7JiEW5eKp5YC5APPVReLO1Q5hX26e42xXWdt933N7Xcr3i45jD0b74e552nB3C7z4BAAD__74FMpw
> Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> C thread_unknown mythcommandlineparser.cpp:2907
> (ConfigureLogging) Qt version: compile: 5.15.3, runtime: 5.15.3
> Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I thread_unknown mythcommandlineparser.cpp:2909
> (ConfigureLogging) Linux Mint 21.1 (x86_64)
> Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> N thread_unknown mythcommandlineparser.cpp:2911
> (ConfigureLogging) Enabled verbose msgs:  general
> Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> N thread_unknown logging.cpp:689 (logStart) Setting Log
> Level to LOG_INFO
> Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I Logger logging.cpp:277 (run) Added logging to the console
> Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I thread_unknown signalhandling.cpp:182
> (SetHandlerPrivate) Setup Interrupt handler
> Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I thread_unknown signalhandling.cpp:182
> (SetHandlerPrivate) Setup Terminated handler
> Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I thread_unknown signalhandling.cpp:182
> (SetHandlerPrivate) Setup Segmentation fault handler
> Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I thread_unknown signalhandling.cpp:182
> (SetHandlerPrivate) Setup Aborted handler
> Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I thread_unknown signalhandling.cpp:182
> (SetHandlerPrivate) Setup Floating point exception handler
> Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I thread_unknown signalhandling.cpp:182
> (SetHandlerPrivate) Setup Illegal instruction handler
> Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I thread_unknown signalhandling.cpp:182
> (SetHandlerPrivate) Setup Bus error handler
> Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I thread_unknown signalhandling.cpp:182
> (SetHandlerPrivate) Setup Real-time signal 0 handler
> Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I thread_unknown signalhandling.cpp:182
> (SetHandlerPrivate) Setup Hangup handler
> Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> N thread_unknown mythdirs.cpp:203 (InitializeMythDirs)
> Using runtime prefix = /usr
> Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> N thread_unknown mythdirs.cpp:204 (InitializeMythDirs)
> Using configuration directory = /home/mythtv/.mythtv
> Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext mythcorecontext.cpp:261 (Init) Assumed
> character encoding: en_US.UTF-8
> Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I LogForward loggingserver.cpp:219 (SyslogLogger) Added
> syslogging
> Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext mythcontext.cpp:584 (LoadDatabaseSettings)
> Empty LocalHostName. This is typical.
> Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext mythcontext.cpp:635 (LoadDatabaseSettings)
> Using a profile name of: 'BlackBox' (Usually the same as this host's
> name.)
> Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext mythcontext.cpp:872 (TestDBconnection) Start
> up testing connections. DB localhost, BE , attempt 0, status dbAwake,
> Delay: 2000
> Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> N CoreContext mythcorecontext.cpp:1826 (InitLocale)
> Setting QT default locale to en_US
> Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext mythcorecontext.cpp:1859
> (SaveLocaleDefaults) Current locale en_US
> Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> N CoreContext mythlocale.cpp:120 (LoadDefaultsFromXML)
> Reading locale defaults from /usr/share/mythtv//locales/en_us.xml
> Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext mythpowerdbus.cpp:540 (AcquireLock)
> PowerDBus: Failed to delay sleep,shutdown: Permission denied
> Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext mythpowerdbus.cpp:368 (DeviceAdded)
> PowerDBus: Added UPower.Device
> '/org/freedesktop/UPower/devices/mouse_hidpp_battery_0'
> Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext mythpower.cpp:354 (PowerLevelChanged) Power:
> On AC power
> Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext mythpower.cpp:136 (Init) Power: Supported
> actions: None
> Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext mythtranslation.cpp:62 (load) Loading en_us
> translation for module mythfrontend
> Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext schemawizard.cpp:117 (Compare) Current
> MythTV Schema Version (DBSchemaVer): 1376
> Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext mythcorecontext.cpp:460
> (ConnectCommandSocket) MythCoreContext::ConnectCommandSocket():
> Connecting to backend server: 127.0.0.1:6543 (try 1 of 1)
> Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext mythcorecontext.cpp:1708 (CheckProtoVersion)
> MythCoreContext::CheckProtoVersion(): Using protocol version 91
> BuzzOff
> Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext mythfilldatabase.cpp:272 (main) Opening
> blocking connection to master backend
> Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext filldata.cpp:326 (Run) Updating source #3
> (NorthWest) with grabber tv_grab_zz_sdjson
> Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext filldata.cpp:341 (Run) Found 101 channels
> for source 3 which use grabber
> Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I SystemSignalManager mythsystemunix.cpp:500 (run)
> Starting process signal handler
> Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I SystemManager mythsystemunix.cpp:274 (run) Starting
> process manager
> Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I SystemIOHandlerR mythsystemunix.cpp:91 (run) Starting IO
> manager (read)
> Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I SystemIOHandlerW mythsystemunix.cpp:91 (run) Starting IO
> manager (write)
> Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> E CoreContext filldata.cpp:370 (Run) tv_grab_zz_sdjson 
> --capabilities failed or we timed out waiting. You may need to
> upgrade your xmltv grabber
> Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> E CoreContext filldata.cpp:677 (Run) Grabbing XMLTV data
> using tv_grab_zz_sdjson is not supported. You may need to upgrade to
> the latest version of XMLTV.
> Apr 15 11:50:34 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext filldata.cpp:326 (Run) Updating source #4
> (North) with grabber tv_grab_zz_sdjson
> Apr 15 11:50:34 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext filldata.cpp:341 (Run) Found 98 channels for
> source 4 which use grabber
> Apr 15 11:50:34 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> E CoreContext filldata.cpp:370 (Run) tv_grab_zz_sdjson 
> --capabilities failed or we timed out waiting. You may need to
> upgrade your xmltv grabber
> Apr 15 11:50:34 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> E CoreContext filldata.cpp:677 (Run) Grabbing XMLTV data
> using tv_grab_zz_sdjson is not supported. You may need to upgrade to
> the latest version of XMLTV.
> Apr 15 11:50:34 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext filldata.cpp:326 (Run) Updating source #5
> (South) with grabber tv_grab_zz_sdjson
> Apr 15 11:50:34 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext filldata.cpp:341 (Run) Found 19 channels for
> source 5 which use grabber
> Apr 15 11:50:34 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> E CoreContext filldata.cpp:370 (Run) tv_grab_zz_sdjson 
> --capabilities failed or we timed out waiting. You may need to
> upgrade your xmltv grabber
> Apr 15 11:50:34 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> E CoreContext filldata.cpp:677 (Run) Grabbing XMLTV data
> using tv_grab_zz_sdjson is not supported. You may need to upgrade to
> the latest version of XMLTV.
> Apr 15 11:50:35 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext filldata.cpp:326 (Run) Updating source #6
> (NorthWest ATSC3) with grabber tv_grab_zz_sdjson
> Apr 15 11:50:35 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext filldata.cpp:341 (Run) Found 101 channels
> for source 6 which use grabber
> Apr 15 11:50:35 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> E CoreContext filldata.cpp:370 (Run) tv_grab_zz_sdjson 
> --capabilities failed or we timed out waiting. You may need to
> upgrade your xmltv grabber
> Apr 15 11:50:35 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> E CoreContext filldata.cpp:677 (Run) Grabbing XMLTV data
> using tv_grab_zz_sdjson is not supported. You may need to upgrade to
> the latest version of XMLTV.
> Apr 15 11:50:35 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> N CoreContext mythfilldatabase.cpp:399 (main) Data
> fetching complete.
> Apr 15 11:50:35 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext mythfilldatabase.cpp:407 (main) Adjusting
> program database end times.
> Apr 15 11:50:35 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext mythfilldatabase.cpp:412 (main)     0
> replacements made
> Apr 15 11:50:35 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext mythfilldatabase.cpp:415 (main) Marking
> generic episodes.
> Apr 15 11:50:37 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext mythfilldatabase.cpp:426 (main)     Found 0
> Apr 15 11:50:37 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext mythfilldatabase.cpp:429 (main) Extending
> non-unique programids with multiple parts.
> Apr 15 11:50:38 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext mythfilldatabase.cpp:479 (main)     Found 0
> Apr 15 11:50:38 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext mythfilldatabase.cpp:481 (main) Fixing
> missing original airdates.
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://email.mg.glenb.net/c/eJxMi8FOxSAQRb8GdjbDlE7pgoWb_scAwysJ8ExBE__eaEx0ee85J_mYOW1WizfkzOYIyOrLG8wAYkIgcA5wJ0MYdgBn6bC0Rl38ajIDW2HkdKRMMR8kxDHxls2BO_MGxGFdIjepysKjSg9Ll6mrv-Z8U-urwlPhWcuYY2mf85ofy_N-KDwbl9q4_8LS8_P7_DFe3ofcQ9_-_1QW_vqvAAAA__-90ENo
> http://email.mg.glenb.net/c/eJxEyz1SxSAQAODTQGcGCD-hoLBJpWd4s7C7CSMvarJPx9tbWNh_H5bGgMFrKjYuNizRRK_3Ahywss0-UQrJLMwV3ByqS1wJPepeZstgwBM4wIwcG-dIERpCYJtdAggmQp2nBncayptt0FGng0SPsot8qPlZuVW59bu_9en-I7t8Te_nptz6Cn30Y7u99EtuJP3zQSKkz_Knnh4XnZfy5j_9BgAA___2e0FL
> MythTV Forums: http://email.mg.glenb.net/c/eJxEybFuxCAMANCvga2RMeALA0OX-w9j7Eul5K4ipFL_vkOHG59er2Lcc_JaA60hrwSU_FYVJRkoQotFMDdeMcSbRdEsQCb-q8ZgDJyUkXvpRmKFlFg6ZwsFb8wZiFtchA_dXYLHrs-2PHX6vW5zfp8ufjq8O7zba1zHcvzObf4sr_Hwo_7j4zp1nC7B-_4CAAD__0YbOCo
the log reports grab sdjson is not supported and is asking to upgrade
to later version. you would have to go through the xmltv wiki for
mythtv. i find it much easier to run mythfilldatabase outside of myth
backend with just a daily timer. i grab the xml for the listings on a
'channels' basis rather than grab everything and then run
mythfilldatabase with --file option and specify the xml file grabbed
and the source id in myth. either way first update your xmltv grabbers
and test. 
Re: MythFillDatabase running, but not updating anything... [ In reply to ]
On Saturday 15 April 2023 02:02:49 PM (-05:00), Douglas Peale wrote:

...

> Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]: E
CoreContext filldata.cpp:370 (Run) tv_grab_zz_sdjson

...

Is tv_grab_zz_sdjson installed?
--
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 running, but not updating anything... [ In reply to ]
On 4/15/23 13:09, Bill Meek wrote:
>
> On Saturday 15 April 2023 02:02:49 PM (-05:00), Douglas Peale wrote:
>
> ...
>
> > Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]: E CoreContext filldata.cpp:370 (Run) tv_grab_zz_sdjson
> ...
>
> Is tv_grab_zz_sdjson installed?

It was not.

I tried running it, and it told me that I could install it by installing xmltv-util.

Is there a reason this is not automatically installed when mythTV is installed?

I ran backend setup again so I could force a mythfilldatabase run.

It now reports that it failed, and Mythweb actually reports that it ran today but failed, so the results are at least different now.

I still don't know what I need to do to fix it.

MythFillDatabase.log excerpt:

Apr 15 13:21:51 BlackBox mythfilldatabase: mythfilldatabase[2092808]: N CoreContext mythfilldatabase.cpp:666 (main)
mythfilldatabase run complete.
Apr 15 13:21:51 BlackBox mythfilldatabase: mythfilldatabase[2092808]: I CoreContext mythpowerdbus.cpp:73 (~MythPowerDBus)
PowerDBus: Closing interfaces
Apr 15 13:21:51 BlackBox mythfilldatabase: mythfilldatabase[2092808]: I CoreContext mythcontext.cpp:1678 (~MythContext) Waiting
for threads to exit.
Apr 15 13:21:51 BlackBox mythfilldatabase: mythfilldatabase[2092808]: I CoreContext mythcontext.cpp:1684 (~MythContext) Exiting
Apr 15 13:22:31 BlackBox mythfilldatabase: mythfilldatabase[2096762]: C thread_unknown mythcommandlineparser.cpp:2903
(ConfigureLogging) mythfilldatabase version: fixes/33 [v33.1+fixes.202304101849.51cb10a678~ubuntu22.04.1] www.mythtv.org
Apr 15 13:22:31 BlackBox mythfilldatabase: mythfilldatabase[2096762]: C thread_unknown mythcommandlineparser.cpp:2907
(ConfigureLogging) Qt version: compile: 5.15.3, runtime: 5.15.3
Apr 15 13:22:31 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I thread_unknown mythcommandlineparser.cpp:2909
(ConfigureLogging) Linux Mint 21.1 (x86_64)
Apr 15 13:22:31 BlackBox mythfilldatabase: mythfilldatabase[2096762]: N thread_unknown mythcommandlineparser.cpp:2911
(ConfigureLogging) Enabled verbose msgs:  general
Apr 15 13:22:31 BlackBox mythfilldatabase: mythfilldatabase[2096762]: N thread_unknown logging.cpp:689 (logStart) Setting Log
Level to LOG_INFO
Apr 15 13:22:31 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I Logger logging.cpp:277 (run) Added logging to the console
Apr 15 13:22:31 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I thread_unknown signalhandling.cpp:182
(SetHandlerPrivate) Setup Interrupt handler
Apr 15 13:22:31 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I thread_unknown signalhandling.cpp:182
(SetHandlerPrivate) Setup Terminated handler
Apr 15 13:22:31 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I thread_unknown signalhandling.cpp:182
(SetHandlerPrivate) Setup Segmentation fault handler
Apr 15 13:22:31 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I thread_unknown signalhandling.cpp:182
(SetHandlerPrivate) Setup Aborted handler
Apr 15 13:22:31 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I thread_unknown signalhandling.cpp:182
(SetHandlerPrivate) Setup Floating point exception handler
Apr 15 13:22:31 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I thread_unknown signalhandling.cpp:182
(SetHandlerPrivate) Setup Illegal instruction handler
Apr 15 13:22:31 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I thread_unknown signalhandling.cpp:182
(SetHandlerPrivate) Setup Bus error handler
Apr 15 13:22:31 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I thread_unknown signalhandling.cpp:182
(SetHandlerPrivate) Setup Real-time signal 0 handler
Apr 15 13:22:31 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I thread_unknown signalhandling.cpp:182
(SetHandlerPrivate) Setup Hangup handler
Apr 15 13:22:31 BlackBox mythfilldatabase: mythfilldatabase[2096762]: N thread_unknown mythdirs.cpp:203 (InitializeMythDirs)
Using runtime prefix = /usr
Apr 15 13:22:31 BlackBox mythfilldatabase: mythfilldatabase[2096762]: N thread_unknown mythdirs.cpp:204 (InitializeMythDirs)
Using configuration directory = /home/mythtv/.mythtv
Apr 15 13:22:31 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I CoreContext mythcorecontext.cpp:261 (Init) Assumed
character encoding: en_US.UTF-8
Apr 15 13:22:31 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I LogForward loggingserver.cpp:219 (SyslogLogger) Added
syslogging
Apr 15 13:22:31 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I CoreContext mythcontext.cpp:584 (LoadDatabaseSettings)
Empty LocalHostName. This is typical.
Apr 15 13:22:31 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I CoreContext mythcontext.cpp:635 (LoadDatabaseSettings)
Using a profile name of: 'BlackBox' (Usually the same as this host's name.)
Apr 15 13:22:31 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I CoreContext mythcontext.cpp:872 (TestDBconnection) Start
up testing connections. DB localhost, BE , attempt 0, status dbAwake, Delay: 2000
Apr 15 13:22:33 BlackBox mythfilldatabase: mythfilldatabase[2096762]: N CoreContext mythcorecontext.cpp:1826 (InitLocale)
Setting QT default locale to en_US
Apr 15 13:22:33 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I CoreContext mythcorecontext.cpp:1859
(SaveLocaleDefaults) Current locale en_US
Apr 15 13:22:33 BlackBox mythfilldatabase: mythfilldatabase[2096762]: N CoreContext mythlocale.cpp:120 (LoadDefaultsFromXML)
Reading locale defaults from /usr/share/mythtv//locales/en_us.xml
Apr 15 13:22:33 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I CoreContext mythpowerdbus.cpp:540 (AcquireLock)
PowerDBus: Failed to delay sleep,shutdown: Permission denied
Apr 15 13:22:33 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I CoreContext mythpowerdbus.cpp:368 (DeviceAdded)
PowerDBus: Added UPower.Device '/org/freedesktop/UPower/devices/mouse_hidpp_battery_0'
Apr 15 13:22:33 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I CoreContext mythpower.cpp:354 (PowerLevelChanged) Power:
On AC power
Apr 15 13:22:33 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I CoreContext mythpower.cpp:136 (Init) Power: Supported
actions: None
Apr 15 13:22:33 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I CoreContext mythtranslation.cpp:62 (load) Loading en_us
translation for module mythfrontend
Apr 15 13:22:33 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I CoreContext schemawizard.cpp:117 (Compare) Current
MythTV Schema Version (DBSchemaVer): 1376
Apr 15 13:22:33 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I CoreContext mythcorecontext.cpp:460
(ConnectCommandSocket) MythCoreContext::ConnectCommandSocket(): Connecting to backend server: 127.0.0.1:6543 (try 1 of 1)
Apr 15 13:22:33 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I CoreContext mythcorecontext.cpp:1708 (CheckProtoVersion)
MythCoreContext::CheckProtoVersion(): Using protocol version 91 BuzzOff
Apr 15 13:22:33 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I CoreContext mythfilldatabase.cpp:272 (main) Opening
blocking connection to master backend
Apr 15 13:22:33 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I CoreContext filldata.cpp:326 (Run) Updating source #3
(NorthWest) with grabber tv_grab_zz_sdjson
Apr 15 13:22:33 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I CoreContext filldata.cpp:341 (Run) Found 101 channels
for source 3 which use grabber
Apr 15 13:22:33 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I SystemManager mythsystemunix.cpp:274 (run) Starting
process manager
Apr 15 13:22:33 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I SystemSignalManager mythsystemunix.cpp:500 (run)
Starting process signal handler
Apr 15 13:22:33 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I SystemIOHandlerR mythsystemunix.cpp:91 (run) Starting IO
manager (read)
Apr 15 13:22:33 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I SystemIOHandlerW mythsystemunix.cpp:91 (run) Starting IO
manager (write)
Apr 15 13:22:33 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I CoreContext filldata.cpp:408 (Run) Grabber has
capabilities: baseline manualconfig preferredmethod
Apr 15 13:22:34 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I CoreContext filldata.cpp:433 (Run) Grabber prefers
method: allatonce
Apr 15 13:22:34 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I CoreContext filldata.cpp:149 (GrabData) XMLTV config
file is: /home/mythtv/.mythtv/NorthWest.xmltv
Apr 15 13:22:34 BlackBox mythfilldatabase: mythfilldatabase[2096762]: E CoreContext filldata.cpp:224 (GrabData) XMLTV grabber
returned error code 1
Apr 15 13:22:34 BlackBox mythfilldatabase: mythfilldatabase[2096762]: E CoreContext xmltvparser.cpp:841 (parseFile) Malformed
XML file, missing </tv> element, at line 1, Premature end of document.
Apr 15 13:22:35 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I CoreContext filldata.cpp:326 (Run) Updating source #4
(North) with grabber tv_grab_zz_sdjson
Apr 15 13:22:35 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I CoreContext filldata.cpp:341 (Run) Found 98 channels for
source 4 which use grabber
Apr 15 13:22:35 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I CoreContext filldata.cpp:408 (Run) Grabber has
capabilities: baseline manualconfig preferredmethod
Apr 15 13:22:35 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I CoreContext filldata.cpp:433 (Run) Grabber prefers
method: allatonce
Apr 15 13:22:35 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I CoreContext filldata.cpp:149 (GrabData) XMLTV config
file is: /home/mythtv/.mythtv/North.xmltv
Apr 15 13:22:36 BlackBox mythfilldatabase: mythfilldatabase[2096762]: E CoreContext filldata.cpp:224 (GrabData) XMLTV grabber
returned error code 1
Apr 15 13:22:36 BlackBox mythfilldatabase: mythfilldatabase[2096762]: E CoreContext xmltvparser.cpp:841 (parseFile) Malformed
XML file, missing </tv> element, at line 1, Premature end of document.
Apr 15 13:22:36 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I CoreContext filldata.cpp:326 (Run) Updating source #5
(South) with grabber tv_grab_zz_sdjson
Apr 15 13:22:36 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I CoreContext filldata.cpp:341 (Run) Found 19 channels for
source 5 which use grabber
Apr 15 13:22:37 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I CoreContext filldata.cpp:408 (Run) Grabber has
capabilities: baseline manualconfig preferredmethod
Apr 15 13:22:37 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I CoreContext filldata.cpp:433 (Run) Grabber prefers
method: allatonce
Apr 15 13:22:37 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I CoreContext filldata.cpp:149 (GrabData) XMLTV config
file is: /home/mythtv/.mythtv/South.xmltv
Apr 15 13:22:37 BlackBox mythfilldatabase: mythfilldatabase[2096762]: E CoreContext filldata.cpp:224 (GrabData) XMLTV grabber
returned error code 1
Apr 15 13:22:37 BlackBox mythfilldatabase: mythfilldatabase[2096762]: E CoreContext xmltvparser.cpp:841 (parseFile) Malformed
XML file, missing </tv> element, at line 1, Premature end of document.
Apr 15 13:22:38 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I CoreContext filldata.cpp:326 (Run) Updating source #6
(NorthWest ATSC3) with grabber tv_grab_zz_sdjson
Apr 15 13:22:38 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I CoreContext filldata.cpp:341 (Run) Found 101 channels
for source 6 which use grabber
Apr 15 13:22:38 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I CoreContext filldata.cpp:408 (Run) Grabber has
capabilities: baseline manualconfig preferredmethod
Apr 15 13:22:38 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I CoreContext filldata.cpp:433 (Run) Grabber prefers
method: allatonce
Apr 15 13:22:38 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I CoreContext filldata.cpp:149 (GrabData) XMLTV config
file is: /home/mythtv/.mythtv/NorthWest ATSC3.xmltv
Apr 15 13:22:38 BlackBox mythfilldatabase: mythfilldatabase[2096762]: E CoreContext filldata.cpp:224 (GrabData) XMLTV grabber
returned error code 1
Apr 15 13:22:39 BlackBox mythfilldatabase: mythfilldatabase[2096762]: E CoreContext xmltvparser.cpp:841 (parseFile) Malformed
XML file, missing </tv> element, at line 1, Premature end of document.
Apr 15 13:22:39 BlackBox mythfilldatabase: mythfilldatabase[2096762]: E CoreContext mythfilldatabase.cpp:397 (main) Failed to
fetch some program info
Apr 15 13:22:39 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I CoreContext mythfilldatabase.cpp:407 (main) Adjusting
program database end times.
Apr 15 13:22:39 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I CoreContext mythfilldatabase.cpp:412 (main)     0
replacements made
Apr 15 13:22:39 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I CoreContext mythfilldatabase.cpp:415 (main) Marking
generic episodes.
Apr 15 13:22:40 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I CoreContext mythfilldatabase.cpp:426 (main)     Found 0
Apr 15 13:22:40 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I CoreContext mythfilldatabase.cpp:429 (main) Extending
non-unique programids with multiple parts.
Apr 15 13:22:42 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I CoreContext mythfilldatabase.cpp:479 (main)     Found 0
Apr 15 13:22:42 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I CoreContext mythfilldatabase.cpp:481 (main) Fixing
missing original airdates.
Apr 15 13:22:44 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I CoreContext mythfilldatabase.cpp:495 (main)     Found 0
with programids
Apr 15 13:22:44 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I CoreContext mythfilldatabase.cpp:517 (main)     Found 0
without programids
Apr 15 13:22:44 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I CoreContext mythfilldatabase.cpp:524 (main) Marking repeats.
Apr 15 13:22:46 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I CoreContext mythfilldatabase.cpp:537 (main)     Found 0
Apr 15 13:22:46 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I CoreContext mythfilldatabase.cpp:540 (main) Unmarking
new episode rebroadcast repeats.
Apr 15 13:22:47 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I CoreContext mythfilldatabase.cpp:549 (main)     Found 0
Apr 15 13:22:49 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I CoreContext mythfilldatabase.cpp:559 (main) Marking
episode first showings.
Apr 15 13:22:52 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I CoreContext mythfilldatabase.cpp:595 (main)     Found 92529
Apr 15 13:22:52 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I CoreContext mythfilldatabase.cpp:597 (main) Marking
episode last showings.
Apr 15 13:22:55 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I CoreContext mythfilldatabase.cpp:633 (main)     Found 93798
Apr 15 13:22:55 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I CoreContext mythfilldatabase.cpp:651 (main)
#012===============================================================#012| Attempting to contact the master backend for
rescheduling.  |#012| If the master is not running, rescheduling will happen when |#012| the master backend is restarted.
|#012===============================================================
Apr 15 13:22:55 BlackBox mythfilldatabase: mythfilldatabase[2096762]: N CoreContext mythfilldatabase.cpp:666 (main)
mythfilldatabase run complete.
Apr 15 13:22:55 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I CoreContext mythpowerdbus.cpp:73 (~MythPowerDBus)
PowerDBus: Closing interfaces
Apr 15 13:22:55 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I CoreContext mythcontext.cpp:1678 (~MythContext) Waiting
for threads to exit.
Apr 15 13:22:55 BlackBox mythfilldatabase: mythfilldatabase[2096762]: I CoreContext mythcontext.cpp:1684 (~MythContext) Exiting
Re: MythFillDatabase running, but not updating anything... [ In reply to ]
On Saturday 15 April 2023 03:30:10 PM (-05:00), Douglas Peale wrote:

> On 4/15/23 13:09, Bill Meek wrote:
> >
> > On Saturday 15 April 2023 02:02:49 PM (-05:00), Douglas Peale wrote:
> >
> > ...
> >
> > > Apr 15 11:50:33 BlackBox mythfilldatabase:
mythfilldatabase[1937008]: E CoreContext filldata.cpp:370 (Run)
tv_grab_zz_sdjson
> > ...
> >
> > Is tv_grab_zz_sdjson installed?
>
> It was not.
>
> I tried running it, and it told me that I could install it by installing
xmltv-util.
>
> Is there a reason this is not automatically installed when mythTV is
installed?

Good question, I'd say because XMLTV grabbers get selected by the user. I
use the
SQLite version too. Others like the text one. And then there's all of the
grabbers for other
countries.

> I ran backend setup again so I could force a mythfilldatabase run.
>
> It now reports that it failed, and Mythweb actually reports that it ran
today but failed, so the results are at least different now.
>
> I still don't know what I need to do to fix it.
>
> MythFillDatabase.log excerpt:

...

> Apr 15 13:22:37 BlackBox mythfilldatabase: mythfilldatabase[2096762]: E
CoreContext filldata.cpp:224 (GrabData) XMLTV grabber returned error code 1
> Apr 15 13:22:37 BlackBox mythfilldatabase: mythfilldatabase[2096762]: E
CoreContext xmltvparser.cpp:841 (parseFile) Malformed XML file, missing
element, at line 1, Premature end of document.
...


I'd run it again but add: -v system,xmltv


You'll see the actual command like used by the grabber. Run that (also as
user mythtv) for clues.

--
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 running, but not updating anything... [ In reply to ]
On Sat, Apr 15, 2023 at 8:31?PM Douglas Peale <Douglas_Peale@comcast.net> wrote:

> Is there a reason this is not automatically installed when mythTV is installed?

Because it is an optional component. Some
package management systems, or packagers,
will suggest or recommend installing xmltv as
part of the installation, but there are some
people for which the EIT guide data from the
video source capture are sufficient, and do
not wish to have xmltv.

> I ran backend setup again so I could force a mythfilldatabase run.
>
> It now reports that it failed, and Mythweb actually reports that it ran today but failed, so the results are at least different now.

Unless you copied the grabber configuration
from your previous system you will likely need
to run the grabber configure steps to recreate
the information needed to actually obtain data.
Just refer to your notes when you previously
installed.
_______________________________________________
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 running, but not updating anything... [ In reply to ]
On 4/15/23 14:34, Bill Meek wrote:
>
> On Saturday 15 April 2023 03:30:10 PM (-05:00), Douglas Peale wrote:
>
> > On 4/15/23 13:09, Bill Meek wrote:
> > >
> > > On Saturday 15 April 2023 02:02:49 PM (-05:00), Douglas Peale wrote:
> > >
> > > ...
> > >
> > > > Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]: E CoreContext filldata.cpp:370 (Run)
> tv_grab_zz_sdjson
> > > ...
> > >
> > > Is tv_grab_zz_sdjson installed?
> > > It was not.
> > > I tried running it, and it told me that I could install it by installing xmltv-util.
> > > Is there a reason this is not automatically installed when mythTV is installed?
>
> Good question, I'd say because XMLTV grabbers get selected by the user. I use the
> SQLite version too. Others like the text one. And then there's all of the grabbers for other
> countries.
>
> > I ran backend setup again so I could force a mythfilldatabase run.
> > > It now reports that it failed, and Mythweb actually reports that it ran today but failed, so the results are at least
> different now.
> > > I still don't know what I need to do to fix it.
> > > MythFillDatabase.log excerpt:
>
> ...
>
> > Apr 15 13:22:37 BlackBox mythfilldatabase: mythfilldatabase[2096762]: E CoreContext filldata.cpp:224 (GrabData) XMLTV
> grabber returned error code 1
> > Apr 15 13:22:37 BlackBox mythfilldatabase: mythfilldatabase[2096762]: E CoreContext xmltvparser.cpp:841 (parseFile)
> Malformed XML file, missing  element, at line 1, Premature end  of  document.
> ...
>
>
> I'd run it again but add: -v system,xmltv
>
>
> You'll see the actual command like used by the grabber. Run that (also as user mythtv) for clues.
>
I ran sudo -u mythtv mythfilldatabase -v system,xmltv

There was an error that said I needed to run tv_grab_zz_sdjson with --configure, so I ran

sudo -u mythtv tv_grab_zz_sdjson --configure

used all the defaults except which lineup to use

ran

sudo -u mythtv mythfilldatabase -v system,xmltv

again and got the same error.

Ran

tv_grab_zz_sdjson --configure

again as myself, and it still says I need to run it with --configure

What am I missing?

results of the run:

sudo -u mythtv mythfilldatabase -v system,xmltv
2023-04-15 19:51:46.581874 C  mythfilldatabase version: fixes/33 [v33.1+fixes.202304101849.51cb10a678~ubuntu22.04.1] www.mythtv.org
2023-04-15 19:51:46.581880 C  Qt version: compile: 5.15.3, runtime: 5.15.3
2023-04-15 19:51:46.581912 I  Linux Mint 21.1 (x86_64)
2023-04-15 19:51:46.581913 N  Enabled verbose msgs:  general system xmltv
2023-04-15 19:51:46.581917 N  Setting Log Level to LOG_INFO
2023-04-15 19:51:46.592120 I  Added logging to the console
2023-04-15 19:51:46.592322 I  Setup Interrupt handler
2023-04-15 19:51:46.592325 I  Setup Terminated handler
2023-04-15 19:51:46.592327 I  Setup Segmentation fault handler
2023-04-15 19:51:46.592328 I  Setup Aborted handler
2023-04-15 19:51:46.592330 I  Setup Floating point exception handler
2023-04-15 19:51:46.592332 I  Setup Illegal instruction handler
2023-04-15 19:51:46.592333 I  Setup Bus error handler
2023-04-15 19:51:46.592345 I  Setup Real-time signal 0 handler
2023-04-15 19:51:46.592347 I  Setup Hangup handler
2023-04-15 19:51:46.592403 N  Using runtime prefix = /usr
2023-04-15 19:51:46.592404 N  Using configuration directory = /home/mythtv/.mythtv
2023-04-15 19:51:46.592425 I  Assumed character encoding: en_US.UTF-8
2023-04-15 19:51:46.592601 I  Empty LocalHostName. This is typical.
2023-04-15 19:51:46.592606 I  Using a profile name of: 'BlackBox' (Usually the same as this host's name.)
2023-04-15 19:51:46.592679 I  Start up testing connections. DB localhost, BE , attempt 0, status dbAwake, Delay: 2000
2023-04-15 19:51:47.600456 N  Setting QT default locale to en_US
2023-04-15 19:51:47.600464 I  Current locale en_US
2023-04-15 19:51:47.600513 N  Reading locale defaults from /usr/share/mythtv//locales/en_us.xml
2023-04-15 19:51:47.608824 I  PowerDBus: Added UPower.Device '/org/freedesktop/UPower/devices/mouse_hidpp_battery_0'
2023-04-15 19:51:47.608964 I  Power: On AC power
2023-04-15 19:51:47.624867 I  Power: Supported actions: Suspend,Restart,Shutdown
2023-04-15 19:51:47.625253 I  Loading en_us translation for module mythfrontend
2023-04-15 19:51:47.625815 I  Current MythTV Schema Version (DBSchemaVer): 1376
2023-04-15 19:51:47.626814 I MythCoreContext::ConnectCommandSocket(): Connecting to backend server: 127.0.0.1:6543 (try 1 of 1)
2023-04-15 19:51:47.628192 I MythCoreContext::CheckProtoVersion(): Using protocol version 91 BuzzOff
2023-04-15 19:51:47.628369 I  Opening blocking connection to master backend
2023-04-15 19:51:48.015931 I  Updating source #3 (NorthWest) with grabber tv_grab_zz_sdjson
2023-04-15 19:51:48.016763 I  Found 101 channels for source 3 which use grabber
2023-04-15 19:51:48.016973 I  Starting IO manager (read)
2023-04-15 19:51:48.018671 I  Managed child (PID: 2439279) has started! * command=tv_grab_zz_sdjson --capabilities, timeout=25
2023-04-15 19:51:48.018734 I  Starting process signal handler
2023-04-15 19:51:48.018759 I  Starting process manager
2023-04-15 19:51:48.018766 I  Starting IO manager (write)
2023-04-15 19:51:48.240494 I  Managed child (PID: 2439279) has exited! command=tv_grab_zz_sdjson --capabilities, status=0, result=0
2023-04-15 19:51:48.269144 I  Grabber has capabilities: baseline manualconfig preferredmethod
2023-04-15 19:51:48.270488 I  Managed child (PID: 2439281) has started! * command=tv_grab_zz_sdjson --preferredmethod, timeout=15
2023-04-15 19:51:48.491413 I  Managed child (PID: 2439281) has exited! command=tv_grab_zz_sdjson --preferredmethod, status=0,
result=0
2023-04-15 19:51:48.519479 I  Grabber prefers method: allatonce
2023-04-15 19:51:48.519982 I  XMLTV config file is: /home/mythtv/.mythtv/NorthWest.xmltv
2023-04-15 19:51:48.521189 I  Grabber Command: nice tv_grab_zz_sdjson --config-file '/home/mythtv/.mythtv/NorthWest.xmltv'
--output /tmp/mythA5z3HX
2023-04-15 19:51:48.521190 I  ----------------- Start of XMLTV output -----------------
2023-04-15 19:51:48.522086 I  Managed child (PID: 2439283) has started! * command=nice tv_grab_zz_sdjson --config-file
'/home/mythtv/.mythtv/NorthWest.xmltv' --output /tmp/mythA5z3HX, timeout=0
2023-04-15 19:51:48.763258 I  Managed child (PID: 2439283) has exited! command=nice tv_grab_zz_sdjson --config-file
'/home/mythtv/.mythtv/NorthWest.xmltv' --output /tmp/mythA5z3HX, status=256, result=1
2023-04-15 19:51:48.769818 I  You need to configure the grabber by running it with --configure
2023-04-15 19:51:48.769821 I  ------------------ End of XMLTV output ------------------
2023-04-15 19:51:48.770409 E  XMLTV grabber returned error code 1
2023-04-15 19:51:48.772591 I  Managed child (PID: 2439285) has started! * command=/usr/share/mythtv/metadata/Movie/tmdb3.py -v,
timeout=0
2023-04-15 19:51:48.852980 I  Managed child (PID: 2439285) has exited! command=/usr/share/mythtv/metadata/Movie/tmdb3.py -v,
status=0, result=0
2023-04-15 19:51:48.871949 I  Managed child (PID: 2439287) has started! *
command=/usr/share/mythtv/metadata/Television/ttvdb4.py -v, timeout=0
2023-04-15 19:51:48.912173 I  Managed child (PID: 2439287) has exited! command=/usr/share/mythtv/metadata/Television/ttvdb4.py
-v, status=0, result=0
2023-04-15 19:51:48.920152 E  Malformed XML file, missing </tv> element, at line 1, Premature end of document.
2023-04-15 19:51:49.715843 I  Updating source #4 (North) with grabber tv_grab_zz_sdjson
2023-04-15 19:51:49.716645 I  Found 98 channels for source 4 which use grabber
2023-04-15 19:51:49.717680 I  Managed child (PID: 2439346) has started! * command=tv_grab_zz_sdjson --capabilities, timeout=25
2023-04-15 19:51:49.959849 I  Managed child (PID: 2439346) has exited! command=tv_grab_zz_sdjson --capabilities, status=0, result=0
2023-04-15 19:51:49.971627 I  Grabber has capabilities: baseline manualconfig preferredmethod
2023-04-15 19:51:49.972977 I  Managed child (PID: 2439351) has started! * command=tv_grab_zz_sdjson --preferredmethod, timeout=15
2023-04-15 19:51:50.193847 I  Managed child (PID: 2439351) has exited! command=tv_grab_zz_sdjson --preferredmethod, status=0,
result=0
2023-04-15 19:51:50.221953 I  Grabber prefers method: allatonce
2023-04-15 19:51:50.222634 I  XMLTV config file is: /home/mythtv/.mythtv/North.xmltv
2023-04-15 19:51:50.223648 I  Grabber Command: nice tv_grab_zz_sdjson --config-file '/home/mythtv/.mythtv/North.xmltv' --output
/tmp/myth1OHF8L
2023-04-15 19:51:50.223649 I  ----------------- Start of XMLTV output -----------------
2023-04-15 19:51:50.224651 I  Managed child (PID: 2439353) has started! * command=nice tv_grab_zz_sdjson --config-file
'/home/mythtv/.mythtv/North.xmltv' --output /tmp/myth1OHF8L, timeout=0
2023-04-15 19:51:50.465526 I  Managed child (PID: 2439353) has exited! command=nice tv_grab_zz_sdjson --config-file
'/home/mythtv/.mythtv/North.xmltv' --output /tmp/myth1OHF8L, status=256, result=1
2023-04-15 19:51:50.472254 I  You need to configure the grabber by running it with --configure
2023-04-15 19:51:50.472256 I  ------------------ End of XMLTV output ------------------
2023-04-15 19:51:50.472894 E  XMLTV grabber returned error code 1
2023-04-15 19:51:50.474743 I  Managed child (PID: 2439355) has started! * command=/usr/share/mythtv/metadata/Movie/tmdb3.py -v,
timeout=0
2023-04-15 19:51:50.555077 I  Managed child (PID: 2439355) has exited! command=/usr/share/mythtv/metadata/Movie/tmdb3.py -v,
status=0, result=0
2023-04-15 19:51:50.573761 I  Managed child (PID: 2439357) has started! *
command=/usr/share/mythtv/metadata/Television/ttvdb4.py -v, timeout=0
2023-04-15 19:51:50.613985 I  Managed child (PID: 2439357) has exited! command=/usr/share/mythtv/metadata/Television/ttvdb4.py
-v, status=0, result=0
2023-04-15 19:51:50.622607 E  Malformed XML file, missing </tv> element, at line 1, Premature end of document.
2023-04-15 19:51:51.083388 I  Updating source #5 (South) with grabber tv_grab_zz_sdjson
2023-04-15 19:51:51.083705 I  Found 19 channels for source 5 which use grabber
2023-04-15 19:51:51.084817 I  Managed child (PID: 2439359) has started! * command=tv_grab_zz_sdjson --capabilities, timeout=25
2023-04-15 19:51:51.325847 I  Managed child (PID: 2439359) has exited! command=tv_grab_zz_sdjson --capabilities, status=0, result=0
2023-04-15 19:51:51.373405 I  Grabber has capabilities: baseline manualconfig preferredmethod
2023-04-15 19:51:51.374361 I  Managed child (PID: 2439361) has started! * command=tv_grab_zz_sdjson --preferredmethod, timeout=15
2023-04-15 19:51:51.595164 I  Managed child (PID: 2439361) has exited! command=tv_grab_zz_sdjson --preferredmethod, status=0,
result=0
2023-04-15 19:51:51.623704 I  Grabber prefers method: allatonce
2023-04-15 19:51:51.624013 I  XMLTV config file is: /home/mythtv/.mythtv/South.xmltv
2023-04-15 19:51:51.624978 I  Grabber Command: nice tv_grab_zz_sdjson --config-file '/home/mythtv/.mythtv/South.xmltv' --output
/tmp/mythhPnt27
2023-04-15 19:51:51.624979 I  ----------------- Start of XMLTV output -----------------
2023-04-15 19:51:51.625848 I  Managed child (PID: 2439363) has started! * command=nice tv_grab_zz_sdjson --config-file
'/home/mythtv/.mythtv/South.xmltv' --output /tmp/mythhPnt27, timeout=0
2023-04-15 19:51:51.866725 I  Managed child (PID: 2439363) has exited! command=nice tv_grab_zz_sdjson --config-file
'/home/mythtv/.mythtv/South.xmltv' --output /tmp/mythhPnt27, status=256, result=1
2023-04-15 19:51:51.874035 I  You need to configure the grabber by running it with --configure
2023-04-15 19:51:51.874036 I  ------------------ End of XMLTV output ------------------
2023-04-15 19:51:51.874662 E  XMLTV grabber returned error code 1
2023-04-15 19:51:51.876121 I  Managed child (PID: 2439365) has started! * command=/usr/share/mythtv/metadata/Movie/tmdb3.py -v,
timeout=0
2023-04-15 19:51:51.956455 I  Managed child (PID: 2439365) has exited! command=/usr/share/mythtv/metadata/Movie/tmdb3.py -v,
status=0, result=0
2023-04-15 19:51:51.975532 I  Managed child (PID: 2439367) has started! *
command=/usr/share/mythtv/metadata/Television/ttvdb4.py -v, timeout=0
2023-04-15 19:51:52.015736 I  Managed child (PID: 2439367) has exited! command=/usr/share/mythtv/metadata/Television/ttvdb4.py
-v, status=0, result=0
2023-04-15 19:51:52.024419 E  Malformed XML file, missing </tv> element, at line 1, Premature end of document.
2023-04-15 19:51:52.514793 I  Updating source #6 (NorthWest ATSC3) with grabber tv_grab_zz_sdjson
2023-04-15 19:51:52.515616 I  Found 101 channels for source 6 which use grabber
2023-04-15 19:51:52.516777 I  Managed child (PID: 2439369) has started! * command=tv_grab_zz_sdjson --capabilities, timeout=25
2023-04-15 19:51:52.759979 I  Managed child (PID: 2439369) has exited! command=tv_grab_zz_sdjson --capabilities, status=0, result=0
2023-04-15 19:51:52.775188 I  Grabber has capabilities: baseline manualconfig preferredmethod
2023-04-15 19:51:52.776730 I  Managed child (PID: 2439371) has started! * command=tv_grab_zz_sdjson --preferredmethod, timeout=15
2023-04-15 19:51:52.997559 I  Managed child (PID: 2439371) has exited! command=tv_grab_zz_sdjson --preferredmethod, status=0,
result=0
2023-04-15 19:51:53.025502 I  Grabber prefers method: allatonce
2023-04-15 19:51:53.025975 I  XMLTV config file is: /home/mythtv/.mythtv/NorthWest ATSC3.xmltv
2023-04-15 19:51:53.026913 I  Grabber Command: nice tv_grab_zz_sdjson --config-file '/home/mythtv/.mythtv/NorthWest ATSC3.xmltv'
--output /tmp/mythkK9EG0
2023-04-15 19:51:53.026914 I  ----------------- Start of XMLTV output -----------------
2023-04-15 19:51:53.027788 I  Managed child (PID: 2439373) has started! * command=nice tv_grab_zz_sdjson --config-file
'/home/mythtv/.mythtv/NorthWest ATSC3.xmltv' --output /tmp/mythkK9EG0, timeout=0
2023-04-15 19:51:53.268662 I  Managed child (PID: 2439373) has exited! command=nice tv_grab_zz_sdjson --config-file
'/home/mythtv/.mythtv/NorthWest ATSC3.xmltv' --output /tmp/mythkK9EG0, status=256, result=1
2023-04-15 19:51:53.275820 I  You need to configure the grabber by running it with --configure
2023-04-15 19:51:53.275821 I  ------------------ End of XMLTV output ------------------
2023-04-15 19:51:53.276197 E  XMLTV grabber returned error code 1
2023-04-15 19:51:53.277865 I  Managed child (PID: 2439375) has started! * command=/usr/share/mythtv/metadata/Movie/tmdb3.py -v,
timeout=0
2023-04-15 19:51:53.358197 I  Managed child (PID: 2439375) has exited! command=/usr/share/mythtv/metadata/Movie/tmdb3.py -v,
status=0, result=0
2023-04-15 19:51:53.377327 I  Managed child (PID: 2439377) has started! *
command=/usr/share/mythtv/metadata/Television/ttvdb4.py -v, timeout=0
2023-04-15 19:51:53.417523 I  Managed child (PID: 2439377) has exited! command=/usr/share/mythtv/metadata/Television/ttvdb4.py
-v, status=0, result=0
2023-04-15 19:51:53.426170 E  Malformed XML file, missing </tv> element, at line 1, Premature end of document.
2023-04-15 19:51:53.845722 E  Failed to fetch some program info
2023-04-15 19:51:53.845741 I  Adjusting program database end times.
2023-04-15 19:51:53.845984 I      0 replacements made
2023-04-15 19:51:53.845985 I  Marking generic episodes.
2023-04-15 19:51:55.121762 I      Found 0
2023-04-15 19:51:55.121766 I  Extending non-unique programids with multiple parts.
2023-04-15 19:51:56.353472 I      Found 0
2023-04-15 19:51:56.353475 I  Fixing missing original airdates.
2023-04-15 19:51:58.976849 I      Found 0 with programids
2023-04-15 19:51:58.977322 I      Found 0 without programids
2023-04-15 19:51:58.977324 I  Marking repeats.
2023-04-15 19:52:00.227900 I      Found 0
2023-04-15 19:52:00.227904 I  Unmarking new episode rebroadcast repeats.
2023-04-15 19:52:01.496309 I      Found 0
2023-04-15 19:52:03.826181 I  Marking episode first showings.
2023-04-15 19:52:06.389780 I      Found 92529
2023-04-15 19:52:06.389783 I  Marking episode last showings.
2023-04-15 19:52:08.891700 I      Found 93798
2023-04-15 19:52:08.907923 I
===============================================================
| Attempting to contact the master backend for rescheduling.  |
| If the master is not running, rescheduling will happen when |
| the master backend is restarted.                            |
===============================================================
2023-04-15 19:52:08.908553 N  mythfilldatabase run complete.
2023-04-15 19:52:08.908625 I  PowerDBus: Closing interfaces
2023-04-15 19:52:08.908805 I  Waiting for threads to exit.
2023-04-15 19:52:08.909150 I  Exiting
Re: MythFillDatabase running, but not updating anything... [ In reply to ]
On 4/15/23 14:34, Bill Meek wrote:
>
> On Saturday 15 April 2023 03:30:10 PM (-05:00), Douglas Peale wrote:
>
> > On 4/15/23 13:09, Bill Meek wrote:
> > >
> > > On Saturday 15 April 2023 02:02:49 PM (-05:00), Douglas Peale wrote:
> > >
> > > ...
> > >
> > > > Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]: E CoreContext filldata.cpp:370 (Run)
> tv_grab_zz_sdjson
> > > ...
> > >
> > > Is tv_grab_zz_sdjson installed?
> > > It was not.
> > > I tried running it, and it told me that I could install it by installing xmltv-util.
> > > Is there a reason this is not automatically installed when mythTV is installed?
>
> Good question, I'd say because XMLTV grabbers get selected by the user. I use the
> SQLite version too. Others like the text one. And then there's all of the grabbers for other
> countries.
>
> > I ran backend setup again so I could force a mythfilldatabase run.
> > > It now reports that it failed, and Mythweb actually reports that it ran today but failed, so the results are at least
> different now.
> > > I still don't know what I need to do to fix it.
> > > MythFillDatabase.log excerpt:
>
> ...
>
> > Apr 15 13:22:37 BlackBox mythfilldatabase: mythfilldatabase[2096762]: E CoreContext filldata.cpp:224 (GrabData) XMLTV
> grabber returned error code 1
> > Apr 15 13:22:37 BlackBox mythfilldatabase: mythfilldatabase[2096762]: E CoreContext xmltvparser.cpp:841 (parseFile)
> Malformed XML file, missing  element, at line 1, Premature end  of  document.
> ...
>
>
> I'd run it again but add: -v system,xmltv
>
>
> You'll see the actual command like used by the grabber. Run that (also as user mythtv) for clues.
>
Success!... I think.

I found the MythTV wiki on the subject and attempted to follow the instructions to configure the grabber, and failed miserably.

This sparked a memory of doing this years ago, and I remembered that the only way I succeeded last time was that I did it within
backend setup.

So I tried that.

Each video source had two EPG checkboxes, and two configure buttons. I checked each checkbox for EPG, and ran through the setup,
once for each button for each video source.

mythfilldatabase ran for much longer this time, and Mythweb says it succeeded.

All four of my video sources pull from the same schedules direct listing, since they are all over the air channels. Each source
is associated with a different antenna, so each is a different subset of the channels from the listing.

I have three antennas pointed at three different antenna farms, but one antenna has two HDHomeRun boxes attached, one of which
is ATSC3.0 capable, so it has to have a different video source since it can receive more channels than the ATSC 1.0 box.

I worry that this setup is causing mythfilldatabase to download the same data four times. It works, but I think it is causing
extra unnecessary work for the schedules direct server. Am I correct in this assumption? Is there a way I should have done it
differently so that the data is only downloaded once?

I enabled the EPG because there are quite a few channels that are not getting schedules from schedules direct since the xmltvid
is not populated. How is this being populated? It used to be that I had to do this manually, but it seems some of the channels
are getting automatically populated. The value used to be just a number, but now it includes a web address.


I think the reason that I failed to get the command line config to work is that I was confused and entered the listing name from
schedules direct instead of the video source name from mythTV.

In any case, it appears to be working now.

Thank you for your help.
Re: MythFillDatabase running, but not updating anything... [ In reply to ]
On 4/15/23 21:39, Douglas Peale wrote:
> On 4/15/23 14:34, Bill Meek wrote:
>>
>> On Saturday 15 April 2023 03:30:10 PM (-05:00), Douglas Peale wrote:
>>
>> > On 4/15/23 13:09, Bill Meek wrote:
>> > >
>> > > On Saturday 15 April 2023 02:02:49 PM (-05:00), Douglas Peale wrote:
>> > >
>> > > ...
>> > >
>> > > > Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]: E CoreContext filldata.cpp:370 (Run)
>> tv_grab_zz_sdjson
>> > > ...
>> > >
>> > > Is tv_grab_zz_sdjson installed?
>> > > It was not.
>> > > I tried running it, and it told me that I could install it by installing xmltv-util.
>> > > Is there a reason this is not automatically installed when mythTV is installed?
>>
>> Good question, I'd say because XMLTV grabbers get selected by the user. I use the
>> SQLite version too. Others like the text one. And then there's all of the grabbers for other
>> countries.
>>
>> > I ran backend setup again so I could force a mythfilldatabase run.
>> > > It now reports that it failed, and Mythweb actually reports that it ran today but failed, so the results are at least
>> different now.
>> > > I still don't know what I need to do to fix it.
>> > > MythFillDatabase.log excerpt:
>>
>> ...
>>
>> > Apr 15 13:22:37 BlackBox mythfilldatabase: mythfilldatabase[2096762]: E CoreContext filldata.cpp:224 (GrabData) XMLTV
>> grabber returned error code 1
>> > Apr 15 13:22:37 BlackBox mythfilldatabase: mythfilldatabase[2096762]: E CoreContext xmltvparser.cpp:841 (parseFile)
>> Malformed XML file, missing  element, at line 1, Premature end  of  document.
>> ...
>>
>>
>> I'd run it again but add: -v system,xmltv
>>
>>
>> You'll see the actual command like used by the grabber. Run that (also as user mythtv) for clues.
>>
> Success!... I think.

I was wrong!

It works if I run mythfill database by clicking the button when I exit backend setup, but if I let it run normally from the
mythbackend, it does not work.

It also does not work  from the command line.

I think I just noticed the error, but I don't know how to fix it.

I run the --configure option with this command:

sudo -u mythtv tv_grab_zz_sdjson --configure --config-file $HOME/.mythtv/Noth.xmltv

but if I run:

sudo -u mythtv echo $HOME
/home/dpeale

it points to my directory rather than /home/mythtv

If I look at the error messages in the log:

2023-04-20 16:09:04.824824 I  ----------------- Start of XMLTV output -----------------
2023-04-20 16:09:04.826222 I  Managed child (PID: 622718) has started! * command=nice tv_grab_zz_sdjson --config-file
'/home/mythtv/.mythtv/NorthWest ATSC3.xmltv' --output /tmp/mythuKX1On, timeout=0
2023-04-20 16:09:05.107176 I  Managed child (PID: 622718) has exited! command=nice tv_grab_zz_sdjson --config-file
'/home/mythtv/.mythtv/NorthWest ATSC3.xmltv' --output /tmp/mythuKX1On, status=256, result=1
2023-04-20 16:09:05.122968 I  You need to configure the grabber by running it with --configure
2023-04-20 16:09:05.122970 I  ------------------ End of XMLTV output ------------------
2023-04-20 16:09:05.123689 E  XMLTV grabber returned error code 1

It is trying to use /home/mythtv instead.

So using "sudo -u mythtv" isn't setting the $HOME directory correctly.

I could try copying the stuff in my directory into /home/mythtv, but I suspect that would screw something up.

How do I run as mythtv with the mythtv environment?

Even running mythbackendsetup from the Adiministaton menu uses my environment.
Re: MythFillDatabase running, but not updating anything... [ In reply to ]
On Thursday 20 April 2023 06:23:27 PM (-05:00), Douglas Peale wrote:

> On 4/15/23 21:39, Douglas Peale wrote:
> > On 4/15/23 14:34, Bill Meek wrote:
> >>
> >> On Saturday 15 April 2023 03:30:10 PM (-05:00), Douglas Peale wrote:
> >>
> >> > On 4/15/23 13:09, Bill Meek wrote:
> >> > >
> >> > > On Saturday 15 April 2023 02:02:49 PM (-05:00), Douglas Peale
wrote:
> >> > >
> >> > > ...
> >> > >
> >> > > > Apr 15 11:50:33 BlackBox mythfilldatabase:
mythfilldatabase[1937008]: E CoreContext filldata.cpp:370 (Run)
> >> tv_grab_zz_sdjson
> >> > > ...
> >> > >
> >> > > Is tv_grab_zz_sdjson installed?
> >> > > It was not.
> >> > > I tried running it, and it told me that I could install it by
installing xmltv-util.
> >> > > Is there a reason this is not automatically installed when mythTV
is installed?
> >>
> >> Good question, I'd say because XMLTV grabbers get selected by the
user. I use the
> >> SQLite version too. Others like the text one. And then there's all of
the grabbers for other
> >> countries.
> >>
> >> > I ran backend setup again so I could force a mythfilldatabase run.
> >> > > It now reports that it failed, and Mythweb actually reports that
it ran today but failed, so the results are at least
> >> different now.
> >> > > I still don't know what I need to do to fix it.
> >> > > MythFillDatabase.log excerpt:
> >>
> >> ...
> >>
> >> > Apr 15 13:22:37 BlackBox mythfilldatabase:
mythfilldatabase[2096762]: E CoreContext filldata.cpp:224 (GrabData) XMLTV
> >> grabber returned error code 1
> >> > Apr 15 13:22:37 BlackBox mythfilldatabase:
mythfilldatabase[2096762]: E CoreContext xmltvparser.cpp:841 (parseFile)
> >> Malformed XML file, missing element, at line 1, Premature end of
document.
> >> ...
> >>
> >>
> >> I'd run it again but add: -v system,xmltv
> >>
> >>
> >> You'll see the actual command like used by the grabber. Run that
(also as user mythtv) for clues.
> >>
> > Success!... I think.
>
> I was wrong!
>
> It works if I run mythfill database by clicking the button when I exit
backend setup, but if I let it run normally from the
> mythbackend, it does not work.
>
> It also does not work from the command line.
>
> I think I just noticed the error, but I don't know how to fix it.
>
> I run the --configure option with this command:
>
> sudo -u mythtv tv_grab_zz_sdjson --configure --config-file
$HOME/.mythtv/Noth.xmltv
>
> but if I run:
>
> sudo -u mythtv echo $HOME
> /home/dpeale


$HOME is getting expanded before becoming user mythtv, so it's
your own home, not mythtv's. You can reference the proper
directory with ~mythtv/...... rather than $HOME.


> it points to my directory rather than /home/mythtv
>
> If I look at the error messages in the log:
>
> 2023-04-20 16:09:04.824824 I ----------------- Start of XMLTV output
-----------------
> 2023-04-20 16:09:04.826222 I Managed child (PID: 622718) has started! *
command=nice tv_grab_zz_sdjson --config-file
> '/home/mythtv/.mythtv/NorthWest ATSC3.xmltv' --output /tmp/mythuKX1On,
timeout=0
> 2023-04-20 16:09:05.107176 I Managed child (PID: 622718) has exited!
command=nice tv_grab_zz_sdjson --config-file
> '/home/mythtv/.mythtv/NorthWest ATSC3.xmltv' --output /tmp/mythuKX1On,
status=256, result=1
> 2023-04-20 16:09:05.122968 I You need to configure the grabber by
running it with --configure
> 2023-04-20 16:09:05.122970 I ------------------ End of XMLTV output
------------------
> 2023-04-20 16:09:05.123689 E XMLTV grabber returned error code 1
>
> It is trying to use /home/mythtv instead.


Which is intended.


> So using "sudo -u mythtv" isn't setting the $HOME directory correctly.
>
> I could try copying the stuff in my directory into /home/mythtv, but I
suspect that would screw something up.


Everything related to XMLTV should be relative to user mythtv (assuming
that's
the user the backend runs as.


> How do I run as mythtv with the mythtv environment?


My choice is to run this command AND put it in my .bashrc file:

alias mfdbrun='sudo --set-home --user=mythtv mythfilldatabase
--verbose=system,xmltv'

Then I just type mfdbrun from my user's command line. Note that my mythtv
user can log
in, which some folks don't like and isn't the norm.


> Even running mythbackendsetup from the Adiministaton menu uses my
environment.

Can't speak to that one.
--
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 running, but not updating anything... [ In reply to ]
Hoi Douglas,

Friday, April 21, 2023, 1:23:27 AM, you wrote:

> On 4/15/23 21:39, Douglas Peale wrote:
>> On 4/15/23 14:34, Bill Meek wrote:
>>>
>>> On Saturday 15 April 2023 03:30:10 PM (-05:00), Douglas Peale wrote:
>>>
>>> > On 4/15/23 13:09, Bill Meek wrote:
>>> > >
>>> > > On Saturday 15 April 2023 02:02:49 PM (-05:00), Douglas Peale wrote:
>>> > >
>>> > > ...
>>> > >
>>> > > > Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]: E CoreContext filldata.cpp:370 (Run)
>>> tv_grab_zz_sdjson
>>> > > ...
>>> > >
>>> > > Is tv_grab_zz_sdjson installed?
>>> > > It was not.
>>> > > I tried running it, and it told me that I could install it by installing xmltv-util.
>>> > > Is there a reason this is not automatically installed when mythTV is installed?
>>>
>>> Good question, I'd say because XMLTV grabbers get selected by the user. I use the
>>> SQLite version too. Others like the text one. And then there's all of the grabbers for other
>>> countries.
>>>
>>> > I ran backend setup again so I could force a mythfilldatabase run.
>>> > > It now reports that it failed, and Mythweb actually reports that it ran today but failed, so the results are at least
>>> different now.
>>> > > I still don't know what I need to do to fix it.
>>> > > MythFillDatabase.log excerpt:
>>>
>>> ...
>>>
>>> > Apr 15 13:22:37 BlackBox mythfilldatabase: mythfilldatabase[2096762]: E CoreContext filldata.cpp:224 (GrabData) XMLTV
>>> grabber returned error code 1
>>> > Apr 15 13:22:37 BlackBox mythfilldatabase: mythfilldatabase[2096762]: E CoreContext xmltvparser.cpp:841 (parseFile)
>>> Malformed XML file, missing  element, at line 1, Premature end  of  document.
>>> ...
>>>
>>>
>>> I'd run it again but add: -v system,xmltv
>>>
>>>
>>> You'll see the actual command like used by the grabber. Run that (also as user mythtv) for clues.
>>>
>> Success!... I think.

> I was wrong!

> It works if I run mythfill database by clicking the button when I
> exit backend setup, but if I let it run normally from the
> mythbackend, it does not work.

> It also does not work  from the command line.

> I think I just noticed the error, but I don't know how to fix it.

> I run the --configure option with this command:

> sudo -u mythtv tv_grab_zz_sdjson --configure --config-file $HOME/.mythtv/Noth.xmltv

> but if I run:

> sudo -u mythtv echo $HOME
> /home/dpeale

> it points to my directory rather than /home/mythtv

> If I look at the error messages in the log:

> 2023-04-20 16:09:04.824824 I  ----------------- Start of XMLTV output -----------------
> 2023-04-20 16:09:04.826222 I  Managed child (PID: 622718) has
> started! * command=nice tv_grab_zz_sdjson --config-file
> '/home/mythtv/.mythtv/NorthWest ATSC3.xmltv' --output /tmp/mythuKX1On, timeout=0
> 2023-04-20 16:09:05.107176 I  Managed child (PID: 622718) has
> exited! command=nice tv_grab_zz_sdjson --config-file
> '/home/mythtv/.mythtv/NorthWest ATSC3.xmltv' --output
> /tmp/mythuKX1On, status=256, result=1
> 2023-04-20 16:09:05.122968 I  You need to configure the grabber by running it with --configure
> 2023-04-20 16:09:05.122970 I  ------------------ End of XMLTV output ------------------
> 2023-04-20 16:09:05.123689 E  XMLTV grabber returned error code 1

> It is trying to use /home/mythtv instead.

> So using "sudo -u mythtv" isn't setting the $HOME directory correctly.

> I could try copying the stuff in my directory into /home/mythtv,
> but I suspect that would screw something up.

> How do I run as mythtv with the mythtv environment?

> Even running mythbackendsetup from the Adiministaton menu uses my environment.


Use:
sudo -H -u mythtv tv_grab_zz_sdjson --configure --config-file $HOME/.mythtv/Noth.xmltv

-H or --set-home forces the setting of the correct homedirectory.
See man sudo



Tot mails,
Hika mailto:hikavdh@gmail.com

"Zonder hoop kun je niet leven
Zonder leven is er geen hoop
Het eeuwige dilemma
Zeker als je hoop moet vernietigen om te kunnen overleven!"

De lerende Mens

_______________________________________________
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 running, but not updating anything... [ In reply to ]
On 4/21/23 06:51, Hika van den Hoven wrote:
> Hoi Douglas,
>
> Friday, April 21, 2023, 1:23:27 AM, you wrote:
>
>> On 4/15/23 21:39, Douglas Peale wrote:
>>> On 4/15/23 14:34, Bill Meek wrote:
>>>> On Saturday 15 April 2023 03:30:10 PM (-05:00), Douglas Peale wrote:
>>>>
>>>>> On 4/15/23 13:09, Bill Meek wrote:
>>>>>> On Saturday 15 April 2023 02:02:49 PM (-05:00), Douglas Peale wrote:
>>>>>>
>>>>>> ...
>>>>>>
>>>>>>> Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]: E CoreContext filldata.cpp:370 (Run)
>>>> tv_grab_zz_sdjson
>>>>>> ...
>>>>>>
>>>>>> Is tv_grab_zz_sdjson installed?
>>>>>> It was not.
>>>>>> I tried running it, and it told me that I could install it by installing xmltv-util.
>>>>>> Is there a reason this is not automatically installed when mythTV is installed?
>>>> Good question, I'd say because XMLTV grabbers get selected by the user. I use the
>>>> SQLite version too. Others like the text one. And then there's all of the grabbers for other
>>>> countries.
>>>>
>>>>> I ran backend setup again so I could force a mythfilldatabase run.
>>>>>> It now reports that it failed, and Mythweb actually reports that it ran today but failed, so the results are at least
>>>> different now.
>>>>>> I still don't know what I need to do to fix it.
>>>>>> MythFillDatabase.log excerpt:
>>>> ...
>>>>
>>>>> Apr 15 13:22:37 BlackBox mythfilldatabase: mythfilldatabase[2096762]: E CoreContext filldata.cpp:224 (GrabData) XMLTV
>>>> grabber returned error code 1
>>>>> Apr 15 13:22:37 BlackBox mythfilldatabase: mythfilldatabase[2096762]: E CoreContext xmltvparser.cpp:841 (parseFile)
>>>> Malformed XML file, missing  element, at line 1, Premature end  of  document.
>>>> ...
>>>>
>>>>
>>>> I'd run it again but add: -v system,xmltv
>>>>
>>>>
>>>> You'll see the actual command like used by the grabber. Run that (also as user mythtv) for clues.
>>>>
>>> Success!... I think.
>> I was wrong!
>> It works if I run mythfill database by clicking the button when I
>> exit backend setup, but if I let it run normally from the
>> mythbackend, it does not work.
>> It also does not work  from the command line.
>> I think I just noticed the error, but I don't know how to fix it.
>> I run the --configure option with this command:
>> sudo -u mythtv tv_grab_zz_sdjson --configure --config-file $HOME/.mythtv/Noth.xmltv
>> but if I run:
>> sudo -u mythtv echo $HOME
>> /home/dpeale
>> it points to my directory rather than /home/mythtv
>> If I look at the error messages in the log:
>> 2023-04-20 16:09:04.824824 I  ----------------- Start of XMLTV output -----------------
>> 2023-04-20 16:09:04.826222 I  Managed child (PID: 622718) has
>> started! * command=nice tv_grab_zz_sdjson --config-file
>> '/home/mythtv/.mythtv/NorthWest ATSC3.xmltv' --output /tmp/mythuKX1On, timeout=0
>> 2023-04-20 16:09:05.107176 I  Managed child (PID: 622718) has
>> exited! command=nice tv_grab_zz_sdjson --config-file
>> '/home/mythtv/.mythtv/NorthWest ATSC3.xmltv' --output
>> /tmp/mythuKX1On, status=256, result=1
>> 2023-04-20 16:09:05.122968 I  You need to configure the grabber by running it with --configure
>> 2023-04-20 16:09:05.122970 I  ------------------ End of XMLTV output ------------------
>> 2023-04-20 16:09:05.123689 E  XMLTV grabber returned error code 1
>> It is trying to use /home/mythtv instead.
>> So using "sudo -u mythtv" isn't setting the $HOME directory correctly.
>> I could try copying the stuff in my directory into /home/mythtv,
>> but I suspect that would screw something up.
>> How do I run as mythtv with the mythtv environment?
>> Even running mythbackendsetup from the Adiministaton menu uses my environment.
>
> Use:
> sudo -H -u mythtv tv_grab_zz_sdjson --configure --config-file $HOME/.mythtv/Noth.xmltv
>
> -H or --set-home forces the setting of the correct homedirectory.
> See man sudo
>
>
>
> Tot mails,
> Hika mailto:hikavdh@gmail.com
>
> "Zonder hoop kun je niet leven
> Zonder leven is er geen hoop
> Het eeuwige dilemma
> Zeker als je hoop moet vernietigen om te kunnen overleven!"
>
> De lerende Mens
>
> _______________________________________________
> 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

Thank you for your replies

I spent a bit of time googling, and succeeded with this:

sudo runuser -l mythtv
tv_grab_zz_sdjson --configure --config-file $HOME/.mythtv/North.xmltv
tv_grab_zz_sdjson --configure --config-file $HOME/.mythtv/NorthWest.xmltv
tv_grab_zz_sdjson --configure --config-file $HOME/.mythtv/NorthWest\ ATSC3.xmltv
tv_grab_zz_sdjson --configure --config-file $HOME/.mythtv/South.xmltv
exit

This opens a shell as the user mythTV that lets me run the configure operation.

The only drawback is that the arrow keys don't work in this shell, so you can't use the history, or edit functions in this
shell. A bit tedious using copy & paste, but it did finally work.