[mythtv-users] wiki scripts (was Re: Orphan recordings cleaned up?)
Greg
greg12866 at nycap.rr.com
Mon Jan 3 23:18:07 UTC 2011
On 01/03/2011 04:54 PM, John Pilkington wrote:
> Nick Rout wrote:
>> On Fri, Dec 24, 2010 at 9:18 AM, Michael T. Dean
>> <mtdean at thirdcontact.com> wrote:
>>> On 12/23/2010 11:24 AM, Raymond Wagner wrote:
>>>> I can't come up with a reason why you should be seeing this error.
>>>> There
>>>> is an important line near the bottom of the script:
>>>>
>>>> DB.searchRecorded.handler = MyRecorded
>>>>
>>>> The only thing I can think of is you both somehow managed to mess up
>>>> copy-paste by missing the same line.
>>>
>>> See the top of http://www.mythtv.org/wiki/Category:Scripts .
>>
>> this great feature seems to be little known. Can I suggest that
>> someone who knows the wiki structure better than me incorporates a
>> note about this on each of the script wiki pages?
>
> OK, it sounds great - but my 0.23.1 box doesn't have it and my 0.24
> el5 box has python 2.4 and reports 'invalid syntax' as below:
>
> [mythtv at cpc1-clif1-0-0-cust573 ~]$ mythwikiscripts
> Traceback (most recent call last):
> File "/usr/bin/mythwikiscripts", line 3, in ?
> from MythTV.wikiscripts import *
> File "/usr/lib/python2.4/site-packages/MythTV/__init__.py", line 57,
> in ?
> exec(importall)
> File "<string>", line 4, in ?
> File "/usr/lib/python2.4/site-packages/MythTV/logging.py", line 202
> with self._lock:
> ^
> SyntaxError: invalid syntax
>
> There seems to be a locking problem under el5 anyway, and I suppose
> that may be related to this. I need to 'enable sloppy lock' for
> mythfrontend to run.
>
> John P
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
I believe 2.6 is the minimum for 0.24...
More information about the mythtv-users
mailing list