<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Oct 27, 2014 at 12:08 PM, Bill Meek <span dir="ltr"><<a href="mailto:keemllib@gmail.com" target="_blank">keemllib@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi,<br>
<br>
I'm stumped. Here's 4 suggestions (in reverse order of what I'd do, but quickest.)<br>
After each, re-try the metadata download:<br>
<br>
Boot mythbox (which I hate because if it works the problem is masked.)<br>
<br>
Restart the mythbackend (bad for the same reason.)<br>
<br>
delete the cache in: ~mythtv/.mythtv/cache/<u></u>mythmetadatalookup-mythbox/<u></u>data*/?/*<br>
(still would hide the problem.)<br>
<br>
Apply this patch and make another run, look at the output in /tmp/easy.log<br>
<a href="http://pastebin.com/kjQ4LKVW" target="_blank">http://pastebin.com/kjQ4LKVW</a> . The question being, why can't the backend<br>
find the Python bindings yet when you run tmdb3.py from the command line<br>
it works OK.</blockquote><div><br></div><div>Hi Bill, new information! I have been using an init script to start the backend in /etc/init.d/mythbackend. I have found that when I run mythbackend manually from a command prompt instead of running the init script it works! I found the command that is used to start mythbackend and tried to execute it to start the server:</div><div><br></div><div>start-stop-daemon --start --quiet --pidfile /var/run/mythtv/mythbackend.pid --user spikeygg --chuid spikeygg --exec /mythtv/local64/bin/mythbackend -- --daemon --logpath /var/log/mythtv --pidfile /var/run/mythtv/mythbackend.pid<br></div><div><br></div><div>When I ran mythfrontend while logged in as spikeygg and tried to lookup it also worked! So where does that leave me? When root runs that command it breaks my bindings? Any ideas on how to correct it?</div><div><br></div><div>To confirm this I did a "sudo su" became root, issued the same command above to start the backend (start-stop-daemon), ran the frontend to kick off the metadatalookup and it failed as usual. :-/</div><div><br></div></div></div></div>