Bug 847478

Summary: [abrt] pyvnc2swf-0.9.5-10.fc15: swf.py:181:parse_header:AssertionError
Product: [Fedora] Fedora Reporter: Christopher Heiny <christopherheiny>
Component: pyvnc2swfAssignee: David Timms <dtimms>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: dtimms
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:af60e5cbcce0c32dd3db3816325baf2dd990d341
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-12 00:09:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: smolt_data none

Description Christopher Heiny 2012-08-11 22:00:45 UTC
libreport version: 2.0.10
abrt_version:   2.0.7
cmdline:        python /usr/bin/vnc2swf-play /home/cheiny/movies/DeathIsTheRoadToAwe.swf
comment:        I attempted to play a movie (Death Is The Road To Awe), and swf.py crashed.
executable:     /usr/bin/vnc2swf-play
kernel:         3.4.7-1.fc16.x86_64
time:           Sat 11 Aug 2012 11:43:50 AM PDT
uid:            431
username:       cheiny

smolt_data:     Text file, 5560 bytes

backtrace:
:swf.py:181:parse_header:AssertionError
:
: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 230, in play
:    movie.parse_vnc2swf(fname, True, debug=debug)
:  File "/usr/lib/python2.7/site-packages/pyvnc2swf/movie.py", line 169, in parse_vnc2swf
:    parser.open(fname)
:  File "/usr/lib/python2.7/site-packages/pyvnc2swf/swf.py", line 149, in open
:    self.parse_header()
:  File "/usr/lib/python2.7/site-packages/pyvnc2swf/movie.py", line 211, in parse_header
:    SWFParser.parse_header(self)
:  File "/usr/lib/python2.7/site-packages/pyvnc2swf/swf.py", line 181, in parse_header
:    assert W+S == 'WS'
:AssertionError
:
:Local variables in innermost frame:
:S: '\x00'
:F: '\x00'
:self: <movie.VNC2SWF_Parser instance at 0x250a830>
:W: '\x00'
:V: '\x18'

Comment 1 Christopher Heiny 2012-08-11 22:00:49 UTC
Created attachment 603731 [details]
File: smolt_data

Comment 2 David Timms 2012-08-12 00:09:29 UTC
Thanks Christopher for the issue report.

pyvnc2swf's vnc2swf-play command only supports playback of swf files created using vnc2swf, ie desktop screen recordings. The assertion essentially means it detected that the swf file was not made with vnc2swf, at which point -play aborts.

For proprietary flash playback: use Adobe's linux repo.
For open source, see if gnash is still present/working ?