Bug#415896: istanbul: Save never finishes when recording selected window
forwarded 415896 http://bugzilla.gnome.org/show_bug.cgi?id=412663 tags 415896 + help tags 415896 + upstream thanks Adolf Winterer scrisse: The last messages are in the attached file, again. A partial solution, but still no recording. Ok, this is the same problem I noticed with compiz. I really don't know how to fix it. It has already been reported to upstream by other KDE users, see http://bugzilla.gnome.org/show_bug.cgi?id=412663 Best regards, Adolf Cheers, Luca -- .''`. ** Debian GNU/Linux ** | Luca Bruno : :' : The Universal O.S.| luca.br(AT)uno.it `. `'` | GPG Key ID: 3BFB9FB3 `- http://www.debian.org | Proud Debian GNU/Linux User pgpPK2DNLKsdU.pgp Description: PGP signature
Bug#415896: istanbul: Save never finishes when recording selected window
Adolf Winterer scrisse: Does it matter that I use KDE? I once experienced that on my GNOME. It should be DE-independent... Strangely this happens only when I try to record a selected window. So the finish event is not alway lost. Does it happen always with a selected windows? Yesterday I could reproduce it, but after some tests on source I can't reproduce it anymore, so I can't find a reproducible and constant pattern. Hmm, I do not get any feedback when selecting the window. Is this as designed or should there be some feedback (some marker, message, blinking windows) to indicate the window selected? In normal situation, no evident marks are showed. Anyway, to help me tracking this bug, you should open a terminal and launch istanbul, then reproduce this issue. You will get some debug info, and maybe some exception output: please attach them to this bug. Are you using a composite manager (like compiz, beryl or xcompmgr, or the equivalent for kde)? I noticed a problem (maximum recursion depth exceeded) which leads to the same situation when using compiz. Cheers, Luca -- .''`. ** Debian GNU/Linux ** | Luca Bruno : :' : The Universal O.S.| luca.br(AT)uno.it `. `'` | GPG Key ID: 3BFB9FB3 `- http://www.debian.org | Proud Debian GNU/Linux User pgpeLnMLra6uf.pgp Description: PGP signature
Bug#415896: istanbul: Save never finishes when recording selected window
Am Samstag, 24. März 2007 20:41 schrieb Luca Bruno: Adolf Winterer scrisse: Does it matter that I use KDE? I once experienced that on my GNOME. It should be DE-independent... Strangely this happens only when I try to record a selected window. So the finish event is not alway lost. Does it happen always with a selected windows? Yesterday I could reproduce it, but after some tests on source I can't reproduce it anymore, so I can't find a reproducible and constant pattern. I always happens when trying to record a selected windows. I never got one movie finished using this option. Hmm, I do not get any feedback when selecting the window. Is this as designed or should there be some feedback (some marker, message, blinking windows) to indicate the window selected? In normal situation, no evident marks are showed. OK, so I did not miss something. How do I exactly select the window? After clicking on the option Select window to record, should I click on the window title or inside the window? Does it matter where I point the mouse? Anyway, to help me tracking this bug, you should open a terminal and launch istanbul, then reproduce this issue. You will get some debug info, and maybe some exception output: please attach them to this bug. OK, I started Istanbul from the shell and got some (possibly) interesting messages. As the resulting file is only about 3 KB in size, I attach it to the mail. As expected the program stopped working after the left-click, I could terminate it with Ctrl-C. Are you using a composite manager (like compiz, beryl or xcompmgr, or the equivalent for kde)? I noticed a problem (maximum recursion depth exceeded) which leads to the same situation when using compiz. I checked my installation, none of the composite managers is installed. Best regards, Adolf Cheers, Luca -- .''`. ** Debian GNU/Linux ** | Luca Bruno : :' : The Universal O.S.| luca.br(AT)uno.it `. `'`| GPG Key ID: 3BFB9FB3 `- http://www.debian.org| Proud Debian GNU/Linux User -- Never trust a smiling cat. [EMAIL PROTECTED]:~$ istanbul /var/lib/python-support/python2.4/istanbul/main/tray_icon.py:26: DeprecationWarning: the module egg.trayicon is deprecated; equivalent functionality can now be found in pygtk 2.10 import egg.trayicon Traceback (most recent call last): File /var/lib/python-support/python2.4/istanbul/main/tray_popup.py, line 95, in _select_window_cb self.selector.select_window() File /var/lib/python-support/python2.4/istanbul/main/window_select.py, line 33, in select_window self.target_window = self._select_window() File /var/lib/python-support/python2.4/istanbul/main/window_select.py, line 95, in _select_window display = XDisplay.Display() File /var/lib/python-support/python2.4/Xlib/display.py, line 80, in __init__ self.display = _BaseDisplay(display) File /var/lib/python-support/python2.4/Xlib/display.py, line 67, in __init__ apply(protocol.display.Display.__init__, (self, ) + args, keys) File /var/lib/python-support/python2.4/Xlib/protocol/display.py, line 123, in __init__ self.default_screen = min(self.default_screen, len(self.info.roots) - 1) File /var/lib/python-support/python2.4/Xlib/protocol/rq.py, line 1371, in __getattr__ raise AttributeError(attr) AttributeError: roots Traceback (most recent call last): File /var/lib/python-support/python2.4/istanbul/main/tray_icon.py, line 65, in _trayicon_clicked self.current_screencast.start_recording() File /var/lib/python-support/python2.4/istanbul/main/screencast.py, line 56, in start_recording area_x1, area_y1, area_x2, area_y2 = self.selector.get_area() File /var/lib/python-support/python2.4/istanbul/main/window_select.py, line 40, in get_area self.select_window() File /var/lib/python-support/python2.4/istanbul/main/window_select.py, line 33, in select_window self.target_window = self._select_window() File /var/lib/python-support/python2.4/istanbul/main/window_select.py, line 95, in _select_window display = XDisplay.Display() File /var/lib/python-support/python2.4/Xlib/display.py, line 80, in __init__ self.display = _BaseDisplay(display) File /var/lib/python-support/python2.4/Xlib/display.py, line 67, in __init__ apply(protocol.display.Display.__init__, (self, ) + args, keys) File /var/lib/python-support/python2.4/Xlib/protocol/display.py, line 123, in __init__ self.default_screen = min(self.default_screen, len(self.info.roots) - 1) File /var/lib/python-support/python2.4/Xlib/protocol/rq.py, line 1371, in __getattr__ raise AttributeError(attr) AttributeError: roots Traceback (most recent call last): File /var/lib/python-support/python2.4/istanbul/main/tray_icon.py, line 73, in _trayicon_clicked self.current_screencast.stop_recording() File /var/lib/python-support/python2.4/istanbul/main/screencast.py, line 145, in stop_recording
Bug#415896: istanbul: Save never finishes when recording selected window
Adolf Winterer scrisse: Does it matter where I point the mouse? No, it shouldn't. OK, I started Istanbul from the shell and got some (possibly) interesting messages. As the resulting file is only about 3 KB in size, I attach it to the mail. Ok, so this bug is definitively related to #357507 in python-xlib. Try to apply the solution described there (http://bugs.debian.org/357507) to your library file (/var/lib/python-support/python2.4/Xlib/display.py) More detailed solutions are avaialble here: http://bugs.debian.org/309709 Best regards, Adolf Ciao, Luca -- .''`. ** Debian GNU/Linux ** | Luca Bruno : :' : The Universal O.S.| luca.br(AT)uno.it `. `'` | GPG Key ID: 3BFB9FB3 `- http://www.debian.org | Proud Debian GNU/Linux User pgphHbrbBaseH.pgp Description: PGP signature
Bug#415896: istanbul: Save never finishes when recording selected window
Am Samstag, 24. März 2007 22:10 schrieb Luca Bruno: Adolf Winterer scrisse: Does it matter where I point the mouse? No, it shouldn't. OK, I started Istanbul from the shell and got some (possibly) interesting messages. As the resulting file is only about 3 KB in size, I attach it to the mail. Ok, so this bug is definitively related to #357507 in python-xlib. Try to apply the solution described there (http://bugs.debian.org/357507) to your library file (/var/lib/python-support/python2.4/Xlib/display.py) More detailed solutions are avaialble here: http://bugs.debian.org/309709 OK, so I checked the two sources. Both state that the file would be at /usr/lib/python... which seems to be incorrect, at least with the Debian version here. Using find I found two links: /var/lib/python-support/python2.4/Xlib/display.py and /var/lib/python-support/python2.4/Xlib/protocol/display.py The links point to /usr/share/python-support/python-xlib/Xlib/display.py and /usr/share/python-support/python-xlib/Xlib/protocol/display.py The second file has the sequence the bug reports are referring to at line 530: recv = self.socket.recv(2048) I changed the value from 2048 to 4096 and then retried the recording. There was one visible change in behaviour: After selecting the option to record a window the mouse cursor changed to cross hairs and I could click into the window without triggering an event in the window. This had not happened before. But still the process does not finish (the save dialog still does not appear). The console window gets filled (the buffer cannot hold all lines) with the message File /var/lib/python-support/python2.4/istanbul/main/window_select.py, line 88, in _get_client_window_check_children result = self._get_client_window_check_children(window) The last messages are in the attached file, again. A partial solution, but still no recording. Best regards, Adolf Best regards, Adolf Ciao, Luca -- .''`. ** Debian GNU/Linux ** | Luca Bruno : :' : The Universal O.S.| luca.br(AT)uno.it `. `'`| GPG Key ID: 3BFB9FB3 `- http://www.debian.org| Proud Debian GNU/Linux User -- 21.3.1991: Perl 4.000 wird freigegeben result = self._get_client_window_check_children(window) File /var/lib/python-support/python2.4/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.4/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.4/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.4/istanbul/main/window_select.py, line 81, in _get_client_window_check_children children = window.query_tree().children File /var/lib/python-support/python2.4/Xlib/xobject/drawable.py, line 417, in query_tree window = self.id) File /var/lib/python-support/python2.4/Xlib/protocol/rq.py, line 1430, in __init__ self.reply() File /var/lib/python-support/python2.4/Xlib/protocol/rq.py, line 1442, in reply self._display.send_and_recv(request = self._serial) File /var/lib/python-support/python2.4/Xlib/protocol/display.py, line 545, in send_and_recv gotreq = self.parse_response(request) File /var/lib/python-support/python2.4/Xlib/protocol/display.py, line 632, in parse_response gotreq = self.parse_request_response(request) or gotreq File /var/lib/python-support/python2.4/Xlib/protocol/display.py, line 718, in parse_request_response req._parse_response(self.data_recv[:self.request_length]) File /var/lib/python-support/python2.4/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.4/Xlib/protocol/rq.py, line 499, in parse_binary_value ret[i] = self.type.parse_value(v, display) File /var/lib/python-support/python2.4/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 /var/lib/python-support/python2.4/istanbul/main/tray_icon.py, line 73, in _trayicon_clicked self.current_screencast.stop_recording() File /var/lib/python-support/python2.4/istanbul/main/screencast.py, line 145, in stop_recording self._vsource.set_state(gst.STATE_NULL) AttributeError: Screencast instance has no attribute '_vsource' Traceback (most recent call last): File /usr/bin/istanbul, line 40, in ? sys.exit(main.main(sys.argv)) File /var/lib/python-support/python2.4/istanbul/main/main.py, line 105, in main gtk.main() KeyboardInterrupt [EMAIL
Bug#415896: istanbul: Save never finishes when recording selected window
Package: istanbul Version: 0.2.2-1 Severity: important When the option Select window to record is used the program never finishes the save operation. The icon in the tray does not change from the grey square back to the red circle. If the mouse is over the icon, the context help says In process of saving to disk., but it never finishes. The save dialog never appears. The program needs to be terminated by a kill command. Recording an area or the whole desktop works fine. -- System Information: Debian Release: 4.0 APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-4-amd64 Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Versions of packages istanbul depends on: ii gconf2 2.16.1-1 GNOME configuration database syste ii gettext0.16.1-1 GNU Internationalization utilities ii gstreamer0.10-alsa 0.10.10-4 GStreamer plugin for ALSA ii gstreamer0.10-plugins-base 0.10.10-4 GStreamer plugins from the base ii gstreamer0.10-plugins-good 0.10.4-4 GStreamer plugins from the good ii gstreamer0.10-x0.10.10-4 GStreamer plugins for X11 and Pang ii libc6 2.3.6.ds1-13 GNU C Library: Shared libraries ii libglib2.0-0 2.12.6-2 The GLib library of C routines ii libgstreamer0.10-0 0.10.10-4 Core GStreamer libraries and eleme ii libice61:1.0.1-2 X11 Inter-Client Exchange library ii libsm6 1:1.0.1-3 X11 Session Management library ii libx11-6 2:1.0.3-6 X11 client-side library ii libxext6 1:1.0.1-2 X11 miscellaneous extension librar ii libxfixes3 1:4.0.1-5 X11 miscellaneous 'fixes' extensio ii libxml22.6.27.dfsg-1 GNOME XML library ii python 2.4.4-2 An interactive high-level object-o ii python-glade2 2.8.6-8 GTK+ bindings: Glade support ii python-gnome2 2.12.4-6 Python bindings for the GNOME desk ii python-gnome2-extras 2.14.3-1 Python bindings for the GNOME desk ii python-gst0.10 0.10.5-5 generic media-playing framework (P ii python-support 0.6.2 automated rebuilding support for p ii python-xlib0.12-5.1 Interface for Python to the X11 Pr istanbul recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#415896: istanbul: Save never finishes when recording selected window
tags 415896 + confirmed thanks Adolf Winterer scrisse: When the option Select window to record is used the program never finishes the save operation. The icon in the tray does not change from the grey square back to the red circle. If the mouse is over the icon, the context help says In process of saving to disk., but it never finishes. The save dialog never appears. The program needs to be terminated by a kill command. That's weird... It seems to remain in a infinite loop or to miss the finish event :( I will try to debug this in the next few days, but don't expect a quick patch as I will be away without a pc for a week and more. Please be patient. Ciao, Luca -- .''`. ** Debian GNU/Linux ** | Luca Bruno : :' : The Universal O.S.| luca.br(AT)uno.it `. `'` | GPG Key ID: 3BFB9FB3 `- http://www.debian.org | Proud Debian GNU/Linux User pgpWfBIwLGo9M.pgp Description: PGP signature
Bug#415896: istanbul: Save never finishes when recording selected window
Am Donnerstag, 22. März 2007 22:46 schrieb Luca Bruno: tags 415896 + confirmed thanks Adolf Winterer scrisse: When the option Select window to record is used the program never finishes the save operation. The icon in the tray does not change from the grey square back to the red circle. If the mouse is over the icon, the context help says In process of saving to disk., but it never finishes. The save dialog never appears. The program needs to be terminated by a kill command. That's weird... It seems to remain in a infinite loop or to miss the finish event :( Strangely this happens only when I try to record a selected window. So the finish event is not alway lost. Does it matter that I use KDE? I will try to debug this in the next few days, but don't expect a quick patch as I will be away without a pc for a week and more. Please be patient. For now I use the option selected window which has the side effect of the green line at the bottom of the movie (the other bug report I sent). Hmm, I do not get any feedback when selecting the window. Is this as designed or should there be some feedback (some marker, message, blinking windows) to indicate the window selected? Best regards, Adolf Ciao, Luca -- .''`. ** Debian GNU/Linux ** | Luca Bruno : :' : The Universal O.S.| luca.br(AT)uno.it `. `'`| GPG Key ID: 3BFB9FB3 `- http://www.debian.org| Proud Debian GNU/Linux User -- 1.4.1996: ISO C (C95) wird als Standard festgeschrieben