﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	mlocked
8982	python bindings scanStorageGroups(deleteold=True) fails	daniel@…	Raymond Wagner	"In the python bindings using scanStorageGroups(deleteold=True) from MythVideo causes this error when there are old entries to remove.

{{{
>>> m = MythVideo(db=db1)
>>> m.scanStorageGroups(deleteold=True)
Traceback (most recent call last):
  File ""<stdin>"", line 1, in <module>
  File ""/usr/lib/python2.6/dist-packages/MythTV/MythFunc.py"", line 1035, in scanStorageGroups
    vid.delete()
  File ""/usr/lib/python2.6/dist-packages/MythTV/MythData.py"", line 1195, in delete
    self.cast.clean()
  File ""/usr/lib/python2.6/dist-packages/MythTV/MythData.py"", line 1116, in clean
    self.delete(member.cast)
  File ""/usr/lib/python2.6/dist-packages/MythTV/MythData.py"", line 1113, in delete
    def delete(self, member): DBDataCRef.delete(self,(member,))
  File ""/usr/lib/python2.6/dist-packages/MythTV/MythBase.py"", line 738, in delete
    index = self.hash.index[dat]
TypeError: 'builtin_function_or_method' object is unsubscriptable

}}}

{{{
MythTV Version   : 26407
MythTV Branch    : branches/release-0-23-fixes
Network Protocol : 23056
Library API      : 0.23.1.201000710-1
QT Version       : 4.5.2
Options compiled in:
 linux debug using_oss using_alsa using_pulse using_jack using_pulseoutput using_backend using_dvb using_firewire using_frontend using_glx_proc_addr_arb using_hdhomerun using_hdpvr using_iptv using_ivtv using_joystick_menu using_libudev using_lirc using_mheg using_opengl_video using_opengl_vsync using_qtdbus using_qtwebkit using_v4l using_x11 using_xrandr using_xv using_xvmc using_xvmc_vld using_xvmcw using_bindings_perl using_bindings_python using_opengl using_vdpau using_ffmpeg_threads using_libavc_5_3 using_live using_mheg

}}}


"	defect	closed	minor	0.23-fixes	Bindings - Python	0.23.1	low	fixed			0
