[lion@alarmpi ~]$ mythfilldatabase --loglevel debug
2017-02-14 21:23:09.027498 C mythfilldatabase version: tag: v0.28 [3543e74] www.mythtv.org
2017-02-14 21:23:09.027924 C Qt version: compile: 5.7.0, runtime: 5.8.0
2017-02-14 21:23:09.027963 N Enabled verbose msgs: general
2017-02-14 21:23:09.028154 N Setting Log Level to LOG_DEBUG
2017-02-14 21:23:09.043613 I Added logging to the console
2017-02-14 21:23:09.048619 I Setup Interrupt handler
2017-02-14 21:23:09.048688 I Setup Terminated handler
2017-02-14 21:23:09.048753 I Setup Segmentation fault handler
2017-02-14 21:23:09.048811 I Setup Aborted handler
2017-02-14 21:23:09.048870 I Setup Bus error handler
2017-02-14 21:23:09.048974 I Setup Floating point exception handler
2017-02-14 21:23:09.049039 I Setup Illegal instruction handler
2017-02-14 21:23:09.049116 I Setup Real-time signal 0 handler
2017-02-14 21:23:09.049242 I Setup Hangup handler
2017-02-14 21:23:09.049773 N Using runtime prefix = /usr
2017-02-14 21:23:09.049816 N Using configuration directory = /home/lion/.mythtv
2017-02-14 21:23:09.049847 D appbindir = /usr/bin/
2017-02-14 21:23:09.049880 D sharedir = /usr/share/mythtv/
2017-02-14 21:23:09.049907 D libdir = /usr/lib/mythtv/
2017-02-14 21:23:09.049940 D themedir = /usr/share/mythtv/themes/
2017-02-14 21:23:09.049967 D pluginsdir = /usr/lib/mythtv/plugins/
2017-02-14 21:23:09.049998 D translationsdir= /usr/share/mythtv/i18n/
2017-02-14 21:23:09.050025 D filtersdir = /usr/lib/mythtv/filters/
2017-02-14 21:23:09.050634 I Assumed character encoding: C
2017-02-14 21:23:09.050685 W This application expects to be running a locale that specifies a UTF-8 codeset, and many features may behave improperly with your current language settings. Please set the LC_ALL or LC_CTYPE, and LANG variable(s) in the environment in which this program is executed to include a UTF-8 codeset (such as 'en_US.UTF-8').
2017-02-14 21:23:09.062464 N Empty LocalHostName.
2017-02-14 21:23:09.062554 I Using localhost value of alarmpi
2017-02-14 21:23:09.178800 D FindDatabase() - Success!
2017-02-14 21:23:09.200958 N Setting QT default locale to nl_BE
2017-02-14 21:23:09.201129 I Current locale nl_BE
2017-02-14 21:23:09.201608 E No locale defaults file for nl_BE, skipping
2017-02-14 21:23:09.211007 I Loading nl translation for module mythfrontend
2017-02-14 21:23:09.222801 I Current MythTV Schema Version (DBSchemaVer): 1344
2017-02-14 21:23:09.245375 I MythCoreContext::ConnectCommandSocket(): Connecting to backend server: 192.168.1.4:6543 (try 1 of 1)
2017-02-14 21:23:09.253907 I MythCoreContext::CheckProtoVersion(): Using protocol version 88 XmasGift
2017-02-14 21:23:09.255500 I Opening blocking connection to master backend
2017-02-14 21:23:09.260705 I Source 1 configured with no grabber. Nothing to do.
2017-02-14 21:23:09.278004 I Updating source #2 (Sundtek USB) with grabber tv_grab_nl3.py
2017-02-14 21:23:09.280805 I No channels are configured to use grabber.
2017-02-14 21:23:09.282468 I Starting process manager
2017-02-14 21:23:09.282741 I Starting process signal handler
2017-02-14 21:23:09.286058 I Starting IO manager (read)
2017-02-14 21:23:09.287984 I Starting IO manager (write)
2017-02-14 21:23:10.586266 I Grabber has capabilities: baseline cache manualconfig preferredmethod
2017-02-14 21:23:11.838426 I Grabber prefers method: allatonce
2017-02-14 21:23:11.841411 I XMLTV config file is: /home/lion/.mythtv/Sundtek USB.xmltv
2017-02-14 21:23:13.096446 E FillData: XMLTV grabber returned error code 1
2017-02-14 21:23:13.102264 E Error in 1:1: unexpected end of file
2017-02-14 21:23:13.136722 I No programs found in data.
2017-02-14 21:23:13.139986 E Failed to fetch some program info
2017-02-14 21:23:13.140132 I Adjusting program database end times.
2017-02-14 21:23:13.141578 I 0 replacements made
2017-02-14 21:23:13.141619 I Marking generic episodes.
2017-02-14 21:23:13.143885 I Found 0
2017-02-14 21:23:13.143935 I Extending non-unique programids with multiple parts.
2017-02-14 21:23:13.146661 I Found 0
2017-02-14 21:23:13.146704 I Fixing missing original airdates.
2017-02-14 21:23:13.149564 I Found 0 with programids
2017-02-14 21:23:13.153370 I Found 0 without programids
2017-02-14 21:23:13.153422 I Marking repeats.
2017-02-14 21:23:13.161171 I Found 0
2017-02-14 21:23:13.161224 I Unmarking new episode rebroadcast repeats.
2017-02-14 21:23:13.163258 I Found 0
2017-02-14 21:23:13.164824 I Marking episode first showings.
2017-02-14 21:23:13.172261 I Found 0
2017-02-14 21:23:13.172317 I Marking episode last showings.
2017-02-14 21:23:13.179759 I Found 0
2017-02-14 21:23:13.185988 I
===============================================================
| Attempting to contact the master backend for rescheduling. |
| If the master is not running, rescheduling will happen when |
| the master backend is restarted. |
===============================================================
2017-02-14 21:23:43.225715 E MythSocket(5b6ae8:11): ReadStringList: Error, timed out after 30000 ms.
2017-02-14 21:23:43.226642 E MythSocket(5b6ae8:-1): No response.
2017-02-14 21:23:43.226691 N MythCoreContext::SendReceiveStringList(): Connection to backend server lost
2017-02-14 21:23:43.227992 I MythCoreContext::ConnectCommandSocket(): Connecting to backend server: 192.168.1.4:6543 (try 1 of 1)
2017-02-14 21:23:43.236600 E MythSocket(5ae750:11): WriteStringList: Error, invalid string list.
2017-02-14 21:23:43.236703 E MythSocket(5ae750:11): Failed to send command.
2017-02-14 21:23:43.237520 C MythCoreContext::SendReceiveStringList(): Reconnection to backend server failed
2017-02-14 21:23:43.237721 E Error rescheduling MATCH 0 0 0 - MythFillDatabase in ScheduledRecording::SendReschedule
2017-02-14 21:23:43.238546 N mythfilldatabase run complete.
2017-02-14 21:23:43.239444 I Waiting for threads to exit.
2017-02-14 21:23:43.247639 I MythCoreContext::ConnectCommandSocket(): Connecting to backend server: 192.168.1.4:6543 (try 1 of 1)
From the log it looks like your grabber is creating invalid xml. Try running the grabber stand alone and direct the output to a file, to see what it is generating. You can run
to find the parameters your grabber uses. Perhaps the grabber is failing, you should be able to see by running it with appropriate parameters from the command line.
[lion@alarmpi ~]$ mythfilldatabase -v system:debug
2017-02-19 16:47:36.509055 C mythfilldatabase version: tag: v0.28 [3543e74] www.mythtv.org
2017-02-19 16:47:36.509400 C Qt version: compile: 5.7.0, runtime: 5.8.0
2017-02-19 16:47:36.509433 N Enabled verbose msgs: general system
2017-02-19 16:47:36.509570 N Setting Log Level to LOG_INFO
2017-02-19 16:47:36.523246 I Added logging to the console
2017-02-19 16:47:36.528087 I Setup Interrupt handler
2017-02-19 16:47:36.528156 I Setup Terminated handler
2017-02-19 16:47:36.528227 I Setup Segmentation fault handler
2017-02-19 16:47:36.528289 I Setup Aborted handler
2017-02-19 16:47:36.528349 I Setup Bus error handler
2017-02-19 16:47:36.528418 I Setup Floating point exception handler
2017-02-19 16:47:36.528475 I Setup Illegal instruction handler
2017-02-19 16:47:36.528546 I Setup Real-time signal 0 handler
2017-02-19 16:47:36.528614 I Setup Hangup handler
2017-02-19 16:47:36.529125 N Using runtime prefix = /usr
2017-02-19 16:47:36.529168 N Using configuration directory = /home/lion/.mythtv
2017-02-19 16:47:36.529710 I Assumed character encoding: C
2017-02-19 16:47:36.529764 W This application expects to be running a locale that specifies a UTF-8 code set, and many features may behave improperly with your current language settings. Please set the LC_ALL o r LC_CTYPE, and LANG variable(s) in the environment in which this program is executed to include a UTF-8 codeset (such as 'en_US.UTF-8').
2017-02-19 16:47:36.541307 N Empty LocalHostName.
2017-02-19 16:47:36.541383 I Using localhost value of alarmpi
2017-02-19 16:47:36.650095 N Setting QT default locale to nl_BE
2017-02-19 16:47:36.650236 I Current locale nl_BE
2017-02-19 16:47:36.650610 E No locale defaults file for nl_BE, skipping
2017-02-19 16:47:36.658111 I Loading nl translation for module mythfrontend
2017-02-19 16:47:36.669339 I Current MythTV Schema Version (DBSchemaVer): 1344
2017-02-19 16:47:36.689867 I MythCoreContext::ConnectCommandSocket(): Connecting to backend server: 192. 168.1.4:6543 (try 1 of 1)
2017-02-19 16:47:36.698873 I MythCoreContext::CheckProtoVersion(): Using protocol version 88 XmasGift
2017-02-19 16:47:36.700861 I Opening blocking connection to master backend
2017-02-19 16:47:36.705884 I Source 1 configured with no grabber. Nothing to do.
2017-02-19 16:47:36.722347 I Updating source #2 (Sundtek) with grabber tv_grab_nl3.py
2017-02-19 16:47:36.724954 I No channels are configured to use grabber.
2017-02-19 16:47:36.726463 I Starting process manager
2017-02-19 16:47:36.726680 D Launching: tv_grab_nl3.py --capabilities
2017-02-19 16:47:36.726693 I Starting IO manager (read)
2017-02-19 16:47:36.726952 I Starting process signal handler
2017-02-19 16:47:36.731279 I Starting IO manager (write)
2017-02-19 16:47:36.730731 I Managed child (PID: 3333) has started! * command=tv_grab_nl3.py --capabilit ies, timeout=25
2017-02-19 16:47:37.985868 I Managed child (PID: 3333) has exited! command=tv_grab_nl3.py --capabilities , status=0, result=0
2017-02-19 16:47:38.030474 I Grabber has capabilities: baseline cache manualconfig preferredmethod
2017-02-19 16:47:38.030998 D Launching: tv_grab_nl3.py --preferredmethod
2017-02-19 16:47:38.034488 I Managed child (PID: 3335) has started! * command=tv_grab_nl3.py --preferred method, timeout=15
2017-02-19 16:47:39.242814 I Managed child (PID: 3335) has exited! command=tv_grab_nl3.py --preferredmet hod, status=0, result=0
2017-02-19 16:47:39.282528 I Grabber prefers method: allatonce
2017-02-19 16:47:39.285470 I XMLTV config file is: /home/lion/.mythtv/Sundtek.xmltv
2017-02-19 16:47:39.299841 D Launching: nice tv_grab_nl3.py --config-file '/home/lion/.mythtv/Sundtek.xm ltv' --output /tmp/mythwz8p4s --quiet
2017-02-19 16:47:39.303226 I Managed child (PID: 3337) has started! * command=nice tv_grab_nl3.py --conf ig-file '/home/lion/.mythtv/Sundtek.xmltv' --output /tmp/mythwz8p4s --quiet, timeout=0
2017-02-19 17:55:55.853992 I Managed child (PID: 3337) has signalled! command=nice tv_grab_nl3.py --config-file '/home/lion/.myt htv/Sundtek.xmltv' --output /tmp/mythwz8p4s --quiet, status=9, result=140, signal=9
2017-02-19 17:55:56.702037 E Error in 1:1: unexpected end of file
2017-02-19 17:55:57.279008 I No programs found in data.
2017-02-19 17:55:57.279870 E Failed to fetch some program info
2017-02-19 17:55:57.280009 I Adjusting program database end times.
2017-02-19 17:55:57.294150 I 0 replacements made
2017-02-19 17:55:57.294218 I Marking generic episodes.
2017-02-19 17:55:57.302464 I Found 0
2017-02-19 17:55:57.302526 I Extending non-unique programids with multiple parts.
2017-02-19 17:55:57.306200 I Found 0
2017-02-19 17:55:57.306251 I Fixing missing original airdates.
2017-02-19 17:55:57.309967 I Found 0 with programids
2017-02-19 17:55:57.315185 I Found 0 without programids
2017-02-19 17:55:57.315239 I Marking repeats.
2017-02-19 17:55:57.324530 I Found 0
2017-02-19 17:55:57.324605 I Unmarking new episode rebroadcast repeats.
2017-02-19 17:55:57.327551 I Found 0
2017-02-19 17:55:57.329598 I Marking episode first showings.
2017-02-19 17:55:57.363419 I Found 0
2017-02-19 17:55:57.363513 I Marking episode last showings.
2017-02-19 17:55:57.377155 I Found 0
2017-02-19 17:55:57.384939 I
===============================================================
| Attempting to contact the master backend for rescheduling. |
| If the master is not running, rescheduling will happen when |
| the master backend is restarted. |
===============================================================
2017-02-19 17:55:57.392124 E MythSocket(428940:-1): WriteStringList: Error, called with unconnected socket.
2017-02-19 17:55:57.392253 E MythSocket(428940:-1): Failed to send command.
2017-02-19 17:55:57.392299 N MythCoreContext::SendReceiveStringList(): Connection to backend server lost
2017-02-19 17:55:57.412281 I MythCoreContext::ConnectCommandSocket(): Connecting to backend server: 192.168.1.4:6543 (try 1 of 1 )
2017-02-19 17:56:27.540440 E MythSocket(44bcc0:11): ReadStringList: Error, timed out after 30000 ms.
2017-02-19 17:56:27.541099 E MythSocket(44bcc0:-1): No response.
2017-02-19 17:56:27.541571 C MythCoreContext::SendReceiveStringList(): Reconnection to backend server failed
2017-02-19 17:56:27.541804 E Error rescheduling MATCH 0 0 0 - MythFillDatabase in ScheduledRecording::SendReschedule
2017-02-19 17:56:27.542752 N mythfilldatabase run complete.
2017-02-19 17:56:27.585971 I Waiting for threads to exit.
2017-02-19 17:56:27.586866 I MythCoreContext::ConnectCommandSocket(): Connecting to backend server: 192.168.1.4:6543 (try 1 of 1 )
[lion@alarmpi ~]$ mythfilldatabase -v system:debug
2017-02-19 16:47:36.509055 C mythfilldatabase version: tag: v0.28 [3543e74] www.mythtv.org
2017-02-19 16:47:36.509400 C Qt version: compile: 5.7.0, runtime: 5.8.0
2017-02-19 16:47:36.509433 N Enabled verbose msgs: general system
2017-02-19 16:47:36.509570 N Setting Log Level to LOG_INFO
2017-02-19 16:47:36.523246 I Added logging to the console
2017-02-19 16:47:36.528087 I Setup Interrupt handler
2017-02-19 16:47:36.528156 I Setup Terminated handler
2017-02-19 16:47:36.528227 I Setup Segmentation fault handler
2017-02-19 16:47:36.528289 I Setup Aborted handler
2017-02-19 16:47:36.528349 I Setup Bus error handler
2017-02-19 16:47:36.528418 I Setup Floating point exception handler
2017-02-19 16:47:36.528475 I Setup Illegal instruction handler
2017-02-19 16:47:36.528546 I Setup Real-time signal 0 handler
2017-02-19 16:47:36.528614 I Setup Hangup handler
2017-02-19 16:47:36.529125 N Using runtime prefix = /usr
2017-02-19 16:47:36.529168 N Using configuration directory = /home/lion/.mythtv
2017-02-19 16:47:36.529710 I Assumed character encoding: C
2017-02-19 16:47:36.529764 W This application expects to be running a locale that specifies a UTF-8 code set, and many features may behave improperly with your current language settings. Please set the LC_ALL o r LC_CTYPE, and LANG variable(s) in the environment in which this program is executed to include a UTF-8 codeset (such as 'en_US.UTF-8').
2017-02-19 16:47:36.541307 N Empty LocalHostName.
2017-02-19 16:47:36.541383 I Using localhost value of alarmpi
2017-02-19 16:47:36.650095 N Setting QT default locale to nl_BE
2017-02-19 16:47:36.650236 I Current locale nl_BE
2017-02-19 16:47:36.650610 E No locale defaults file for nl_BE, skipping
2017-02-19 16:47:36.658111 I Loading nl translation for module mythfrontend
2017-02-19 16:47:36.669339 I Current MythTV Schema Version (DBSchemaVer): 1344
2017-02-19 16:47:36.689867 I MythCoreContext::ConnectCommandSocket(): Connecting to backend server: 192. 168.1.4:6543 (try 1 of 1)
2017-02-19 16:47:36.698873 I MythCoreContext::CheckProtoVersion(): Using protocol version 88 XmasGift
2017-02-19 16:47:36.700861 I Opening blocking connection to master backend
2017-02-19 16:47:36.705884 I Source 1 configured with no grabber. Nothing to do.
2017-02-19 16:47:36.722347 I Updating source #2 (Sundtek) with grabber tv_grab_nl3.py
2017-02-19 16:47:36.724954 I No channels are configured to use grabber.
2017-02-19 16:47:36.726463 I Starting process manager
2017-02-19 16:47:36.726680 D Launching: tv_grab_nl3.py --capabilities
2017-02-19 16:47:36.726693 I Starting IO manager (read)
2017-02-19 16:47:36.726952 I Starting process signal handler
2017-02-19 16:47:36.731279 I Starting IO manager (write)
2017-02-19 16:47:36.730731 I Managed child (PID: 3333) has started! * command=tv_grab_nl3.py --capabilit ies, timeout=25
2017-02-19 16:47:37.985868 I Managed child (PID: 3333) has exited! command=tv_grab_nl3.py --capabilities , status=0, result=0
2017-02-19 16:47:38.030474 I Grabber has capabilities: baseline cache manualconfig preferredmethod
2017-02-19 16:47:38.030998 D Launching: tv_grab_nl3.py --preferredmethod
2017-02-19 16:47:38.034488 I Managed child (PID: 3335) has started! * command=tv_grab_nl3.py --preferred method, timeout=15
2017-02-19 16:47:39.242814 I Managed child (PID: 3335) has exited! command=tv_grab_nl3.py --preferredmet hod, status=0, result=0
2017-02-19 16:47:39.282528 I Grabber prefers method: allatonce
2017-02-19 16:47:39.285470 I XMLTV config file is: /home/lion/.mythtv/Sundtek.xmltv
2017-02-19 16:47:39.299841 D Launching: nice tv_grab_nl3.py --config-file '/home/lion/.mythtv/Sundtek.xm ltv' --output /tmp/mythwz8p4s --quiet
2017-02-19 16:47:39.303226 I Managed child (PID: 3337) has started! * command=nice tv_grab_nl3.py --conf ig-file '/home/lion/.mythtv/Sundtek.xmltv' --output /tmp/mythwz8p4s --quiet, timeout=0
2017-02-19 17:55:55.853992 I Managed child (PID: 3337) has signalled! command=nice tv_grab_nl3.py --config-file '/home/lion/.myt htv/Sundtek.xmltv' --output /tmp/mythwz8p4s --quiet, status=9, result=140, signal=9
2017-02-19 17:55:56.702037 E Error in 1:1: unexpected end of file
2017-02-19 17:55:57.279008 I No programs found in data.
2017-02-19 17:55:57.279870 E Failed to fetch some program info
2017-02-19 17:55:57.280009 I Adjusting program database end times.
2017-02-19 17:55:57.294150 I 0 replacements made
2017-02-19 17:55:57.294218 I Marking generic episodes.
2017-02-19 17:55:57.302464 I Found 0
2017-02-19 17:55:57.302526 I Extending non-unique programids with multiple parts.
2017-02-19 17:55:57.306200 I Found 0
2017-02-19 17:55:57.306251 I Fixing missing original airdates.
2017-02-19 17:55:57.309967 I Found 0 with programids
2017-02-19 17:55:57.315185 I Found 0 without programids
2017-02-19 17:55:57.315239 I Marking repeats.
2017-02-19 17:55:57.324530 I Found 0
2017-02-19 17:55:57.324605 I Unmarking new episode rebroadcast repeats.
2017-02-19 17:55:57.327551 I Found 0
2017-02-19 17:55:57.329598 I Marking episode first showings.
2017-02-19 17:55:57.363419 I Found 0
2017-02-19 17:55:57.363513 I Marking episode last showings.
2017-02-19 17:55:57.377155 I Found 0
2017-02-19 17:55:57.384939 I
===============================================================
| Attempting to contact the master backend for rescheduling. |
| If the master is not running, rescheduling will happen when |
| the master backend is restarted. |
===============================================================
2017-02-19 17:55:57.392124 E MythSocket(428940:-1): WriteStringList: Error, called with unconnected socket.
2017-02-19 17:55:57.392253 E MythSocket(428940:-1): Failed to send command.
2017-02-19 17:55:57.392299 N MythCoreContext::SendReceiveStringList(): Connection to backend server lost
2017-02-19 17:55:57.412281 I MythCoreContext::ConnectCommandSocket(): Connecting to backend server: 192.168.1.4:6543 (try 1 of 1 )
2017-02-19 17:56:27.540440 E MythSocket(44bcc0:11): ReadStringList: Error, timed out after 30000 ms.
2017-02-19 17:56:27.541099 E MythSocket(44bcc0:-1): No response.
2017-02-19 17:56:27.541571 C MythCoreContext::SendReceiveStringList(): Reconnection to backend server failed
2017-02-19 17:56:27.541804 E Error rescheduling MATCH 0 0 0 - MythFillDatabase in ScheduledRecording::SendReschedule
2017-02-19 17:56:27.542752 N mythfilldatabase run complete.
2017-02-19 17:56:27.585971 I Waiting for threads to exit.
2017-02-19 17:56:27.586866 I MythCoreContext::ConnectCommandSocket(): Connecting to backend server: 192.168.1.4:6543 (try 1 of 1 )
2017-02-19 16:47:36.529168 N Using configuration directory = /home/lion/.mythtv
2017-02-19 16:47:36.705884 I Source 1 configured with no grabber. Nothing to do.
2017-02-19 16:47:36.722347 I Updating source #2 (Sundtek) with grabber tv_grab_nl3.py
2017-02-19 16:47:36.724954 I No channels are configured to use grabber.
I'm not familiar with that grabber, but:
Should you have 2 sources ?
Do the channels from source 2 need/have xmltvids ?
When mythfilldatabase is run automatically, it is run by the mythtv user, and it (probably) uses ~mythtv/.mythtv as a configuration directory.
When running manually the configuration file in /home/lion/.mythtv will be different (unless you've copied/linked them)