Hide Forgot
libreport version: 2.0.8 abrt_version: 2.0.7 cmdline: python /usr/bin/vnc2swf-play '/home/music/\xd0\x97\xd0\xb0\xd0\xb3\xd1\x80\xd1\x83\xd0\xb7\xd0\xba\xd0\xb8/orgasm.swf' executable: /usr/bin/vnc2swf-play kernel: 3.1.0-7.fc16.x86_64 reason: swf.py:130:readstring:AttributeError: VNC2SWF_Parser instance has no attribute 'encoding' time: Чт. 22 дек. 2011 23:05:25 uid: 1000 username: music backtrace: :swf.py:130:readstring:AttributeError: VNC2SWF_Parser instance has no attribute 'encoding' : :Traceback (most recent call last): : File "/usr/bin/vnc2swf-play", line 275, in <module> : if __name__ == "__main__": sys.exit(main(sys.argv)) : File "/usr/bin/vnc2swf-play", line 273, in main : return play(args, info, debug=debug) : File "/usr/bin/vnc2swf-play", line 240, in play : PygameMoviePlayer(movie, debug=debug).play() : File "/usr/bin/vnc2swf-play", line 207, in play : self.builder.seek(self.current_frame) : File "/usr/lib/python2.7/site-packages/pyvnc2swf/output.py", line 969, in seek : self.step() : File "/usr/lib/python2.7/site-packages/pyvnc2swf/output.py", line 954, in step : self.stream.paint_frame(self.movie.get_frame(self.frameid)) : File "/usr/lib/python2.7/site-packages/pyvnc2swf/movie.py", line 162, in get_frame : (images, othertags, cursor_info) = parser.parse_frame(i) : File "/usr/lib/python2.7/site-packages/pyvnc2swf/movie.py", line 227, in parse_frame : SWFParser.parse_frame(self, i) : File "/usr/lib/python2.7/site-packages/pyvnc2swf/swf.py", line 215, in parse_frame : getattr(self, name)(tag, length) : File "/usr/lib/python2.7/site-packages/pyvnc2swf/movie.py", line 298, in do_tag26 : name = self.readstring() : File "/usr/lib/python2.7/site-packages/pyvnc2swf/swf.py", line 130, in readstring : return unicode(''.join(s), self.encoding) :AttributeError: VNC2SWF_Parser instance has no attribute 'encoding' : :Local variables in innermost frame: :c: '\x00' :s: ['b', 'g', '_', 'c', 'o', 'l', 'o', 'u', 'r'] :self: <movie.VNC2SWF_Parser instance at 0x250e440>
Thanks for submitting the bug report. I think I have seen a similar issue before. It occurs when vnc2swf-play attempts to playback an swf that was not created by vnc2swf screen recorder. While the mime type suggests it handles *.swf, and nautilus may suggest it as a suitable (even default) player for swf files, it is not a general swf file player. Additionally, the upstream developer has moved onto a new screen recorder project, that outputs as flv. I also am unlikely to be able to fix this particular problem, however, to anyone skilled in python who is prepared to create a patch to catch and provide info about the condition detected. Please attach to this bug, and re-open the bug.