[mythtv-commits] Ticket #8488: python bindings scanStorageGroups fails with empty directory
MythTV
mythtv at cvs.mythtv.org
Sun May 23 17:54:25 UTC 2010
#8488: python bindings scanStorageGroups fails with empty directory
------------------------------------------+---------------------------------
Reporter: Daniel Agar <daniel@…> | Owner: wagnerrp
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: Bindings - Python | Version: 0.23-fixes
Severity: medium | Mlocked: 0
------------------------------------------+---------------------------------
If an empty folder exists in storage groups, scanStorageGroups in 0.23
fixes python bindings fails.
{{{
Traceback (most recent call last):
File "mythvideo_scan", line 6, in <module>
m.scanStorageGroups(deleteold=True)
File "/usr/lib/python2.6/dist-packages/MythTV/MythFunc.py", line 989, in
scanStorageGroups
folders = be.walkSG(sg.hostname, 'Videos', '/')
File "/usr/lib/python2.6/dist-packages/MythTV/MythFunc.py", line 410, in
walkSG
res = walk(self, host, sg, base, top)
File "/usr/lib/python2.6/dist-packages/MythTV/MythFunc.py", line 403, in
walk
res.update(walk(self, host, sg, root, path+'/'+d))
File "/usr/lib/python2.6/dist-packages/MythTV/MythFunc.py", line 403, in
walk
res.update(walk(self, host, sg, root, path+'/'+d))
File "/usr/lib/python2.6/dist-packages/MythTV/MythFunc.py", line 396, in
walk
dn, fn, fs = self.getSGList(host, sg, root+path+'/')
TypeError: 'int' object is not iterable
}}}
{{{
MythTV Version : 24755
MythTV Branch : branches/release-0-23-fixes
Network Protocol : 56
Library API : 0.23.20100429-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
}}}
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/8488>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list