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