[SOLVED] Unable to launch gtk-recordmydesktop advanced preferences

When I tried to launch the Advanced options in gtk-recordmydesktop, a gtk front end to recordmydesktop which enables Desktop recording in Linux, I got no GUI error but when I ran the same from the terminal, I could see the following error:

Traceback (most recent call last):
File “/usr/lib/pymodules/python2.6/recordMyDesktop/rmdSimple.py”, line 192, in advanced
File “/usr/lib/pymodules/python2.6/recordMyDesktop/rmdPrefsWidget.py”, line 410, in __init__
File “/usr/lib/pymodules/python2.6/recordMyDesktop/rmdPrefsWidget.py”, line 331, in __runJackLSP__
File “/usr/lib/python2.6/os.py”, line 695, in popen3
stderr=PIPE, close_fds=True)
File “/usr/lib/python2.6/subprocess.py”, line 623, in __init__
errread, errwrite)
File “/usr/lib/python2.6/subprocess.py”, line 1141, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory

It seemed it had something to do with jack audio server so I installed jackd package and the error was gone.