[mythtv-users] mythwikiscripts broken? [was: Re: find_orphans.py]

D. Hugh Redelmeier hugh at mimosa.com
Sun Jul 1 06:26:51 UTC 2012

A few months ago, there were a couple of reports of problems with 
mythwikiscripts.  They were buried in a discussion of find_orphans.py.

I too am experiencing a wythwikiscripts problem as descripted by Ian 
and Nick:

mythwikiscripts will display a long list of scripts, wait for a numeric 
choice from the list, and immediately go back to querying for the choice.
No file is downloaded.

I've instrumented the code (slightly) and it seems as if 
script.code.keys() returns an empty list, at least for 34, the number for 
find_orphans.py.  I've not delved into MythTV.wikiscripts which must 
define "script".

Interestingly, in the list of scripts, every entry is followed by (0).
That means that each script has size 0! This is calculated as
	sum([len(c) for c in scripts[i].code.values()])
So this indicates that script isn't decoding the scripts properly.

I'm running MythTV 0.24 + fixes as produced by MythBuntu.  The distro is 
Ubuntu 10.04 LTS.

Is this a known problem?

| From: Nick Rout <nick.rout at gmail.com>
| To: Discussion about MythTV <mythtv-users at mythtv.org>
| Date: Mon, 16 Apr 2012 10:58:24 +1200
| Subject: Re: [mythtv-users] find_orphans.py
| Reply-To: Discussion about MythTV <mythtv-users at mythtv.org>
| On Mon, Apr 16, 2012 at 10:44 AM, Ian Evans <dheianevans at gmail.com> wrote:
| > On Sun, Apr 15, 2012 at 5:14 PM, Nick Rout <nick.rout at gmail.com> wrote:
| >> 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.
| >
| > Does mythwikiscripts give any sort of feedback during the install?
| > I've run it and hit 32 for the orphans script, but it just asks me
| > what script I want to install again. If it's installing it, I can't
| > find it.
| I think it dumps it in the local directory, I usually cd to ~/bin
| before i run it.
| Strangely it seems broken, gives me the list of files but doesn't seem
| to download anything.
| Sorry for the noise, looks like its back to copy/paste from the wiki.

More information about the mythtv-users mailing list