#13 select window not working in gtk-recordmydesktop

open
nobody
None
5
2010-07-23
2010-07-23
Davide Coppola
No

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.

Discussion

  • Davide Coppola
    Davide Coppola
    2010-07-23

    • summary: slect window not working in gtk-recordmydesktop --> select window not working in gtk-recordmydesktop