After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 412663 - "select windows to record" do not work
"select windows to record" do not work
Status: RESOLVED WONTFIX
Product: istanbul
Classification: Other
Component: general
HEAD CVS
Other All
: Normal normal
: ---
Assigned To: Zaheer Abbas Merali
Zaheer Abbas Merali
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2007-02-27 15:35 UTC by misc
Modified: 2018-07-02 10:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix (490 bytes, patch)
2008-03-22 19:49 UTC, Krzysztof Kotlenga
none Details | Review

Description misc 2007-02-27 15:35:37 UTC
Please describe the problem:
after running istanbul ( on kde ), i check "select windows to record" in the menu, it show a backtrace, and then the software no longer respond once i stop the recording.

Steps to reproduce:
1. run istanbul
2. check "select windows to record", and click on a windows of your choice
3. click on the icon to start the recording


Actual results:
There is a very long traceback in the console ( i have only show the end, as this is the same line at the begginning ) : 
  • File "/usr/lib/python2.5/site-packages/istanbul/main/window_select.py", line 88 in _get_client_window_check_children
    result = self._get_client_window_check_children(window)
  • File "/usr/lib/python2.5/site-packages/istanbul/main/window_select.py", line 88 in _get_client_window_check_children
    result = self._get_client_window_check_children(window)
  • File "/usr/lib/python2.5/site-packages/istanbul/main/window_select.py", line 88 in _get_client_window_check_children
    result = self._get_client_window_check_children(window)
  • File "/usr/lib/python2.5/site-packages/istanbul/main/window_select.py", line 81 in _get_client_window_check_children
    children = window.query_tree().children
  • File "/usr/lib/python2.5/site-packages/Xlib/xobject/drawable.py", line 417 in query_tree
    window = self.id)
  • File "/usr/lib/python2.5/site-packages/Xlib/protocol/rq.py", line 1430 in __init__
    self.reply()
  • File "/usr/lib/python2.5/site-packages/Xlib/protocol/rq.py", line 1442 in reply
    self._display.send_and_recv(request = self._serial)
  • File "/usr/lib/python2.5/site-packages/Xlib/protocol/display.py", line 548 in send_and_recv
    gotreq = self.parse_response(request)
  • File "/usr/lib/python2.5/site-packages/Xlib/protocol/display.py", line 635 in parse_response
    gotreq = self.parse_request_response(request) or gotreq
  • File "/usr/lib/python2.5/site-packages/Xlib/protocol/display.py", line 721 in parse_request_response
    req._parse_response(self.data_recv[:self.request_length])
  • File "/usr/lib/python2.5/site-packages/Xlib/protocol/rq.py", line 1454 in _parse_response
    self._data, d = self._reply.parse_binary(data, self._display, rawdict = 1)
  • File "<string>", line 8 in parse_binary
  • File "/usr/lib/python2.5/site-packages/Xlib/protocol/rq.py", line 499 in parse_binary_value
    ret[i] = self.type.parse_value(v, display)
  • File "/usr/lib/python2.5/site-packages/Xlib/protocol/rq.py", line 848 in parse_value
    c = display.get_resource_class(self.class_name)
RuntimeError: maximum recursion depth exceeded
then once i try to stop the recording, i see this :
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/istanbul/main/tray_icon.py", line 73, in _trayicon_clicked
    self.current_screencast.stop_recording()
  File "/usr/lib/python2.5/site-packages/istanbul/main/screencast.py", line 145, in stop_recording
    self._vsource.set_state(gst.STATE_NULL)
AttributeError: Screencast instance has no attribute '_vsource'


Expected results:
To record as usual.

Does this happen every time?
Yes, with diverses windows ( mplayer, konqueror ). I didn't tried yet with gnome.

