gtk-recordMyDesktop crashes on launch without showing the main window

Bug #591995 reported by Delan Azabani
26
This bug affects 6 people
Affects Status Importance Assigned to Milestone
gtk-recordmydesktop (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Versions:
Ubuntu maverick alpha
gtk-recordmydesktop 0.3.8-1ubuntu1
recordmydesktop 0.3.8.1+svn602-1ubuntu1

Output:

delan@delan:~$ gtk-recordMyDesktop
/usr/lib/pymodules/python2.6/gtk-2.0/gtk/__init__.py:40: RuntimeWarning: tp_compare didn't return -1 or -2 for exception
  from gtk import _gtk
ImportError: No module named gi
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/apport_python_hook.py", line 105, in apport_excepthook
    os.O_WRONLY|os.O_CREAT|os.O_EXCL, 0600), 'w')
OSError: [Errno 2] No such file or directory: '/var/crash/_usr_bin_gtk-recordMyDesktop.1000.crash'

Original exception was:
ImportError: No module named gi
/usr/lib/pymodules/python2.6/recordMyDesktop/rmdMonitor.py:10: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module.
  import popen2
/usr/lib/pymodules/python2.6/recordMyDesktop/rmdSelectThumb.py:79: GtkWarning: gdk_image_put_pixel: assertion `y >= 0 && y < image->height' failed
  im2.put_pixel(k/stride,i/stride,im1.get_pixel(k,i))
/usr/lib/pymodules/python2.6/recordMyDesktop/rmdSimple.py:150: DeprecationWarning: Use the new widget gtk.Tooltip
  self.tooltips=gtk.Tooltips()
/usr/lib/pymodules/python2.6/recordMyDesktop/rmdSimple.py:151: DeprecationWarning: Use the new widget gtk.Tooltip
  self.tooltips.set_tip(self.win_button,smplTooltipLabels[0])
/usr/lib/pymodules/python2.6/recordMyDesktop/rmdSimple.py:152: DeprecationWarning: Use the new widget gtk.Tooltip
  self.tooltips.set_tip(self.start_button,smplTooltipLabels[1])
/usr/lib/pymodules/python2.6/recordMyDesktop/rmdSimple.py:153: DeprecationWarning: Use the new widget gtk.Tooltip
  self.tooltips.set_tip(self.file_button,smplTooltipLabels[2])
/usr/lib/pymodules/python2.6/recordMyDesktop/rmdSimple.py:154: DeprecationWarning: Use the new widget gtk.Tooltip
  self.tooltips.set_tip(self.quit_button,smplTooltipLabels[3])
/usr/lib/pymodules/python2.6/recordMyDesktop/rmdSimple.py:155: DeprecationWarning: Use the new widget gtk.Tooltip
  self.tooltips.set_tip(self.v_quality,smplTooltipLabels[4])
/usr/lib/pymodules/python2.6/recordMyDesktop/rmdSimple.py:156: DeprecationWarning: Use the new widget gtk.Tooltip
  self.tooltips.set_tip(self.v_label,smplTooltipLabels[4])
/usr/lib/pymodules/python2.6/recordMyDesktop/rmdSimple.py:157: DeprecationWarning: Use the new widget gtk.Tooltip
  self.tooltips.set_tip(self.s_button,smplTooltipLabels[5])
/usr/lib/pymodules/python2.6/recordMyDesktop/rmdSimple.py:158: DeprecationWarning: Use the new widget gtk.Tooltip
  self.tooltips.set_tip(self.s_quality,smplTooltipLabels[6])
/usr/lib/pymodules/python2.6/recordMyDesktop/rmdSimple.py:159: DeprecationWarning: Use the new widget gtk.Tooltip
  self.tooltips.set_tip(self.s_label,smplTooltipLabels[6])
/usr/lib/pymodules/python2.6/recordMyDesktop/rmdSimple.py:160: DeprecationWarning: Use the new widget gtk.Tooltip
  self.tooltips.set_tip(self.advanced_button,smplTooltipLabels[7])

Gdk-ERROR **: The program 'gtk-recordMyDesktop' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 361 error_code 8 request_code 72 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
aborting...
Trace/breakpoint trap

affects: ubuntu → recordmydesktop (Ubuntu)
Revision history for this message
Mark Krenz (mark-slugbug) wrote :

I'm having the same symptom in 10.10, but with a different error. I am able to run recordmydesktop though without issue.

/usr/lib/pymodules/python2.6/recordMyDesktop/rmdMonitor.py:10: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module.
  import popen2
/usr/lib/pymodules/python2.6/recordMyDesktop/rmdSelectThumb.py:79: GtkWarning: IA__gdk_image_put_pixel: assertion `y >= 0 && y < image->height' failed
  im2.put_pixel(k/stride,i/stride,im1.get_pixel(k,i))
