[mythtv-users] find_orphans.py

Josh White jaw1959 at gmail.com
Sun Apr 15 21:32:38 UTC 2012


On Sun, Apr 15, 2012 at 5:14 PM, Nick Rout <nick.rout at gmail.com> wrote:

> On Mon, Apr 16, 2012 at 8:26 AM, Alex Tomlins <alex at tomlins.org.uk> wrote:
> > On 15/04/12 21:19, Bill Meek wrote:
> >>
> >> On 04/15/2012 02:46 PM, Josh White wrote:
> >> ...
> >> >http://www.mythtv.org/wiki/Find_orphans.py
> >> ...
> >>>
> >>> josh at Myth-Backend:/store$ ./find_orphans.pl
> >>> : No such file or directory
> >>
> >> ...
> >>>
> >>> Any ideas?
> >>
> >>
> >> Hi;
> >>
> >> The file can be saved as any name, but, the suffix is
> >> most likely .py not .pl. Or, consider Find_ vs. find_.
> >>
> >> If that doesn't help, type: locate --ignore-case orphans
> >>
> > That 'No such file or directory' error can also be triggered if the OS
> can't
> > find the command in the #! line.  In this case it's looking for python
> > anywhere in your path.  I'd be surprised if that's not available though.
> >  You can double-check by running 'which python', which should return the
> > location of the python executable.
> >
> > thanks,
> > Alex
>
> The find_orphans script, like all the scripts in the wiki, is supposed
> to be downloaded with another scrip mythwikiscripts. In ubuntu
> mythwikiscripts is packaged in libmyth-python.
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>


Thanks for the help.  I'll try to respond in the order I received
suggestions:

1.  I renamed find_orphans.pl find_orphans.py, same result (I had actually
renamed it find_orphans.pl after seeing another thread call it by that
name, I was pretty sure it didn't matter, as I couldn't explain why it
wasn't working, I was willing to try anything i could find).  I also
searched for the file, and only find the one I created.

2.  I double checked to see if it was executable.  I was before, and still
is after running chmod +x find_orphans.py.

3.  I checked to see if the first line of the script exists in the path the
script expects to see, and it does (/usr/bin/env).

4.  I ran ./mythwikiscripts, and here's what I see:

josh at Myth-Backend:/usr/bin$ ./mythwikiscripts
MythTV Interactive Script Downloader.
This script parses the wiki, and may take several minutes.
Loading took 5.45 seconds
  0: Exit
Please choose a category.
> 0
josh at Myth-Backend:/usr/bin$


More information about the mythtv-users mailing list