Comment 7 for bug 1240819

Revision history for this message
fabrizio (fabrizio-toso63) wrote :

fato@fatox:~$ python
Python 2.7.3 (default, Sep 26 2013, 20:03:06)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> import mlt
>>> sys.path
['', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PIL', '/usr/lib/python2.7/dist-packages/gst-0.10', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7', '/usr/lib/python2.7/dist-packages/ubuntu-sso-client', '/usr/lib/python2.7/dist-packages/ubuntuone-client', '/usr/lib/python2.7/dist-packages/ubuntuone-control-panel', '/usr/lib/python2.7/dist-packages/ubuntuone-couch', '/usr/lib/python2.7/dist-packages/ubuntuone-installer', '/usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol']
>>> try:
... mlt.profile()
... except:
... print "Unexpected error:", sys.exc_info()[0]
... raise
...
Unexpected error: <type 'exceptions.AttributeError'>
Traceback (most recent call last):
File "<stdin>", line 2, in <module>
AttributeError: 'module' object has no attribute 'profile'

>>> mlt.Profile
<class 'mlt.Profile'>
>>> mlt.Profile()
Errore di segmentazione (core dump creato)

fato@fatox:~$ python
Python 2.7.3 (default, Sep 26 2013, 20:03:06)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> import mlt
>>> mlt.Factory()
<mlt.Factory; proxy of <Swig Object of type 'Mlt::Factory *' at 0x7f520659fed0> >
>>> mlt.Factory().init()
<mlt.Repository; proxy of <Swig Object of type 'Mlt::Repository *' at 0x7f520659ff60> >
>>>
--------------------------------------------------------
My system is:
fato@fatox:~$ uname -a
Linux fatox 3.2.0-54-generic #82-Ubuntu SMP Tue Sep 10 20:08:42 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
Running:
Ubuntu 12.04.03
openshot 1.4.3 (via PPA)
melt 0.8.8
ffmpeg version 0.10.9-7:0.10.9-1~precise1