Advanced Settings button does not work due to missing jack_lsd

Bug #447011 reported by Franck
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gtk-recordmydesktop
Fix Released
High
Unassigned

Bug Description

On latest Karmic, with gtk-recordmydesktop 0.3.8-0ubuntu, clicking on the Advanced setting button fails.

From a shell, console says :

[... warnings about deprecated tooltip methods ...]
[...]
  self.channelsSpinButton= gtk.SpinButton(self.channelsAdjustment, climb_rate=0.5, digits=0)
/usr/lib/pymodules/python2.6/recordMyDesktop/rmdPrefsWidget.py:331: DeprecationWarning: os.popen3 is deprecated. Use the subprocess module.
  (stdin,stdout,stderr)=os.popen3(['jack_lsp'],'t')
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/recordMyDesktop/rmdSimple.py", line 190, in advanced
    self.options=pW.prefsWidget(self,self.values,self.optionsOpen)
  File "/usr/lib/pymodules/python2.6/recordMyDesktop/rmdPrefsWidget.py", line 410, in __init__
    self.__runJackLSP__()
  File "/usr/lib/pymodules/python2.6/recordMyDesktop/rmdPrefsWidget.py", line 331, in __runJackLSP__
    (stdin,stdout,stderr)=os.popen3(['jack_lsp'],'t')
  File "/usr/lib/python2.6/os.py", line 695, in popen3
    stderr=PIPE, close_fds=True)
  File "/usr/lib/python2.6/subprocess.py", line 621, in __init__
    errread, errwrite)
  File "/usr/lib/python2.6/subprocess.py", line 1126, in _execute_child
    raise child_exception
OSError: [Errno 2] Aucun fichier ou dossier de ce type
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/apport_python_hook.py", line 100, in apport_excepthook
    os.O_WRONLY|os.O_CREAT|os.O_EXCL), 'w')
OSError: [Errno 13] Permission non accordée: '/var/crash/_usr_bin_gtk-recordMyDesktop.1000.crash'

Original exception was:
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/recordMyDesktop/rmdSimple.py", line 190, in advanced
    self.options=pW.prefsWidget(self,self.values,self.optionsOpen)
  File "/usr/lib/pymodules/python2.6/recordMyDesktop/rmdPrefsWidget.py", line 410, in __init__
    self.__runJackLSP__()
  File "/usr/lib/pymodules/python2.6/recordMyDesktop/rmdPrefsWidget.py", line 331, in __runJackLSP__
    (stdin,stdout,stderr)=os.popen3(['jack_lsp'],'t')
  File "/usr/lib/python2.6/os.py", line 695, in popen3
    stderr=PIPE, close_fds=True)
  File "/usr/lib/python2.6/subprocess.py", line 621, in __init__
    errread, errwrite)
  File "/usr/lib/python2.6/subprocess.py", line 1126, in _execute_child
    raise child_exception
OSError: [Errno 2] Aucun fichier ou dossier de ce type

Revision history for this message
ctsdownloads (matt-hartley) wrote :

Doubt they will fix it anytime soon. So here is a work-a-round for ya.

In your home directory, gedit ~/.gtk-recordmydesktop

Then you can change anything there you would under advanced. For audio control, for instance:

#Sound-device
pulse

instead of

#Sound-device
DEFAULT

You get the idea. :)

Dominic Evans (oldmanuk)
Changed in gtk-recordmydesktop:
assignee: nobody → Dominic Evans (oldman)
importance: Undecided → High
status: New → Confirmed
status: Confirmed → In Progress
summary: - Advanced Settings button does not work
+ Advanced Settings button does not work due to missing jack_lsd
Revision history for this message
Dominic Evans (oldmanuk) wrote :

attached debdiff adds quilt patch system to gtk-recordmydesktop and adds a patch to check for existence of `jack_lsp` command and disables jack configuration options if it is not found - allowing the GUI panel to successfully open in karmic

Revision history for this message
Dominic Evans (oldmanuk) wrote :

minor update to included patch to include patch tags for launchpad bug and description

Revision history for this message
Daniel Holbach (dholbach) wrote :

