select window not working in gtk-recordmydesktop
Status: Alpha
Brought to you by:
enselic
running Kubuntu 10.04, recordmydesktop installed is 0.3.8.1
There's a bug in gtk-recordmydesktop not allowing to select the window to record, this is the error:
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/recordMyDesktop/rmdSimple.py", line 250, in __select_window__
if wid: xwininfo_com = ['xwininfo','-id',wid]
UnboundLocalError: local variable 'wid' referenced before assignment
I fixed it editing the rmdSimple.py file, this is the .diff
250,251d249
< wid = 0
<
P.S.
I'm not a python coder, so probably there's a better way to fix the bug, but this works fine for now.
Any chance you can adapt this to the new code in the new official GitHub project? That would be greatly appreciated. Thanks! New project page is here: https://github.com/Enselic/recordmydesktop