<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jul 1, 2023 at 8:04 AM Bill Meek <<a href="mailto:keemllib@gmail.com">keemllib@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"><br>
On Saturday 01 July 2023 05:46:10 AM (-05:00), James Abernathy wrote:<br>
<br>
> I'm testing Master on both Ubuntu 22.04 and Debian 12. I've noticed that <br>
in<br>
> recent days I've started getting error exit 128 on Metadata lookup on <br>
shows<br>
> that normally work fine but only on Debian 12.<br>
> <br>
> As a test as user mythtv I ran:<br>
> <br>
> mythmetadatalookup --refresh-all<br>
> on both systems and on Ubuntu I see:<br>
> <br>
> 2023-07-01 06:32:20.472224 I Testing grabbers and metadata sites for<br>
> functionality...<br>
> 2023-07-01 06:32:20.472683 I Starting process signal handler<br>
> 2023-07-01 06:32:20.472712 I Starting process manager<br>
> 2023-07-01 06:32:20.472749 I Starting IO manager (read)<br>
> 2023-07-01 06:32:20.473802 I Starting IO manager (write)<br>
> 2023-07-01 06:32:21.274655 I All grabbers tested and working.<br>
> Continuing...<br>
> 2023-07-01 06:32:21.281956 N MythMetadataLookup run complete.<br>
> <br>
> But on Debian 12 I see:<br>
> <br>
> 2023-07-01 06:31:04.407539 I Testing grabbers and metadata sites for<br>
> functionality...<br>
> 2023-07-01 06:31:04.411152 I Starting process signal handler<br>
> 2023-07-01 06:31:04.411323 I Starting process manager<br>
> 2023-07-01 06:31:04.411621 I Starting IO manager (read)<br>
> 2023-07-01 06:31:04.419909 I Starting IO manager (write)<br>
> 2023-07-01 06:31:04.562001 I Movie grabber not functional. Aborting <br>
this<br>
> run.<br>
> <br>
> The Ubuntu mythtv is from the ppa:mythbuntu/34.<br>
> On Debian 12 the packages are built following the wiki:<br>
> <a href="https://www.mythtv.org/wiki/Installing_MythTV_on_Debian" rel="noreferrer" target="_blank">https://www.mythtv.org/wiki/Installing_MythTV_on_Debian</a><br>
> <br>
> the changes I used for Master were:<br>
> <br>
> cd ~/build<br>
> git clone <a href="https://github.com/MythTV/packaging.git" rel="noreferrer" target="_blank">https://github.com/MythTV/packaging.git</a><br>
> cd packaging/deb<br>
> ./build-debs.sh master<br>
> <br>
> It's only in the last week that I've noticed the lost of the Metadata <br>
and<br>
> the exit 128 code, but only on Debian 12<br>
> <br>
> Jim A<br>
> <br>
If you add the --verbose system switch to the command, you'll see the<br>
started and exited couplets. The commands will be similar to this:<br>
<br>
<br>
/usr/share/mythtv/metadata/Movie/tmdb3.py -v<br>
<br>
<br>
and you can run that from the command line to see what's failing.<br>
<br>
-- <br>
Bill</blockquote><div><br></div><div>I assumed that it was a package build issue since it worked fine on Ubuntu. I created a new Debian 12 Minimal server VM and built a current setup of Master packages. After putting those new packages in my NAS Debian repo, I apt upgraded my test debian 12 backend and frontend. Now the metadata lookups work. I requeued all the ones with the exit 128 and now they worked without error and all had the complete setup of metadata.</div><div><br></div><div>So what I've learned is to not trust building packages in the same directory as the last time. My method which seems to have worked for weeks is to:</div><div>cd ~/build/package/deb/</div><div>git pull</div><div>./build-debs.sh master</div><div><br></div><div>However, something didn't get done correctly in regards to the code that does the metadata lookup. So I guess the new method is to put:</div><div>rm ~/build/*</div><div>as the first statement and complete start over. I don't think this will add more than a minute or 2 to the build process.</div><div><br></div><div>Jim A<br><br></div></div></div>