[mythtv-users] using find_orphans.py

James Abernathy jfabernathy at gmail.com
Tue Jun 18 20:06:08 UTC 2024


On Tue, Jun 18, 2024 at 4:03 PM James Abernathy <jfabernathy at gmail.com>
wrote:

>
>
> On Tue, Jun 18, 2024 at 3:56 PM Hika van den Hoven <hikavdh at gmail.com>
> wrote:
>
>> Hoi James,
>>
>> You do not have the python bindings installed
>>
>> Tuesday, June 18, 2024, 9:42:36 PM, you wrote:
>>
>> > I have a test system on Archlinux and I'm trying to run
>> > find_orphans.py from the wiki
>> > (https://www.mythtv.org/wiki/Find_orphans.py) and I get an error
>> > right off in line 3. I tried 2 ways to execute, same results.
>>
>> > [jim at den-pc ~]$ ./find_orphans.py
>> > Traceback (most recent call last):
>> >  File "/home/jim/./find_orphans.py", line 3, in <module>
>> >    from MythTV import MythDB, MythBE, Recorded, MythError
>> > ModuleNotFoundError: No module named 'MythTV'
>> > [jim at den-pc ~]$ python3 find_orphans.py
>> > Traceback (most recent call last):
>> >  File "/home/jim/find_orphans.py", line 3, in <module>
>> >    from MythTV import MythDB, MythBE, Recorded, MythError
>>
>> > ModuleNotFoundError: No module named 'MythTV'
>>
>> > Not sure what I missed.  It works fine on my Ubuntu system.
>>
>>
>> > Jim A
>>
>>
>> Tot mails,
>>   Hika                            mailto:hikavdh at gmail.com
>>
>> "Zonder hoop kun je niet leven
>> Zonder leven is er geen hoop
>> Het eeuwige dilemma
>> Zeker als je hoop moet vernietigen om te kunnen overleven!"
>>
>> De lerende Mens
>>
>>
>> Thanks, not sure what I missed but here is what those commands show:
>
> [jim at den-pc ~]$ mythbackend --version|grep bindings_python
> [jim at den-pc ~]$ sudo find / -name bindings | grep mythtv
> [sudo] password for jim:
> /home/.snapshots/21/snapshot/jim/.cache/yay/mythtv-git/src/mythtv/mythtv/bindings
>
> /home/.snapshots/21/snapshot/jim/.cache/yay/mythtv-git/src/mythtv/platform/win32/msvc/external/taglib/bindings
>
> /home/.snapshots/22/snapshot/jim/.cache/yay/mythtv-git/src/mythtv/mythtv/bindings
>
> /home/.snapshots/22/snapshot/jim/.cache/yay/mythtv-git/src/mythtv/platform/win32/msvc/external/taglib/bindings
>
> find: ‘/run/user/1000/doc’: Permission denied
> /usr/share/mythtv/bindings
> /.snapshots/24/snapshot/usr/share/mythtv/bindings
> /.snapshots/25/snapshot/usr/share/mythtv/bindings
> /.snapshots/26/snapshot/usr/share/mythtv/bindings
> /.snapshots/27/snapshot/usr/share/mythtv/bindings
> /.snapshots/28/snapshot/usr/share/mythtv/bindings
> /.snapshots/29/snapshot/usr/share/mythtv/bindings
> /.snapshots/30/snapshot/usr/share/mythtv/bindings
> /.snapshots/31/snapshot/usr/share/mythtv/bindings
> /.snapshots/32/snapshot/usr/share/mythtv/bindings
> /.snapshots/33/snapshot/usr/share/mythtv/bindings
> /.snapshots/34/snapshot/usr/share/mythtv/bindings
> [jim at den-pc ~]
>
> So If I'm missing the bindings, How do I install them in Arch?
>
> Jim a
>
>
I see in /usr/share/mythtv/bindings the following files.

MythBackend.php  MythBase.php  MythFrontend.php  MythTVChannel.php
 MythTV.php  MythTVProgram.php  MythTVRecording.php  MythTVStorageGroup.php

Jim A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20240618/495764c3/attachment.htm>


More information about the mythtv-users mailing list