[mythtv-users] Orphan recordings cleaned up?
raymond at wagnerrp.com
Fri Dec 24 00:01:25 UTC 2010
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>
>>>> File "./find_orphans.py", line 164, in main
>>>> printrecs("Recordings with missing files", recs)
>>>> File "./find_orphans.py", line 43, in printrecs
>>>> File "/usr/lib/pymodules/python2.6/MythTV/altdict.py", line 27, in
>>>> raise AttributeError(str(name))
>>>> AttributeError: pprint
>>>> Any clues?
>>> exactly the same here.
>>> mythtv-users mailing list
>>> mythtv-users at mythtv.org
>> 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
More information about the mythtv-users