[mythtv-users] Mythfilldatabase problem

Michael T. Dean mtdean at thirdcontact.com
Mon May 28 17:34:35 UTC 2012


On 05/28/2012 01:09 PM, Stefan D wrote:
> On Mon, May 28, 2012 at 6:58 PM, Michael T. Dean wrote:
>>>> On 05/28/2012 12:39 PM, Stefan D wrote:
>>>>> The last few days mythfilldatabase has stopped working for me, i guess
>>>>> it
>>>>> was when i did a update from master sometime last week, and i'm slowly
>>>>> running out of guide data.
>>>>> I really don't know what verbose i should use to get help on my problem.
>>>>> What i do get is:
>>>>>
>>>>> FillData: xmltv returned error code 1
>>>>>
>>>>> And i have tried the command that mythfilldatabase use:
>>>>>
>>>>> tv_grab_se_swedb --config-file '/home/stefan/.mythtv/DVB.****xmltv'
>>>>>
>>>>> --output /tmp/mythMVc2oH --days 1 --offset 1
>>>>>
>>>>> And it does produce a file with valid data.
>>>>>
>>>>> What does error code 1 mean? And what could i try to solve my problem or
>>>>> get more information on my problem? I haven't changed anything besides
>>>>> updating from master now and then.
>> Please try running, again, with:
>>
>> mythfilldatabase -v xmltv
>

OK, this:

> 2012-05-28 19:00:30.193696 I  Grabber Command: nice tv_grab_se_swedb 
> --config-file '/home/stefan/.mythtv/DVB.xmltv' --output 
> /tmp/mythhwxcO6 --days 1 --offset 19
> 2012-05-28 19:00:30.193701 I  ----------------- Start of XMLTV output 
> -----------------
> 2012-05-28 19:00:30.784297 I  ------------------ End of XMLTV output 
> ------------------
> 2012-05-28 19:00:30.784683 E  FillData: xmltv returned error code 1

coupled with the fact that all of the "exit 1;" lines in 
http://xmltv.cvs.sourceforge.net/viewvc/xmltv/xmltv/grab/se_swedb/tv_grab_se_swedb.in?revision=1.8&view=markup 
leads me to believe that there's a problem with your config file.  Since 
you said the same command works fine when you run it manually, I'm 
guessing that means that the user who's running mythbackend doesn't have 
permission to access /home/stefan/.mythtv/DVB.xmltv (which is a good 
thing, since only stefan should have access to stefan's home directory).

So, you'll likely just need to re-configure mythfilldatabase 
(mythfilldatabase --manual ?  or something?) as the user who runs 
mythbackend (and, therefore, who runs mythfilldatabase).

Mike


More information about the mythtv-users mailing list