Traceback (most recent call last):
  File "/usr/bin/gtk-recordMyDesktop", line 43, in <module>
    main()
  File "/usr/bin/gtk-recordMyDesktop", line 40, in main
    tr=rmdSimple.simpleWidget()
  File "/usr/lib/pymodules/python2.6/recordMyDesktop/rmdSimple.py", line 515, in __init__
    self.trayIcon=trayIcon(self)
  File "/usr/lib/pymodules/python2.6/recordMyDesktop/rmdTrayIcon.py", line 394, in __init__
    self.tray_popup=iTP.TrayPopupMenu(self.parent,self.parent.values,self.optionsOpen)
  File "/usr/lib/pymodules/python2.6/recordMyDesktop/rmdTrayPopup.py", line 51, in __init__
    self.popupmenu_continueitem.hide()
AttributeError: TrayPopupMenu instance has no attribute 'popupmenu_continueitem'

Revision history for this message
YAFU (yafu) wrote :

I have a similar problem (But the output is similar to that of Mark Krenz output ).

$ gtk-recordMyDesktop
/usr/lib/pymodules/python2.6/recordMyDesktop/rmdMonitor.py:10: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module.
  import popen2
Traceback (most recent call last):
  File "/usr/bin/gtk-recordMyDesktop", line 43, in <module>
    main()
  File "/usr/bin/gtk-recordMyDesktop", line 40, in main
    tr=rmdSimple.simpleWidget()
  File "/usr/lib/pymodules/python2.6/recordMyDesktop/rmdSimple.py", line 515, in __init__
    self.trayIcon=trayIcon(self)
  File "/usr/lib/pymodules/python2.6/recordMyDesktop/rmdTrayIcon.py", line 394, in __init__
    self.tray_popup=iTP.TrayPopupMenu(self.parent,self.parent.values,self.optionsOpen)
  File "/usr/lib/pymodules/python2.6/recordMyDesktop/rmdTrayPopup.py", line 51, in __init__
    self.popupmenu_continueitem.hide()
AttributeError: TrayPopupMenu instance has no attribute 'popupmenu_continueitem'

===
Kubuntu 10.10 Maverick
recordmydesktop 0.3.8.1+svn602-1ubuntu3
gtk-recordmydesktop 0.3.8-3ubuntu1
python 2.6.6-2ubuntu1

Revision history for this message
Rafal-maj-it (rafal-maj-it) wrote :

same bug, run directly program to work around...

recordmydesktop --quick-subsampling --fps 3 --no-sound --on-the-fly-encoding --v_quality 40 -o rec`date_%Y%m%d_%H%M%S`.ogv

Revision history for this message
Rafal-maj-it (rafal-maj-it) wrote :

typo, actuall the command would be:

recordmydesktop --quick-subsampling --fps 3 --no-sound --on-the-fly-encoding --v_quality 40 -o rec_`date +%Y%m%d_%H%M%S`.ogv

and creates .ogv file in working directory. --no-sound and v_quality options can be changed, man for more

Revision history for this message
Peter Wu (lekensteyn) wrote :

Yavu and Mark, your errors do not come from this bug, but from https://bugs.launchpad.net/ubuntu/+source/gtk-recordmydesktop/+bug/612885 .
Solution:
    sudo apt-get install python-appindicator

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in recordmydesktop (Ubuntu):
status: New → Confirmed
Revision history for this message
Martin Nordholts (enselic) wrote :

This problem is specific to the GTK wrapper, moving to gtk-recordmydesktop.

affects: recordmydesktop (Ubuntu) → gtk-recordmydesktop (Ubuntu)
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.