[Vnc2swf-users] Exception in Tkinter callback
Status: Alpha
Brought to you by:
euske
From: jewelz <je...@gm...> - 2006-08-27 23:03:51
|
Hi, I am working with pyvnc2swf with vncserver and vncviewer (Xvnc) in ubuntu 6.06 I am successfully connecting to localhost:2 and can record for around 20-30 minutes, however after this time I get the following error and cannot stop recording to save the swf file. I am recording under the SWF (Shape) type. Writing: out.html... Connected: localhost:5902, protocol_version=3.3, preferred_encoding=(0, -232, -239) VNC Screen: size=800x600, name="root's x11 desktop (me:2)" Creating movie: '/home/me/pyvnc2swf-0.8.2/out.swf': version=5, size=800x600, framerate=12.0, compression=None //after some time.. Traceback (most recent call last): File "/usr/lib/python2.4/lib-tk/Tkinter.py", line 1345, in __call__ return self.func(*args) File "./vnc2swf.py", line 225, in record self.client.close() File "/home/me/pyvnc2swf-0.8.2/rfb.py", line 525, in close RFBProxy.close(self) File "/home/me/pyvnc2swf-0.8.2/rfb.py", line 463, in close self.fb.close() File "/home/me/pyvnc2swf-0.8.2/rfb.py", line 814, in close self.stream.close() File "/home/me/pyvnc2swf-0.8.2/output.py", line 482, in close self.writer.write_file(self.output_frames) File "/home/me/pyvnc2swf-0.8.2/swf.py", line 708, in write_file assert not self.fpstack, 'nonempty fpstack: %r' % self.fpstack AssertionError: nonempty fpstack: [<open file '/home/me/pyvnc2swf-0.8.2/out.swf', mode 'wb' at 0xb6fe4de8>] My vnc server has the following startup options associated: sudo /usr/bin/Xvnc :2 -query localhost -geometry 800x600 -depth 16 -once -fp /usr/share/X11/fonts/misc -dontdisconnect -rfbauth /root/.vncpasswd |