<br />On Friday, November 8, 2013 22:06 CET, Karl Dietz <dekarl@spaetfruehstuecken.org> wrote:<br /> <blockquote>On 08.11.2013 20:00, Karl Dietz wrote:<br />> On 08.11.2013 13:31, Marius Schrecker wrote:<br />><br />> Can you try to run it manually an post the result?<br />> tv_grab_combiner --config-file /home/mythtv/.mythtv/Altibox.xmltv<br /><br />I forgot, this test should run under the same user as the mythtv<br />backend. Add something like sudo -u mythtv in front.<br /><br /><br />Another thing I noticed, the Altibox.xmltv from your other mail refers<br />to /home/mythuser/.mythtv while your log from mythfilldatabase refers to<br />/home/mythtv/.mythtv so permission issues are a good thing to check for.<br />Also its possible that the .mythtv folder in one users home is unrelated<br />to the other users home. So some file might not even be found where<br />expected.<br /><br />It appears as if mythuser is the frontend user (the one that you run<b
r />mythtv-setup and mythfrontend as) and mythtv is the backend user.<br /><br />Regards,<br />Karl<br />_______________________________________________<br />mythtv-users mailing list<br />mythtv-users@mythtv.org<br />http://www.mythtv.org/mailman/listinfo/mythtv-users</blockquote>Hello Karl and thanks for the replies.<br /><br />As I just picked up the mail I haven't been able to do a manual run yet, but I have checked the directories and files. I made sure that the file is duplicated to both user's home directories and both are world readable as are the .mythtv and user directories (bad security, I know, but apparently not the reason that the file isn't being read). Mythfilldatabase ran as scheduled again last night (after the latest version of the .xmltv file was put in place). However, I think I see the problem:<br /><br />Look at the following line in the log:<br /><em>Nov 11 05:09:21 mythbox mythlogserver: mythfilldatabase[2352]: I CoreCont
ext filldata.cpp:396 (GrabData) XMLTV config file is: /home/mythtv/.mythtv/Altibo x.xmltv</em><br /><br />There's a white space in the file name!<br />I'll correct the file in the config and wait for tonight's run.<br />Can you say where I can go in to hack the correct filename into the config?<br /><br />Compare with the directory listing:<br />-rw-r--r-- 1 mythtv mythtv 6714 Nov 10 16:32 Altibox.xmltv<br /><br /><br /><span style="font-size:13px; line-height:1.6em">Here's the listing of the /home/mythtv/.mythtv/ directory:</span><br />drwxr-xr-x 9 mythtv mythtv 4096 Nov 10 16:32 .<br />drwxr-xr-x 5 mythtv mythtv 4096 Feb 3 2013 ..<br />drwxr-xr-x 2 mythtv mythtv 4096 Jan 31 2013 3rdParty<br />-rw-r--r-- 1 mythtv mythtv 6714 Nov 10 16:32 Altibox.xmltv<br />drwxr-xr-x 4 mythtv mythtv 4096 Jan 31 2013 Cache-mythbackend-mythbox<br />drwxr-xr-x 4 mythtv mythtv 4096 Feb 3 2013 Cache-mythfilldatabase-mythbox<br />drwxr-xr-x 2 my
thtv mythtv 4096 Jan 31 2013 channels<br />-rw-r--r-- 1 mythtv mythtv 944 Feb 2 2013 config.xml<br />lrwxrwxrwx 1 root root 21 Jan 31 2013 mysql.txt -> /etc/mythtv/mysql.txt<br />drwxr-xr-x 3 mythtv mythtv 4096 Feb 9 2013 MythNetvision<br />drwxr-xr-x 2 mythtv mythtv 4096 Jan 31 2013 themes<br />drwxr-xr-x 4 mythtv mythtv 4096 Feb 7 2013 tmp<br /><br />...and the log from last night's run:<br /><br />Nov 10 04:42:57 mythbox mythlogserver: mythfilldatabase[32567]: N CoreContext main.cpp:761 (main) mythfilldatabase run complete.<br />Nov 11 05:09:20 mythbox mythlogserver: mythfilldatabase[2352]: C thread_unknown mythcommandlineparser.cpp:2545 (ConfigureLogging) mythfilldatabase version: f<br />ixes/0.26 [v0.26.1-18-g7892e19] www.mythtv.org<br />Nov 11 05:09:20 mythbox mythlogserver: mythfilldatabase[2352]: C thread_unknown mythcommandlineparser.cpp:2547 (ConfigureLogging) Qt version: compil
e: 4.8.4,<br /> runtime: 4.8.4<br />Nov 11 05:09:20 mythbox mythlogserver: mythfilldatabase[2352]: N thread_unknown mythcommandlineparser.cpp:2549 (ConfigureLogging) Enabled verbose msgs: gene<br />ral<br />Nov 11 05:09:20 mythbox mythlogserver: mythfilldatabase[2352]: N thread_unknown logging.cpp:837 (logStart) Setting Log Level to LOG_INFO<br />Nov 11 05:09:20 mythbox mythlogserver: mythfilldatabase[2352]: I Logger logging.cpp:306 (run) Added logging to the console<br />Nov 1 1 05:09:20 mythbox mythlogserver: mythfilldatabase[2352]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Interrupt handler<br />Nov 11 05:09:20 mythbox mythlogserver: mythfilldatabase[2352]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Terminated handler<br />Nov 11 05:09:20 mythbox mythlogserver: mythfilldatabase[2352]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Segmentation fault handler<br />Nov 11 05:09:20 mythbox mythlogser
ver: mythfilldatabase[2352]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Aborted handler<br />Nov 11 05:09:20 mythbox mythlogserver: mythfilldatabase[2352]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Bus error handler<br />Nov 11 05:09:20 mythbox mythlogserver: mythfilldatabase[2352]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Floating point exception han<br />dler<br />Nov 11 05:09:20 mythbox mythlogserver: mythfilldataba se[2352]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Illegal instruction handler<br />Nov 11 05:09:20 mythbox mythlogserver: mythfilldatabase[2352]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Real-time signal 0 handler<br />Nov 11 05:09:20 mythbox mythlogserver: mythfilldatabase[2352]: N thread_unknown mythdirs.cpp:55 (InitializeMythDirs) Using runtime prefix = /usr<br />Nov 11 05:09:20 mythbox mythlogserver: mythfilldatabase[2352]: N thread_un
known mythdirs.cpp:68 (InitializeMythDirs) Using configuration directory = /home/my<br />thtv/.mythtv<br />Nov 11 05:09:20 mythbox mythlogserver: mythfilldatabase[2352]: I CoreContext mythcorecontext.cpp:231 (Init) Assumed character encoding: en_US.UTF-8<br />Nov 11 05:09:20 mythbox mythlogserver: mythfilldatabase[2352]: N CoreContext mythcontext.cpp:493 (LoadDatabaseSettings) Empty LocalHostName.<br />Nov 11 05:09:20 mythbox mythlogserver: mythfilldatabase[2352]: I CoreContext mythcontext. cpp:501 (LoadDatabaseSettings) Using localhost value of mythbox<br />Nov 11 05:09:20 mythbox mythlogserver: mythfilldatabase[2352]: N CoreContext mythcorecontext.cpp:1283 (InitLocale) Setting QT default locale to en_NO<br />Nov 11 05:09:20 mythbox mythlogserver: mythfilldatabase[2352]: I CoreContext mythcorecontext.cpp:1316 (SaveLocaleDefaults) Current locale en_NO<br />Nov 11 05:09:20 mythbox mythlogserver: mythfilldatabase[2352]: E CoreContext mythlocale.cpp:108 (LoadDefaultsFromXML) No
locale defaults file for en_NO, skip<br />ping<br />Nov 11 05:09:20 mythbox mythlogserver: mythfilldatabase[2352]: I CoreContext mythtranslation.cpp:65 (load) Loading en_gb translation for module mythfrontend<br />Nov 11 05:09:20 mythbox mythlogserver: mythfilldatabase[2352]: I CoreContext schemawizard.cpp:118 (Compare) Current MythTV Schema Version (DBSchemaVer): 1307<br />Nov 11 05:09:21 mythbox mythlogserver: mythfilldatabase[2352]: I CoreContext filldata.cpp:594 (Run) Updating source #2 (Altibox) with grabber tv_grab_combiner<br />Nov 11 05:09:21 mythbox mythlogserver: mythfilldatabase[2352]: I CoreContext filldata.cpp:608 (Run) Found 42 channels for source 2 which use grabber<br />Nov 11 05:09:21 mythbox mythlogserver: mythfilldatabase[2352]: I SystemManager system-unix.cpp:263 (run) Starting process manager<br />Nov 11 05:09:21 mythbox mythlogserver: mythfilldatabase[2352]: I SystemSignalManager system-unix.cpp:490 (run) Starting process signal handler<br />Nov 11 05:
09:21 mythbox mythlogserver: mythfilldatabase[2352]: I SystemIOHandlerW system-unix.cpp:90 (run) Starting IO manager (write)<br />Nov 11 05:09:21 mythbox mythlogserver: mythfilldatabase[2352]: I SystemIOHandlerR system-unix.cpp:90 (run) Starting IO manager (read)<br />Nov 11 05:09:21 mythbox mythlogserver: mythfilldatabase[2352]: I Logger logging.cpp:447 (initialTimeout) Added logging to mythlogserver at TCP:35327<br />Nov 11 05:09:21 mythbox mythlogserver: mythfilldatabase[2352]: I CoreCont ext filldata.cpp:666 (Run) Grabber has capabilities: baseline manualconfig <br />Nov 11 05:09:21 mythbox mythlogserver: mythfilldatabase[2352]: I CoreContext filldata.cpp:758 (Run) Checking day @ offset 0, date: Mon Nov 11 2013<br />Nov 11 05:09:21 mythbox mythlogserver: mythfilldatabase[2352]: N CoreContext filldata.cpp:938 (Run) Data is already present for Mon Nov 11 2013, skipping<br />Nov 11 05:09:21 mythbox mythlogserver: mythfilldatabase[2352]: I CoreContext filldata.cpp:758 (
Run) Checking day @ offset 1, date: Tue Nov 12 2013<br />Nov 11 05:09:21 mythbox mythlogserver: mythfilldatabase[2352]: I CoreContext filldata.cpp:767 (Run) Data Refresh always needed for tomorrow<br />Nov 11 05:09:21 mythbox mythlogserver: mythfilldatabase[2352]: N CoreContext filldata.cpp:916 (Run) Refreshing data for Tue Nov 12 2013<br />Nov 11 05:09:21 mythbox mythlogserver: mythfilldatabase[2352]: I CoreContext filldata.cpp:396 (GrabData) XMLTV config file is: /home/mythtv/.mythtv/Altibo x.xmltv<br />Nov 11 05:09:23 mythbox mythlogserver: mythfilldatabase[2352]: E CoreContext filldata.cpp:465 (GrabData) FillData: XMLTV grabber returned error code 1<br />Nov 11 05:09:23 mythbox mythlogserver: mythfilldatabase[2352]: E CoreContext xmltvparser.cpp:605 (parseFile) Error in 1:1: unexpected end of file<br />Nov 11 05:09:23 mythbox mythlogserver: mythfilldatabase[2352]: I CoreContext icondata.cpp:164 (UpdateSourceIcons) IconData: Updating icons for sourceid: 2<br />Nov 11 05:0
9:23 mythbox mythlogserver: mythfilldatabase[2352]: I CoreContext filldata.cpp:338 (GrabDataFromFile) No programs found in data.<br />Nov 11 05:09:23 mythbox mythlogserver: mythfilldatabase[2352]: I CoreContext filldata.cpp:930 (Run) Grabber is no longer returning program data, finishing<br />Nov 11 05:09:23 mythbox mythlogserver: mythfilldatabase[2352]: E CoreContext main.cpp:497 (main) Failed to fetch some program info<br />Nov 11 05:09:23 mythbox mythlogserver: mythfilldatabase[2352]: I Cor eContext main.cpp:538 (main) Adjusting program database end times.<br />Nov 11 05:09:23 mythbox mythlogserver: mythfilldatabase[2352]: I CoreContext main.cpp:544 (main) 0 replacements made<br />Nov 11 05:09:23 mythbox mythlogserver: mythfilldatabase[2352]: I CoreContext main.cpp:549 (main) Marking generic episodes.<br />Nov 11 05:09:23 mythbox mythlogserver: mythfilldatabase[2352]: I CoreContext main.cpp:561 (main) Found 0<br />Nov 11 05:09:23 mythbox mythlo
gserver: mythfilldatabase[2352]: I CoreContext main.cpp:567 (main) Extending non-unique programids with multiple parts.<br />Nov 11 05:09:23 mythbox mythlogserver: mythfilldatabase[2352]: I CoreContext main.cpp:618 (main) Found 0<br />Nov 11 05:09:23 mythbox mythlogserver: mythfilldatabase[2352]: I CoreContext main.cpp:623 (main) Marking repeats.<br />Nov 11 05:09:23 mythbox mythlogserver: mythfilldatabase[2352]: I CoreContext main.cpp:637 (main) Found 0<br />Nov 11 05:09:23 mythbox mythlogserver: mythfilldatabase[2352]: I CoreContext main.cpp:639 (main) Unmarking new episode rebroadcast repeats.<br />Nov 11 05:09:23 mythbox mythlogserver: mythfilldatabase[2352]: I CoreContext main.cpp:649 (main) Found 0<br />Nov 11 05:09:23 mythbox mythlogserver: mythfilldatabase[2352]: I CoreContext main.cpp:661 (main) Marking episode first showings.<br />Nov 11 05:09:24 mythbox mythlogserver: mythfilldatabase[2352]: I CoreContext main.cpp:691 (mai
n) Found 10636<br />Nov 11 05:09:24 mythbox mythlogserver: mythfilldatabase[2352]: I CoreContext main.cpp:693 (main) Marking episode last showings.<br />Nov 11 05:09:25 mythbox mythlogserver: mythfilldatabase[2352]: I CoreContext main.cpp:723 (main) Found 10635<br />Nov 11 05:09:25 mythbox mythlogserver: mythfilldatabase[2352]: I CoreContext main.cpp:751 (main) #012===============================================================#012| Attempting to contact the master b ackend for rescheduling. |#012| If the master is not running, rescheduling will happen when |#012| the master backend is restarted. |#012===============================================================<br />Nov 11 05:09:25 mythbox mythlogserver: mythfilldatabase[2352]: I CoreContext mythcorecontext.cpp:375 (ConnectCommandSocket) MythCoreContext: Connecting to backend server: 192.168.2
51.80:6543 (try 1 of 1)<br />Nov 11 05:09:25 mythbox mythlogserver: mythfilldatabase[2352]: I CoreContext mythcorecontext.cpp:1191 (CheckProtoVersion) Using protocol version 75<br />Nov 11 05:09:25 mythbox mythlogserver: mythfilldatabase[2352]: I Socket mythcorecontext.cpp:1116 (readyRead) Received remote 'Clear Cache' request<br />Nov 11 05:09:25 mythbox mythlogserver: mythfilldatabase[2352]: N CoreContext main.cpp:761 (main) mythfilldatabase run complete.<br /><br /><br />