[Vnc2swf-users] Res: version 0.9.3 crashed
Status: Alpha
Brought to you by:
euske
From: <lfk...@ya...> - 2007-09-14 13:55:16
|
Hi Daniel,=0A=0AThe problem is here "AssertionError: the number of objects = exceeded the limit!"=0A=0ASwf files have a limit of 65536 object ids.=0AWhe= n the recording will last more than 10 minutes, I think you should try reco= rding the session using vnc mode. After recording it, convert it into swf u= sing edit.py using video mode.=0AOr at least use video mode instead of shap= e mode in the recording.=0A=0AIf part of the recording was saved than there= might be a way to make it runnable. How big is your file?=0A=0ADear Yusuk= e, =0Ahow about implementing a feature for testing the object id instead of= an assertion and than save the file so the recorded part still could be us= ed? It could be even better if it started a new file whenever object id re= aches its limit.=0A=0AWith regards,=0A=0ALuis Fernando=0A=0A----- Mensagem = original ----=0ADe: Daniel Smoczyk <dan...@gm...>=0APara: vnc2s= wf-...@li...=0AEnviadas: Sexta-feira, 14 de Setembro de 2= 007 10:17:49=0AAssunto: [Vnc2swf-users] version 0.9.3 crashed=0A=0AHello,= =0A=0Aduring recording quite important session for me I got this error and= =0Awas not able to record a swf file to disc (i was using gui version) :=0A= =0A------------------------------------------------=0AUsing pygame 1.7.1rel= ease=0AConnected: localhost:5900, protocol_version=3D3.3, preferred_encodin= g=3D(0, -232, -2=0A39)=0AVNC Screen: size=3D2560x1024, name=3D'p-293 ( x.x.= x.x )'=0AOutput movie size: 2560x1024=0ACreating movie: 'c:\\docume~1\\dasm= \\ustawi~1\\temp\\pyvnc2swf\\pyvnc2swf-2732.s=0Awf': version=3D5, size=3D25= 60x1024, framerate=3D12.0, compression=3DNone=0AConnection closed unexpecte= dly.=0AConnected: localhost:5900, protocol_version=3D3.3, preferred_encodin= g=3D(0, -232, -2=0A39)=0AVNC Screen: size=3D2560x1024, name=3D'p-293 ( x.x.= x.x )'=0AException in Tkinter callback=0ATraceback (most recent call last):= =0A File "C:\Python25\lib\lib-tk\Tkinter.py", line 1403, in __call__=0A = return self.func(*args)=0A File "D:\bin\pyvnc2swf-0.9.3\pyvnc2swf\vnc2swf= .py", line 359, in record=0A self.client.loop()=0A File "D:\bin\pyvnc2s= wf-0.9.3\pyvnc2swf\vnc2swf.py", line 117, in loop=0A if not self.loop1()= : break=0A File "/cygdrive/d/bin/pyvnc2swf-0.9.3/pyvnc2swf/rfb.py", line 4= 45, in loop1=0A self.finish_update()=0A File "/cygdrive/d/bin/pyvnc2swf= -0.9.3/pyvnc2swf/rfb.py", line 133, in finish_u=0Apdate=0A self.fb.updat= e_screen(time.time())=0A File "/cygdrive/d/bin/pyvnc2swf-0.9.3/pyvnc2swf/r= fb.py", line 821, in update_s=0Acreen=0A self.stream.next_frame()=0A Fi= le "D:\bin\pyvnc2swf-0.9.3\pyvnc2swf\output.py", line 563, in next_frame=0A= self.add_object(self.screen.get_image(x0, y0, w, h), depth, x0, y0)=0A = File "D:\bin\pyvnc2swf-0.9.3\pyvnc2swf\output.py", line 530, in add_object= =0A self.place_object2(self.define_shape(w, h, data), x, y, depth)=0A F= ile "D:\bin\pyvnc2swf-0.9.3\pyvnc2swf\output.py", line 426, in define_shape= =0A shape_id =3D self.writer.newid()=0A File "/cygdrive/d/bin/pyvnc2swf= -0.9.3/pyvnc2swf/swf.py", line 784, in newid=0A assert self.objid < 6553= 6, 'the number of objects exceeded the limit!'=0AAssertionError: the number= of objects exceeded the limit!=0AException in Tkinter callback=0ATraceback= (most recent call last):=0A File "C:\Python25\lib\lib-tk\Tkinter.py", lin= e 1403, in __call__=0A return self.func(*args)=0A File "D:\bin\pyvnc2sw= f-0.9.3\pyvnc2swf\vnc2swf.py", line 328, in file_saveas=0A self.stream.c= lose()=0A File "D:\bin\pyvnc2swf-0.9.3\pyvnc2swf\output.py", line 502, in = close=0A self.writer.write_file(self.output_frames)=0A File "/cygdrive/= d/bin/pyvnc2swf-0.9.3/pyvnc2swf/swf.py", line 789, in write_fi=0Ale=0A a= ssert not self.fpstack, 'nonempty fpstack: %r' % self.fpstack=0AAssertionEr= ror: nonempty fpstack: [<open file 'c:\docume~1\dasm\ustawi~1\temp\py=0Avnc= 2swf\pyvnc2swf-2732.swf', mode 'wb' at 0x00C71F08>]=0AException in Tkinter = callback=0ATraceback (most recent call last):=0A File "C:\Python25\lib\lib= -tk\Tkinter.py", line 1403, in __call__=0A return self.func(*args)=0A F= ile "D:\bin\pyvnc2swf-0.9.3\pyvnc2swf\vnc2swf.py", line 328, in file_saveas= =0A self.stream.close()=0A File "D:\bin\pyvnc2swf-0.9.3\pyvnc2swf\outpu= t.py", line 502, in close=0A self.writer.write_file(self.output_frames)= =0A File "/cygdrive/d/bin/pyvnc2swf-0.9.3/pyvnc2swf/swf.py", line 789, in = write_fi=0Ale=0A------------------------------------------------=0A=0Ai've = make a copy of pyvnc2swf-2732.swf file after this error and also=0Aalter cl= osing app but those file are corupted. I have a question - is=0Athere any c= hanse to restore/repair this file or for e.g cut it to 20=0Aminutes ? (the = whole session was about 30min long).=0A=0Aversion of vnc2swf - 0.9.3, pytho= n 2.5.1, pygame 1.7.1 all was=0Ahappening on w32 station with UltraVNC Serv= er 1.0.2=0A=0ABest regards,=0ADaniel=0A=0A---------------------------------= ----------------------------------------=0AThis SF.net email is sponsored b= y: Microsoft=0ADefy all challenges. Microsoft(R) Visual Studio 2005.=0Ahttp= ://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/=0A_____________________= __________________________=0AVnc2swf-users mailing list=0AVnc2swf-users@lis= ts.sourceforge.net=0Ahttps://lists.sourceforge.net/lists/listinfo/vnc2swf-u= sers=0A=0A=0A=0A=0A=0A=0A=0A Flickr agora em portugu=EAs. Voc=EA clica= , todo mundo v=EA.=0Ahttp://www.flickr.com.br/ |