[mythtv-users] find orphans.py question

Warpme warpme at o2.pl
Fri Jun 10 07:40:45 UTC 2011


Raymond,

Thx for recent updates in py bindings. I grab latest find_orphans.py. 
Script works but somehow strange:
1.Launch script. It lists 18 of 0 byte rec
2.Select to delete 0 byte rec
3.Script processing about 5sec and returns with list now showing 16 of 0 
byte rec.
4.Another selection of delete attempt to delete gives:

Unfortunately occasionally I'm getting following error:

--------------------------
Are you sure you want to continue?
 > yes
Traceback (most recent call last):
   File "/usr/local/bin/maintenance/find_orphans.py", line 230, in <module>
     main()
   File "/usr/local/bin/maintenance/find_orphans.py", line 214, in main
     opt[1](opt[2])
   File "/usr/local/bin/maintenance/find_orphans.py", line 135, in 
delete_recs
     except MythError:
NameError: global name 'MythError' is not defined
Exception TypeError: 'reconnect() takes at most 2 arguments (3 given)' 
in <bound method BEConnection.__del__ of 
<MythTV.connections.BEConnection object at 0xa2792cc>> ignored
[root at mythtv i686]#
--------------------------

5.Another launch gives no 0 bytes rec (but I have now 8 of them on disk)


Issue seems to be the same like issue with mythvidexport.py reported by 
me in http://www.gossamer-threads.com/lists/mythtv/users/480981
I'm on master g4d4eaa8 with python2.7 (downgraded from 3.2 as in recent 
Arch default python is 3.2) .

br



-------------- next part --------------
A non-text attachment was scrubbed...
Name: warpme.vcf
Type: text/x-vcard
Size: 83 bytes
Desc: not available
Url : http://www.mythtv.org/pipermail/mythtv-users/attachments/20110610/261c5ca3/attachment.vcf 


More information about the mythtv-users mailing list