<div dir="ltr"><div dir="ltr"><br></div><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jan 31, 2021 at 5:09 AM Mike Perkins <<a href="mailto:mikep@randomtraveller.org.uk" target="_blank">mikep@randomtraveller.org.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 31/01/2021 01:52, Bill Meek wrote:<br>
> On 1/30/21 7:40 PM, Mary Strimel wrote:<br>
> <br>
> ...<br>
> <br>
>> Narrowing the issue, I found that I am able to get listings if I run mythfilldatabase as regular user mary, but I get the Schedules Direct<br>
>> lineup error if I run it as user mythtv. I thought the grabber was supposed to be used and configured as user mythtv though, and<br>
>> mythfilldatabase run as that user also. What should I do? Is there a way to tell mythtv to run mythfilldatabase as a regular user?<br>
>> I compared the FIOS.xmltv files under /home/mary and /home/mythtv. I thought I'd caught the issue when I noticed that the first file had both<br>
>> lineups listed (OTA and cable) and the second had only the cable lineup. But when I conformed the files to make the second match the first, I<br>
>> still get the error when I run mythfilldatabase as user mythtv. this sounds crazy but is it possible that user mythtv is not able to create the<br>
>> required /tmp file for that lineup.<br>
> <br>
> See if this explains things. It's only the files for XMLTV, don't<br>
> remove all other files (someone did so I have to add this.)<br>
> <br>
> <a href="https://forum.mythtv.org/viewtopic.php?f=36&t=3480&p=19513&hilit=ascii+art#p19508" rel="noreferrer" target="_blank">https://forum.mythtv.org/viewtopic.php?f=36&t=3480&p=19513&hilit=ascii+art#p19508</a><br>
> <br>
Another thing to look at is file permissions for files under the different users. Any variations <br>
could cause what you see.<br>
<br>
Also check the cache directories and files under those users. Temporary files can get put there <br>
during the run as well as in /tmp.<br>
<br></blockquote><div>Thank you Mike, Peter, and everyone for your suggestions - I think it may be working now! i first tried changing the permissions of all files including cache files in .mythtv/ and .xmltv/ for both users (mary and mythtv) to 777 but that did not work. Then on a random hunch i renamed /home/mythtv/.mythtv/FIOS.xmltv to /home/mythtv/.mythtv/FIOS.xmltv.old and swapped in the copy from /home/mary/.xmltv. Visual inspection had shown these files to be identical except for the location of the SchedulesDirect database, but whatever, I thought I'd try it. I edited the file to point it to the proper copy of the database in /home/mythtv and tried running the grabber as user mythtv and it appears to be chunking away as we speak. <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
-- <br>
<br>
Mike Perkins<br>
<br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
<a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" rel="noreferrer" target="_blank">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" rel="noreferrer" target="_blank">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" rel="noreferrer" target="_blank">https://forum.mythtv.org</a><br>
</blockquote></div></div>
</div>