Hello,
I'm having some problems trying to start vnc2swf.py.
Using pygame 1.7.1release
Python 2.5.1
Here's the exception: Any suggestions what to do?
xdoc@xerces:/home/xdoc/bin$ ./vnc2swf.py -o out.swf localhost:1
Using pygame 1.7.1release
ALSA lib confmisc.c:769:(parse_card) cannot find card ''
ALSA lib conf.c:3510:(_snd_config_evaluate) function
snd_func_card_driver returned error: No such device
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_concat
returned error: No such device
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_refer
returned error: No such device
ALSA lib conf.c:3982:(snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM default
Connected: localhost:5901, protocol_version=3.8,
preferred_encoding=(0, -232, -239)
VNC Screen: size=1024x768, name='xerces:1 (xdoc)'
Output movie size: 1024x768
Creating movie: 'out.swf': version=5, size=1024x768, framerate=12.0,
compression=None
Exception in Tkinter callback
Traceback (most recent call last):
File "lib-tk/Tkinter.py", line 1406, in __call__
return self.func(*args)
File "./vnc2swf.py", line 359, in record
self.client.loop()
File "./vnc2swf.py", line 117, in loop
if not self.loop1(): break
File "/home/xdoc/bin/rfb.py", line 445, in loop1
self.finish_update()
File "/home/xdoc/bin/rfb.py", line 133, in finish_update
self.fb.update_screen(time.time())
File "/home/xdoc/bin/rfb.py", line 817, in update_screen
self.stream.paint_frame((self.images, [], (self.cursor_image,
self.cursor_pos)))
File "/home/xdoc/bin/output.py", line 538, in paint_frame
if self.screen.paint_image(x0, y0, w, h, data):
File "/home/xdoc/bin/output.py", line 103, in paint_image
img = create_image_from_string_rgbx(w, h, data)
File "/home/xdoc/bin/image.py", line 55, in create_image_from_string_rgbx
return pygame.image.fromstring(data, (w, h), 'RGBX')
ValueError: String length does not equal format and resolution size
xdoc@xerces:/home/xdoc/bin$ ./vnc2swf.py -o out.swf localhost:1
Using pygame 1.7.1release
ALSA lib confmisc.c:769:(parse_card) cannot find card ''
ALSA lib conf.c:3510:(_snd_config_evaluate) function
snd_func_card_driver returned error: No such device
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_concat
returned error: No such device
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_refer
returned error: No such device
ALSA lib conf.c:3982:(snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM default
Connected: localhost:5901, protocol_version=3.8,
preferred_encoding=(0, -232, -239)
VNC Screen: size=1024x768, name='xerces:1 (xdoc)'
Output movie size: 1024x768
Creating movie: 'out.swf': version=5, size=1024x768, framerate=12.0,
compression=None
Exception in Tkinter callback
Traceback (most recent call last):
File "lib-tk/Tkinter.py", line 1406, in __call__
return self.func(*args)
File "./vnc2swf.py", line 359, in record
self.client.loop()
File "./vnc2swf.py", line 117, in loop
if not self.loop1(): break
File "/home/xdoc/bin/rfb.py", line 445, in loop1
self.finish_update()
File "/home/xdoc/bin/rfb.py", line 133, in finish_update
self.fb.update_screen(time.time())
File "/home/xdoc/bin/rfb.py", line 817, in update_screen
self.stream.paint_frame((self.images, [], (self.cursor_image,
self.cursor_pos)))
File "/home/xdoc/bin/output.py", line 538, in paint_frame
if self.screen.paint_image(x0, y0, w, h, data):
File "/home/xdoc/bin/output.py", line 103, in paint_image
img = create_image_from_string_rgbx(w, h, data)
File "/home/xdoc/bin/image.py", line 55, in create_image_from_string_rgbx
return pygame.image.fromstring(data, (w, h), 'RGBX')
ValueError: String length does not equal format and resolution size
|