[Vnc2swf-users] pyvnc2swf fpstack assertion error
Status: Alpha
Brought to you by:
euske
From: Andrea F. <ak...@be...> - 2006-04-14 01:23:58
|
I am trying to make a video recording a Pyro robotics simulation using pyvnc2swf. It always stalls between the first and second minute, and I get the following trace: Exception in Tkinter callback 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/andrea/pyro/pyvnc2swf-0.8.2/rfb.py", line 525, in close RFBProxy.close(self) File "/home/andrea/pyro/pyvnc2swf-0.8.2/rfb.py", line 463, in close self.fb.close() File "/home/andrea/pyro/pyvnc2swf-0.8.2/rfb.py", line 814, in close self.stream.close() File "/home/andrea/pyro/pyvnc2swf-0.8.2/output.py", line 482, in close self.writer.write_file(self.output_frames) File "/home/andrea/pyro/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 'output.swf', mode 'wb' at 0xb7c732f0>] I can stop recording before this happens and create .swf and html files, although the second time through the loop the graphics don't refresh properly. I can record the session without starting Pyro. I thought it might be a permission problem and added full r/w permissions to any file and directory related to my Pyro session (did not help), but since I can create the files if they're very short, this should not be related. I'm using the default shape mode to record, and have set up the session exactly as in the instructions. I ran it with the debug option, but couldn't discern anything from the log files. Has anyone seen this problem? I've searched the Pyrobot, python, and pyvnc2swf archives/websites and have had no luck on Google - I'm not really sure what I'm looking for, though. I have also dropped a note to Pyrobot users. Thanks. Andrea |