Other information:
$ rpm -q python gstreamer0.10-python python-xlib
python-2.5-4mdv2007.1
gstreamer0.10-python-0.10.7-1mdv2007.1
python-xlib-0.13-2mdv2007.1
Comment 1 Luca Bruno 2007-04-03 12:59:53 UTC
I can confirm this happens also when recording a compiz session. The traceback is the same. Plus, it has also been reported by other KDE users on debian (see http://bugs.debian.org/415896).
On the same machine, I cannot reproduce it under GNOME.
Comment 2 Chris RIvas 2007-04-30 10:24:55 UTC
I can confirm this problem on fc6 with gnome and compiz.

$ rpm -q python python-xlib gstreamer-python gstreamer compiz
python-2.4.4-1.fc6
python-xlib-0.13-3.fc6
gstreamer-python-0.10.7-2.fc6
gstreamer-0.10.11-1.fc6
compiz-0.3.6-2.fc6

The only difference my traceback has from the original poster's is all of the paths start with /usr/lib/python2.4/ instead of /usr/lib/python2.5/ because of the different versions of python being used, even all of the line numbers are the same.
Comment 3 Zaheer Abbas Merali 2007-04-30 10:41:06 UTC
Is this with latest svn?

The version of python-xlib could be the reason.  I use 0.12, will try upgrading to 0.13 to try and reproduce this bug.
Comment 4 bucky 2007-06-29 16:16:12 UTC
I see some time has gone by, so I thought I'd mention that the problem persists. I'm running an up-to-date, but vanilla version of FC7, and I'm using KDE. Some versions of some things, as reported by rpm (don't know if it's useful):

xorg-x11-server-Xorg-1.3.0.0-9.fc7
python-xlib-0.13-3.fc7

The obvious work-around is to use "Select area to record," which works fine, so the user impact I'd say is minimal, although area selection is only available on the primary monitor of a double-headed display.
Comment 5 konrad 2008-02-22 10:18:06 UTC
I can confirm this bug under Kubuntu 7.10, gutsy.

python-xlib                                0.13-1
xserver-xorg-core                          2:1.3.0.0.dfsg-12ubuntu8.3

my tracback:

  • File "/var/lib/python-support/python2.5/istanbul/main/window_select.py", line 88 in _get_client_window_check_children
    result = self._get_client_window_check_children(window)
  • File "/var/lib/python-support/python2.5/istanbul/main/window_select.py", line 88 in _get_client_window_check_children
    result = self._get_client_window_check_children(window)
  • File "/var/lib/python-support/python2.5/istanbul/main/window_select.py", line 88 in _get_client_window_check_children
    result = self._get_client_window_check_children(window)
  • File "/var/lib/python-support/python2.5/istanbul/main/window_select.py", line 81 in _get_client_window_check_children
    children = window.query_tree().children
  • File "/var/lib/python-support/python2.5/Xlib/xobject/drawable.py", line 417 in query_tree
    window = self.id)
  • File "/var/lib/python-support/python2.5/Xlib/protocol/rq.py", line 1430 in __init__
    self.reply()
  • File "/var/lib/python-support/python2.5/Xlib/protocol/rq.py", line 1442 in reply
    self._display.send_and_recv(request = self._serial)
  • File "/var/lib/python-support/python2.5/Xlib/protocol/display.py", line 548 in send_and_recv
    gotreq = self.parse_response(request)
  • File "/var/lib/python-support/python2.5/Xlib/protocol/display.py", line 635 in parse_response
    gotreq = self.parse_request_response(request) or gotreq
  • File "/var/lib/python-support/python2.5/Xlib/protocol/display.py", line 721 in parse_request_response
    req._parse_response(self.data_recv[:self.request_length])
  • File "/var/lib/python-support/python2.5/Xlib/protocol/rq.py", line 1454 in _parse_response
    self._data, d = self._reply.parse_binary(data, self._display, rawdict = 1)
  • File "<string>", line 8 in parse_binary
  • File "/var/lib/python-support/python2.5/Xlib/protocol/rq.py", line 499 in parse_binary_value
    ret[i] = self.type.parse_value(v, display)
  • File "/var/lib/python-support/python2.5/Xlib/protocol/rq.py", line 848 in parse_value
    c = display.get_resource_class(self.class_name)
RuntimeError: maximum recursion depth exceeded
Traceback (most recent call last):
  File "/usr/bin/istanbul", line 40, in <module>
    sys.exit(main.main(sys.argv))
  File "/var/lib/python-support/python2.5/istanbul/main/main.py", line 105, in main
    gtk.main()
Comment 6 Krzysztof Kotlenga 2008-03-22 19:49:49 UTC
Created attachment 107832 [details] [review]
Fix

With this patch it works like intended. Tested with python-xlib 0.14. Maybe it's time for a bugfix release?
Comment 7 Luca Bruno 2008-04-20 06:38:06 UTC
I can confirm that your patch works fine; tried on a Debian sid with python-xlib 0.14 and python 2.5.
Thanks a lot!
Comment 8 Krzysztof Kotlenga 2011-03-15 23:54:59 UTC
According to commit 891134d9b89451492dd3eadf233cb2faacc35866 this bug should be closed by now, but isn't. Can someone close it, please? Just for the record.
Comment 9 André Klapper 2018-07-02 10:51:19 UTC
istanbul is not under active development anymore and has not seen code
changes for eight years. Its codebase has been archived:
https://gitlab.gnome.org/Archive/istanbul/commits/master

See https://help.gnome.org/users/gnome-help/stable/screen-shot-record.html for screencast video options that are available in GNOME 3.

Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect
reality. Please feel free to reopen this ticket (or rather transfer the project
to GNOME Gitlab, as GNOME Bugzilla is deprecated) if anyone takes the
responsibility for active development again.