Re: [Vnc2swf-users] pyvnc2swf 0.8.2-1 pygame error
Status: Alpha
Brought to you by:
euske
From: Michael G. <mig...@gm...> - 2006-08-18 12:06:45
|
> Hi Michael > > Thanks for the bug report... this is probably something in the pymedia > code. You seem to have the same versions of the code as me so I'm not sure > what's wrong... > I think unfortunately the only way to found out what's going wrong is to > add debug prints into the code / run it through pdb - you familiar with > how to do that? Otherwise we can try help... > > Cheers > David Hi, I tried running vnc2swf.py with 'import pdb' and 'pdb.set_trace()' and this is the last output (step-mode): > /usr/lib/python2.4/lib-tk/Tkinter.py(1139)configure()->None -> return self._configure('configure', cnf, kw) (Pdb) > /home/miga/Desktop/pyvnc2swf-0.8.2.1/pyvnc2swf-0.8.2.1/pyvnc2swf/vnc2swf.py(170)status() -> return (Pdb) --Return-- > /home/miga/Desktop/pyvnc2swf-0.8.2.1/pyvnc2swf-0.8.2.1/pyvnc2swf/vnc2swf.py(170)status()->None -> return (Pdb) > /home/miga/Desktop/pyvnc2swf-0.8.2.1/pyvnc2swf-0.8.2.1/pyvnc2swf/vnc2swf.py(189)set_filename() -> self.root.update() (Pdb) --Call-- > /usr/lib/python2.4/lib-tk/Tkinter.py(857)update() -> def update(self): (Pdb) > /usr/lib/python2.4/lib-tk/Tkinter.py(859)update() -> self.tk.call('update') (Pdb) --Return-- > /usr/lib/python2.4/lib-tk/Tkinter.py(859)update()->None -> self.tk.call('update') (Pdb) Connected: localhost:5900, protocol_version=3.8, preferred_encoding=(0, -232, -239) VNC Screen: size=1280x1024, name='miga:0.0' Output movie size: 1280x1024 Creating movie: 'test.swf': version=5, size=1280x1024, framerate=12.0, compression=None recording to test.mp3 Fatal Python error: (pygame parachute) Segmentation Fault Aborted It seems that the problem is in the pygame not vnc2swf. Should I run pdb inside pygame? If yes where should i put the pdb-code? I also used python -v and thats the output (last lines): import pymedia.removable # precompiled from /usr/lib/python2.4/site-packages/pymedia/removable/__init__.pyc dlopen("/usr/lib/python2.4/site-packages/pymedia/removable/cd.so", 2); import pymedia.removable.cd # dynamically loaded from /usr/lib/python2.4/site-packages/pymedia/removable/cd.so # /usr/lib/python2.4/site-packages/pymedia/player.pyc matches /usr/lib/python2.4/site-packages/pymedia/player.py import pymedia.player # precompiled from /usr/lib/python2.4/site-packages/pymedia/player.pyc Using pymedia 1.3.5 # /usr/lib/python2.4/getopt.pyc matches /usr/lib/python2.4/getopt.py import getopt # precompiled from /usr/lib/python2.4/getopt.pyc # /home/miga/Desktop/pyvnc2swf-0.8.2.1/pyvnc2swf-0.8.2.1/pyvnc2swf/record_sound.pyc matches /home/miga/Desktop/pyvnc2swf-0.8.2.1/pyvnc2swf-0.8.2.1/pyvnc2swf/record_sound.py import pyvnc2swf.record_sound # precompiled from /home/miga/Desktop/pyvnc2swf-0.8.2.1/pyvnc2swf-0.8.2.1/pyvnc2swf/record_sound.pyc Connected: localhost:5900, protocol_version=3.8, preferred_encoding=(0, -232, -239) VNC Screen: size=1280x1024, name='miga:0.0' Output movie size: 1280x1024 Creating movie: 'test.swf': version=5, size=1280x1024, framerate=12.0, compression=None recording to test.mp3 Fatal Python error: (pygame parachute) Segmentation Fault Aborted Perhaps this helps finding the error. I'm going to try it on my windows box later. Greets, Michael |