[go: up one dir, main page]

Menu

#49 Python 2.6 not supported by gtk-recordmydesktop

v1.0 (example)
closed
5
2021-03-13
2010-02-05
Anonymous
No

gtk-recordMyDesktop does not work with Python 2.6.
popen2 module has been deprecated since 2.6, and current version (0.3.8) of gtk-recordMyDesktop relies on that particular module.

Steps to produce:

1. Start gtk-recordMyDesktop from cmd line
2. Application window opens, and gtk-recordMyDesktop throw warning:

/usr/lib64/python2.6/site-packages/recordMyDesktop/rmdMonitor.py:10: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module.
import popen2

3. Click Advanced button on gtk-recordMyDesktop GUI
4. Following errors are thrown into terminal and no other windows are opened:

/usr/lib64/python2.6/site-packages/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/lib64/python2.6/site-packages/recordMyDesktop/rmdSimple.py", line 190, in advanced
self.options=pW.prefsWidget(self,self.values,self.optionsOpen)
File "/usr/lib64/python2.6/site-packages/recordMyDesktop/rmdPrefsWidget.py", line 410, in __init__
self.__runJackLSP__()
File "/usr/lib64/python2.6/site-packages/recordMyDesktop/rmdPrefsWidget.py", line 331, in __runJackLSP__
(stdin,stdout,stderr)=os.popen3(['jack_lsp'],'t')
File "/usr/lib64/python2.6/os.py", line 695, in popen3
stderr=PIPE, close_fds=True)
File "/usr/lib64/python2.6/subprocess.py", line 621, in __init__
errread, errwrite)
File "/usr/lib64/python2.6/subprocess.py", line 1126, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory

What should happen:

.
1. Start gtk-recordMyDesktop from cmd line.
2. Application window opens without warnings.
3. Click Advanced button on gtk-recordMyDesktop GUI
4. Window for advanced settings opens.

Environment:

Gentoo Linux,
python 2.6.4

Discussion

  •  Nilli

    Nilli - 2010-03-23

    I confirm this bug for qt-recordmydesktop as well. The error messages when following the steps above are the same for me, except for line numbers and that my system goes to /lib/ instead of /lib64/ .

    Steps to produce:

    1. Start qt-recordMyDesktop from cmd line
    2. Application window opens, and qt-recordMyDesktop throw warning:

    /usr/lib/python2.6/site-packages/qt_recordMyDesktop/rmdMonitor.py:34: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module.
    import popen2

    3. Click Advanced button on qt-recordMyDesktop GUI
    4. Following errors are thrown into terminal and no other windows are
    opened:

    /usr/lib64/python2.6/site-packages/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/lib64/python2.6/site-packages/recordMyDesktop/rmdSimple.py",
    line 190, in advanced
    self.options=pW.prefsWidget(self,self.values,self.optionsOpen)
    File
    "/usr/lib64/python2.6/site-packages/recordMyDesktop/rmdPrefsWidget.py",
    line 410, in __init__
    self.__runJackLSP__()
    File
    "/usr/lib64/python2.6/site-packages/recordMyDesktop/rmdPrefsWidget.py",
    line 331, in __runJackLSP__
    (stdin,stdout,stderr)=os.popen3(['jack_lsp'],'t')
    File "/usr/lib64/python2.6/os.py", line 695, in popen3
    stderr=PIPE, close_fds=True)
    File "/usr/lib64/python2.6/subprocess.py", line 621, in __init__
    errread, errwrite)
    File "/usr/lib64/python2.6/subprocess.py", line 1126, in _execute_child
    raise child_exception
    OSError: [Errno 2] No such file or directory

    Environment:

    Gentoo Linux,
    dev-lang/python-2.6.4-r1
    media-video/qt-recordmydesktop-0.3.8

     
  • Anonymous

    Anonymous - 2010-11-12

    I had a similar problem on opensuse. installing jack it worked. there' s a open bug saying that jack should be ignored if not present.
    HTH

     
  • Martin Nordholts

    • status: open --> closed
    • Group: --> v1.0 (example)
     

Log in to post a comment.