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 PROTECTED]:~$