Package: istanbul
Version: 0.2.2-8
Tags: patch
Usertags: origin-ubuntu natty ubuntu-patch

Link to Launchpad Bug :
https://bugs.launchpad.net/ubuntu/+source/istanbul/+bug/738673

On running istanbul. Recording takes place, but on stopping istanbul crashes
with the following error :

** Message: pygobject_register_sinkfunc is deprecated (GstObject)
DEBUG: final pipeline: istximagesrc name=videosource display-name=:0.0
screen-num=0 ! video/x-raw-rgb,framerate=10/1 ! videorate ! ffmpegcolorspace
! videoscale method=1 ! video/x-raw-yuv,width=1280,
height=800,framerate=10/1 ! theoraenc ! oggmux name=mux ! filesink
location=/tmp/tmpCbldBt
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/istanbul/main/save_window.py", line 42,
in do_realize
    Gtk.DrawingArea.do_realize(self)
NameError: global name 'Gtk' is not defined
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/istanbul/main/save_window.py", line
147, in init_videowidget
    widget._xid = widget.window.xid
AttributeError: 'NoneType' object has no attribute 'xid'
**
Gtk:ERROR:/build/buildd/gtk+2.0-2.24.3/gtk/gtkwidget.c:8832:gtk_widget_real_map:
assertion failed: (gtk_widget_get_realized (widget))
Aborted (core dumped)

The problem could be solved by correcting a typo in
/usr/lib/pymodules/python2.7/istanbul/main/save_window.py

Gtk.DrawingArea.do_realize(self) has to be changed to
gtk.DrawingArea.do_realize(self)

In Ubuntu, we've applied the attached patch to achieve the following:

  * correct the typo in debian/patches/fix_grab_xid.patch : "Gtk" to "gtk"

We thought you might be interested in doing the same.



-- 
Rohit R
Third Year Int MSc Student
Dept of Physics
IIT Kharagpur

Attachment: istanbul_0.2.2-8ubuntu1.debdiff
Description: Binary data

Reply via email to