Dominic: can you make sure that the patch gets upstream?

Also I added quilt as a Build-Depends so the patch gets actually applied. Normally I wouldn't bother adding a patch system if Debian does not make use of one either.

Revision history for this message
Dominic Evans (oldmanuk) wrote :

Hi Dan, yeah I've already e-mailed the patch upstream. I also sent him a patch to include all the latest translation work from launchpad. I didn't include that in this debdiff as I wasn't sure if you'd want to keep pre-release karmic changes to a minimum. But if you want to drop the patch into debian/patches as well I've attached it here too.

Revision history for this message
linuxpete (pwolters) wrote :

Got same problem.

After pressing "advanced button" got next output:

*** start out put ***
/usr/lib/pymodules/python2.6/recordMyDesktop/rmdPrefsWidget.py:239: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
  self.channelsSpinButton= gtk.SpinButton(self.channelsAdjustment, climb_rate=0.5, digits=0)
/usr/lib/pymodules/python2.6/recordMyDesktop/rmdPrefsWidget.py:331: DeprecationWarning: os.popen3 is deprecated. Use the subprocess module.
  (stdin,stdout,stderr)=os.popen3(['jack_lsp'],'t')
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/recordMyDesktop/rmdSimple.py", line 190, in advanced
    self.options=pW.prefsWidget(self,self.values,self.optionsOpen)
  File "/usr/lib/pymodules/python2.6/recordMyDesktop/rmdPrefsWidget.py", line 410, in __init__
    self.__runJackLSP__()
  File "/usr/lib/pymodules/python2.6/recordMyDesktop/rmdPrefsWidget.py", line 331, in __runJackLSP__
    (stdin,stdout,stderr)=os.popen3(['jack_lsp'],'t')
  File "/usr/lib/python2.6/os.py", line 695, in popen3
    stderr=PIPE, close_fds=True)
  File "/usr/lib/python2.6/subprocess.py", line 621, in __init__
    errread, errwrite)
  File "/usr/lib/python2.6/subprocess.py", line 1126, in _execute_child
    raise child_exception
OSError: [Errno 2] Bestand of map bestaat niet (Linuxpete meaning : dir doesn't exist)
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/apport_python_hook.py", line 100, in apport_excepthook
    os.O_WRONLY|os.O_CREAT|os.O_EXCL), 'w')
OSError: [Errno 13] Toegang geweigerd: '/var/crash/_usr_bin_gtk-recordMyDesktop.1000.crash' (Linuxpete meaning : access denied)

Original exception was:
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/recordMyDesktop/rmdSimple.py", line 190, in advanced
    self.options=pW.prefsWidget(self,self.values,self.optionsOpen)
  File "/usr/lib/pymodules/python2.6/recordMyDesktop/rmdPrefsWidget.py", line 410, in __init__
    self.__runJackLSP__()
  File "/usr/lib/pymodules/python2.6/recordMyDesktop/rmdPrefsWidget.py", line 331, in __runJackLSP__
    (stdin,stdout,stderr)=os.popen3(['jack_lsp'],'t')
  File "/usr/lib/python2.6/os.py", line 695, in popen3
    stderr=PIPE, close_fds=True)
  File "/usr/lib/python2.6/subprocess.py", line 621, in __init__
    errread, errwrite)
  File "/usr/lib/python2.6/subprocess.py", line 1126, in _execute_child
    raise child_exception
OSError: [Errno 2] Bestand of map bestaat niet (Linuxpete meaning : dir doesn't exist)

*** end output ***

Revision history for this message
Dominic Evans (oldmanuk) wrote :

Fixed in 0.3.8-0ubuntu2 and available from karmic archive. Thanks Dan.

Changed in gtk-recordmydesktop:
status: In Progress → Fix Released
Revision history for this message
cbilljones (cbilljones) wrote :

"In your home directory, gedit ~/.gtk-recordmydesktop

Then you can change anything there you would under advanced. "

I have to build from source to use oss and this bug was still present; the above advice helped my issue: i just had to add the "--no-frame" option, works good now, thanks

Revision history for this message
darthanubis (darthanubis) wrote :

Add jack support.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.