[mythtv-users] MythFillDatabase running, but not updating anything...

Douglas Peale Douglas_Peale at Comcast.net
Sun Apr 16 02:54:01 UTC 2023


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x7B9B5178E6AE112A.asc
Type: application/pgp-keys
Size: 2452 bytes
Desc: OpenPGP public key
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20230415/92722e57/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 203 bytes
Desc: OpenPGP digital signature
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20230415/92722e57/attachment.sig>


More information about the mythtv-users mailing list