Bug 675627 - [abrt] pyvnc2swf-0.9.5-8.fc13: output.py:768:open:AttributeError: 'NoneType' object has no attribute 'getCodecID'
Summary: [abrt] pyvnc2swf-0.9.5-8.fc13: output.py:768:open:AttributeError: 'NoneType' ...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: pyvnc2swf
Version: 13
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: David Timms
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:2d6be6bc
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-07 00:19 UTC by Jerry Amundson
Modified: 2011-02-10 12:35 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-02-10 12:35:49 UTC
Type: ---


Attachments (Terms of Use)
File: backtrace (883 bytes, text/plain)
2011-02-07 00:19 UTC, Jerry Amundson
no flags Details

Description Jerry Amundson 2011-02-07 00:19:24 UTC
abrt version: 1.1.14
architecture: i686
component: pyvnc2swf
executable: /usr/bin/vnc2swf-edit
kernel: 2.6.34.7-66.fc13.i686
package: pyvnc2swf-0.9.5-8.fc13
reason: output.py:768:open:AttributeError: 'NoneType' object has no attribute 'getCodecID'
release: Fedora release 13 (Goddard)
time: 1297037772
uid: 500

backtrace
-----
output.py:768:open:AttributeError: 'NoneType' object has no attribute 'getCodecID'

Traceback (most recent call last):
  File "/usr/bin/vnc2swf-edit", line 248, in <module>
    if __name__ == "__main__": sys.exit(main(sys.argv))
  File "/usr/bin/vnc2swf-edit", line 243, in main
    debug=debug)
  File "/usr/bin/vnc2swf-edit", line 92, in reorganize
    builder.build(r)
  File "/usr/lib/python2.6/site-packages/pyvnc2swf/output.py", line 1004, in build
    self.start()
  File "/usr/lib/python2.6/site-packages/pyvnc2swf/output.py", line 947, in start
    self.stream.open()
  File "/usr/lib/python2.6/site-packages/pyvnc2swf/output.py", line 768, in open
    'id':  vcodec.getCodecID(self.mpeg_codec),
AttributeError: 'NoneType' object has no attribute 'getCodecID'

Local variables in innermost frame:
y: 0
h: 480
self: <output.MPEGVideoStream instance at 0xa40f9ac>
w: 640
x: 0

comment
-----
$ vnc2swf-edit -o fa1.mpg fa1.swf 
Using pygame 1.9.1release
Input movie: version=9, size=640x480, framerate=30fps, frames=1, duration=0.0s.
Output movie size: 640x480
Scanning source swf file: fa1.swf...
Creating MPEG: 'fa1.mpg': codec=mpeg2video, size=640x480, framerate=30.0
Traceback (most recent call last):
  File "/usr/bin/vnc2swf-edit", line 248, in <module>
    if __name__ == "__main__": sys.exit(main(sys.argv))
  File "/usr/bin/vnc2swf-edit", line 243, in main
    debug=debug)
  File "/usr/bin/vnc2swf-edit", line 92, in reorganize
    builder.build(r)
  File "/usr/lib/python2.6/site-packages/pyvnc2swf/output.py", line 1004, in build
    self.start()
  File "/usr/lib/python2.6/site-packages/pyvnc2swf/output.py", line 947, in start
    self.stream.open()
  File "/usr/lib/python2.6/site-packages/pyvnc2swf/output.py", line 768, in open
    'id':  vcodec.getCodecID(self.mpeg_codec),
AttributeError: 'NoneType' object has no attribute 'getCodecID'

How to reproduce
-----
1.tried to convert swf file to mpeg
2.
3.

Comment 1 Jerry Amundson 2011-02-07 00:19:26 UTC
Created attachment 477358 [details]
File: backtrace

Comment 2 David Timms 2011-02-07 12:24:19 UTC
(In reply to comment #0)
> 1.tried to convert swf file to mpeg
OK, I've never tried that before. I'll take a look when I get my F14 back up shortly.

Meanwhile, what do you have installed that suggests you might have mpeg conversion capability (it won't be a fedora only package) ?

Comment 3 Jerry Amundson 2011-02-08 02:32:43 UTC
(In reply to comment #2)
> (In reply to comment #0)
> > 1.tried to convert swf file to mpeg
> OK, I've never tried that before. I'll take a look when I get my F14 back up
> shortly.
> 
> Meanwhile, what do you have installed that suggests you might have mpeg
> conversion capability (it won't be a fedora only package) ?

Not sure what your looking for with that. Something from RPM fusion maybe? ffmpeg or ...? I just followed some search hits for "fedora swf convert".

Comment 4 David Timms 2011-02-08 13:13:15 UTC
(In reply to comment #3)
> ffmpeg or ...? I just followed some search hits for "fedora swf convert".
Was your swf created by pyvnc2swf ?

Comment 5 Jerry Amundson 2011-02-09 04:39:54 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > ffmpeg or ...? I just followed some search hits for "fedora swf convert".
> Was your swf created by pyvnc2swf ?

No.

Comment 6 David Timms 2011-02-10 12:35:49 UTC
From:
http://www.unixuser.org/~euske/vnc2swf/pyvnc2swf.html#faq

mpeg	.mpg	MPEG movie (requires PyMedia)

There doesn't seem to be a packaging of PyMedia at the moment. Would you like to ?

Without it, the mpeg option won't work.


Note You need to log in before you can comment on or make changes to this bug.