[mythtv-users] find_orphans.py

Nick Rout nick.rout at gmail.com
Sun Apr 15 22:04:04 UTC 2012


On Mon, Apr 16, 2012 at 9:32 AM, Josh White <jaw1959 at gmail.com> wrote:
>
>
> 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$
>
> From the output given by mythwikiscripts, it seems like an interactive
> script would allow more interaction that the exit command.  Should I be
> seeing something different than what I see?

I get

nick at media:~$ mythwikiscripts
MythTV Interactive Script Downloader.
This script parses the wiki, and may take several minutes.
Loading took 2.29 seconds
  0: Quit
Channel Change Scripts:
  1:  - Channel-change script for the SA 4250HDC cable box (0)
  2:  - Linux driver for Red-Eye Serial. (0)
  3:  - irsend channel change script (0)
  4:  - DirectTV channel changer (0)
  5: 6200ch - Channel-change script for DCT-6200 cable boxes. (0)
  6: DISH Network LIRC channel change script - DISH Network LIRC
channel change script (0)
  7: LircChannelChanger - Lirc Channel Change script (0)
  8: SKY channel changer - Channel-change script for Sky (0)
  9: change-channel-lirc.pl - Channel-change script for LIRC transmitter. (0)
  10: changechannel.py - Serial control of cable boxes in MythTV (0)
  11: d10control.pl - Channel-change script for DirecTV. (0)
  12: dct-channel - Channel-change script for DCT-2000-series cable boxes. (0)
  13: dish-change-channel-lirc.sh - A simple script for changing the
channel with a LIRC transmitter (0)
  14: myth-chan - Channel-change script using ivtv-utils (0)
  15: sa3250ch - Channel-change script for SA3250HD cable box (0)
  16: sa4250_ch_guid - Channel-change script for SA4250HD using GUID (0)
  17: stb-command - Sending commands to a set top box via ieee1394/firewire (0)
  18: tkmythremote - A simple Tk-based remote control for MythTV (0)
Channel_Change_Scripts:
  19:  - TiVo channel changer (0)
Configuration Files:
  20: Media Monitor udev Configuration - MythTV Media Monitor udev
Configuration (0)
  21: X10 MouseRemote Configuration - X10 MouseRemote Configuration (0)
  22: joystickmenurc - Joystick menu configuration file (0)
  23: msec Configuration File - msec configuration file (0)
Firewire Priming Scripts:
  24: 6200changer.sh - 6200changer.sh (0)
  25: firewire_primer.pl - Firewire priming script (0)
  26: firewire_primer.sh - One-tuner firewire priming script (0)
  27: firewire_primer.sh - One-tuner firewire priming script for
broadcast connections (0)
  28: sa3520_fixer.sh - SA3250HD primer (0)
  29: sure-change.sh - Multi-tuner firewire priming script (0)
Log Rotation Configuration Files:
  30: logrotate - mythbackend - logrotate configuration for mythbackend (0)
  31: logrotate - mythfrontend - logrotate configuration for mythfrontend (0)
Maintenance:
  32:  - orphaned file/recording scanner (0)
Miscellaneous Status Information Scripts:
  33:  - Generate an iCalendar file showing upcoming MythTV recordings. (0)
  34:  - Adds temp/fan info to the backend status page (0)

---and a whole lot more, up to 99.

I have libmyth-python version 2:0.24.2+fixes.20120316.322de47-0ubuntu0mythb

>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>


More information about the mythtv-users mailing list