<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 28, 2024 at 3:07 PM James Abernathy <<a href="mailto:jfabernathy@gmail.com">jfabernathy@gmail.com</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"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 26, 2024 at 6:12 PM Stephen Worthington <<a href="mailto:stephen_agent@jsw.gen.nz" target="_blank">stephen_agent@jsw.gen.nz</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">
<br>
The MythTV.pm file is a Perl module found in the libmythtv-perl<br>
package on Ubuntu. I would also recommend installing the<br>
libmyth-python package so MythTV Python utilities such as<br>
find_orphans.py will also work.<br>
<br>
To find missing files on Ubuntu (and likely Debian also), you can use<br>
"apt-file find". You have to install the apt-file package, and<br>
remember to run "apt-file update" before using it so it has the latest<br>
package databases.<br><br></blockquote><div><br></div><div>So installing libmythtv-perl and libxml-simple-perl fix <a href="http://optimize-mythdb.pl" target="_blank">optimize-mythdb.pl</a>.</div><div><br></div><div>However, for find_orphans,py I'm getting an error. If it's related to libmyth-python(3) that doesn't exist on deb-multimedia.</div><div><br></div><div>Console log below:</div><div><br></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">./find_orphans.py </span><br>Traceback (most recent call last):
<br> File "/home/jim/./find_orphans.py", line 221, in <module>
<br> DB = MythDB()
<br> ^^^^^^^^
<br> File "/usr/lib/python3/dist-packages/MythTV/database.py", line 1276, in __init__
<br> raise MythDBError(MythError.DB_CREDENTIALS)
<br>MythTV.exceptions.MythDBError: Could not find database login credentials<br>
</span><span style="font-family:arial,sans-serif"><br></span></div><div><span style="font-family:arial,sans-serif">Jim A</span></div></div></div></blockquote><div><br></div><div>Never mind. This was a permissions problem on the /mythtv directory. GID and UID changed on me. <br></div><div><br></div><div>Jim A</div><div><br></div></div></div>