[mythtv-users] Orphan recordings cleaned up?
Andrew C. Stadt
acstadt at stadt.ca
Fri Dec 24 00:03:37 UTC 2010
On 23/12/2010 7:01 PM, Raymond Wagner wrote:
> On 12/23/2010 17:42, Christopher Kerr wrote:
>> On Fri, Dec 24, 2010 at 3:24 AM, Raymond
>> Wagner<raymond at wagnerrp.com> wrote:
>>> On 12/23/2010 04:15, Stefan G. Weichinger wrote:
>>>> Am 23.12.2010 08:18, schrieb Christopher Kerr:
>>>>
>>>>> Breaks on the latest build from JYA's repo:
>>>>>
>>>>> kerr at TV:~$ ./find_orphans.py
>>>>> Recordings with missing files
>>>>> Traceback (most recent call last):
>>>>> File "./find_orphans.py", line 224, in<module>
>>>>> main()
>>>>> File "./find_orphans.py", line 164, in main
>>>>> printrecs("Recordings with missing files", recs)
>>>>> File "./find_orphans.py", line 43, in printrecs
>>>>> rec.pprint()
>>>>> File "/usr/lib/pymodules/python2.6/MythTV/altdict.py", line 27, in
>>>>> __getattr__
>>>>> raise AttributeError(str(name))
>>>>> AttributeError: pprint
>>>>>
>>>>> Any clues?
>>>> exactly the same here.
>>>> Stefan
>>>> _______________________________________________
>>>> mythtv-users mailing list
>>>> mythtv-users at mythtv.org
>>>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>>> 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.
>> Nope, script contains that line, and I re-copy-pasted the script to
>> be sure.
>>
>> Still breaks.
>
> I had forgotten I reworked the handling in the searchDatabase utility,
> and the old variable was 'dbclass'. The line should read:
>
> DB.searchRecorded.dbclass = MyRecorded
>
Yup, that worked.
More information about the mythtv-users
mailing list