← Back to team overview

openshot.developers team mailing list archive

[Bug 570029] Re: Karmic - Problem Opening after ppa install

 

I also have similiar problems after the ppa install on Linux Mint 8,
wb7odyfred@xxxxxxxxx

I tried using the build_wizard from  Unbuntu 9.04 before the above PPA
install.

Here I tried the  .cd ~/frei0r
sudo  ./configure  --avformat-svn
sudo make 
sudo make install

cd ~/mlt
sudo ./configure
sudo make

gcc -DHAVE_AV_CONFIG_H -I. -I"/home/fredf/mlt/src/modules/avformat/ffmpeg" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -std=c99 -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize       -MMD -MF libswscale/swscale.d -MT libswscale/swscale.o -c -o libswscale/swscale.o libswscale/swscale.c
libswscale/swscale.c:140: error: conflicting type qualifiers for ‘ff_dither4’
libswscale/swscale_internal.h:447: note: previous declaration of ‘ff_dither4’ was here
libswscale/swscale.c:140: error: expected ‘,’ or ‘;’ before ‘[’ token
libswscale/swscale.c:144: error: conflicting type qualifiers for ‘ff_dither8’
libswscale/swscale_internal.h:448: note: previous declaration of ‘ff_dither8’ was here
libswscale/swscale.c:144: error: expected ‘,’ or ‘;’ before ‘[’ token
libswscale/swscale.c:178: error: expected ‘,’ or ‘;’ before ‘[’ token
libswscale/swscale.c:187: error: expected ‘,’ or ‘;’ before ‘[’ token


So the above is probably some bug in the recent release of ffmpeg source code for the files swscale.c
and swscale_internal.h

Having problems installing the  MLT and melt using  sudo apt-get install

fredf@fredf-Mint ~/mlt $ sudo apt-get install melt MLT
[sudo] password for fredf: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
melt is already the newest version.
E: Couldn't find package MLT
fredf@fredf-Mint ~/mlt $ 

So like above  HE is missing MLT  and I am missing MLT    how to install
that MLT and the python-mlt bindings?

fredf@fredf-Mint ~/openshot $ sudo python debug.py
-----------------------------------------------------------
OpenShot Debug File 0.0.2 - 2010-04-27 08:11:55.959051
-----------------------------------------------------------
This file contains a list of installed packages related to OpenShot,
locations of files, and a list of shared libraries used by python-mlt.


-----------------------------------------------------------
Distribution Version Info
-----------------------------------------------------------
No LSB modules are available.
Distributor ID:	LinuxMint
Description:	Linux Mint 8 Helena - Main Edition
Release:	8
Codename:	helena


-----------------------------------------------------------
List of Installed Packages
-----------------------------------------------------------
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                  Version                                    Description
+++-=====================================-==========================================-============================================
ii  libmlt1                               0.4.4-2build1                              multimedia framework (runtime)
ii  openshot                              1.1.3-1                                    Create and edit videos and movies
un  openshot-mlt                          <none>                                     (no description available)
ii  python-mlt                            1.0-3                                      Python bindings for MLT video editing framew
un  python-mlt2                           <none>                                     (no description available)
No packages found matching libmlt2.


-----------------------------------------------------------
Python Path (i.e. sys.path)
-----------------------------------------------------------
/home/fredf/openshot
/usr/lib/python2.6
/usr/lib/python2.6/plat-linux2
/usr/lib/python2.6/lib-tk
/usr/lib/python2.6/lib-old
/usr/lib/python2.6/lib-dynload
/usr/lib/python2.6/dist-packages
/usr/lib/python2.6/dist-packages/PIL
/usr/lib/python2.6/dist-packages/gst-0.10
/usr/lib/pymodules/python2.6
/usr/lib/python2.6/dist-packages/gtk-2.0
/usr/lib/pymodules/python2.6/gtk-2.0
/usr/lib/python2.6/dist-packages/wx-2.6-gtk2-unicode
/usr/local/lib/python2.6/dist-packages


-----------------------------------------------------------
Files in /usr/lib/pymodules/python2.6/mlt (used by python-mlt)
-----------------------------------------------------------
/usr/lib/pymodules/python2.6/mlt
/usr/lib/pymodules/python2.6/mlt/example.py
/usr/lib/pymodules/python2.6/mlt/mlt.pyc
/usr/lib/pymodules/python2.6/mlt/__init__.py
/usr/lib/pymodules/python2.6/mlt/_mlt.so
/usr/lib/pymodules/python2.6/mlt/mlt.py
/usr/lib/pymodules/python2.6/mlt/mlt_wrap.o
/usr/lib/pymodules/python2.6/mlt/__init__.pyc
/usr/lib/pymodules/python2.6/mlt/example.pyc


-----------------------------------------------------------
Attempt to import mlt (using Python)
-----------------------------------------------------------
No module named _mlt


-----------------------------------------------------------
Find 'openshot' files & folders
-----------------------------------------------------------
/usr/bin/openshot
/usr/share/python-support/openshot
/usr/share/python-support/openshot/openshot
/usr/share/omf/openshot
/usr/share/doc/openshot
/usr/share/gnome/help/openshot
/usr/lib/pymodules/python2.6/openshot
/usr/lib/mime/packages/openshot
/usr/local/bin/openshot
/usr/local/lib/python2.6/dist-packages/openshot
/usr/local/lib/mime/packages/openshot
/home/fredf/openshot
/home/fredf/openshot/build/scripts-2.6/openshot
/home/fredf/openshot/build/lib.linux-i686-2.6/openshot
/home/fredf/openshot/openshot
/home/fredf/openshot/bin/openshot
/home/fredf/openshot/xdg/openshot


-----------------------------------------------------------
Find 'mlt' files & folders
-----------------------------------------------------------
/usr/share/pyshared/mlt
/usr/share/mlt
/usr/lib/pymodules/python2.6/mlt
/usr/lib/pyshared/python2.6/mlt
/usr/lib/mlt
/usr/local/share/mlt
/usr/local/lib/mlt
/usr/local/include/mlt
/home/fredf/mlt


-----------------------------------------------------------
Find libmlt*.so*
-----------------------------------------------------------
/usr/lib/libmlt.so.0.5.4
/usr/lib/libmlt++.so.0.5.4
/usr/lib/libmlt.so.2
/usr/lib/libmlt++.so.2
/usr/lib/mlt/libmltsdl.so
/usr/lib/mlt/libmltvorbis.so
/usr/lib/mlt/libmltjackrack.so
/usr/lib/mlt/libmltkdenlive.so
/usr/lib/mlt/libmltnormalize.so
/usr/lib/mlt/libmltplus.so
/usr/lib/mlt/libmltdv.so
/usr/lib/mlt/libmlteffectv.so
/usr/lib/mlt/libmltmelt.so
/usr/lib/mlt/libmltsox.so
/usr/lib/mlt/libmltresample.so
/usr/lib/mlt/libmltdgraft.so
/usr/lib/mlt/libmltkino.so
/usr/lib/mlt/libmltgtk2.so
/usr/lib/mlt/libmltfrei0r.so
/usr/lib/mlt/libmltxml.so
/usr/lib/mlt/libmltxine.so
/usr/lib/mlt/libmltavformat.so
/usr/lib/mlt/libmltvmfx.so
/usr/lib/mlt/libmltcore.so
/usr/lib/mlt/libmltoldfilm.so
/usr/lib/mlt/libmltqimage.so
/usr/lib/libmlt++.so.3
/usr/lib/libmlt++.so.0.4.4
/usr/lib/libmlt.so.0.4.4
/usr/lib/libmlt.so.1
/usr/local/lib/libmlt++.so
/usr/local/lib/libmlt.so.0.5.4
/usr/local/lib/libmlt++.so.0.5.4
/usr/local/lib/libmlt.so.2
/usr/local/lib/mlt/libmltsdl.so
/usr/local/lib/mlt/libmltmotion_est.so
/usr/local/lib/mlt/libmltvorbis.so
/usr/local/lib/mlt/libmltjackrack.so
/usr/local/lib/mlt/libmltkdenlive.so
/usr/local/lib/mlt/libmltnormalize.so
/usr/local/lib/mlt/libmltdv.so
/usr/local/lib/mlt/libmltmelt.so
/usr/local/lib/mlt/libmltresample.so
/usr/local/lib/mlt/libmltdgraft.so
/usr/local/lib/mlt/libmltgtk2.so
/usr/local/lib/mlt/libmltvmfx.so
/usr/local/lib/mlt/libmltoldfilm.so
/usr/local/lib/libmlt++.so.3
/usr/local/lib/libmlt.so
/home/fredf/mlt/src/framework/libmlt.so.0.5.4
/home/fredf/mlt/src/framework/libmlt.so.2
/home/fredf/mlt/src/framework/libmlt.so
/home/fredf/mlt/src/modules/libmltsdl.so
/home/fredf/mlt/src/modules/libmltmotion_est.so
/home/fredf/mlt/src/modules/libmltvorbis.so
/home/fredf/mlt/src/modules/libmltjackrack.so
/home/fredf/mlt/src/modules/libmltkdenlive.so
/home/fredf/mlt/src/modules/libmltnormalize.so
/home/fredf/mlt/src/modules/libmltdv.so
/home/fredf/mlt/src/modules/libmltmelt.so
/home/fredf/mlt/src/modules/libmltresample.so
/home/fredf/mlt/src/modules/libmltdgraft.so
/home/fredf/mlt/src/modules/libmltgtk2.so
/home/fredf/mlt/src/modules/libmltvmfx.so
/home/fredf/mlt/src/modules/libmltoldfilm.so
/home/fredf/mlt/src/mlt++/libmlt++.so
/home/fredf/mlt/src/mlt++/libmlt++.so.0.5.4
/home/fredf/mlt/src/mlt++/libmlt++.so.3


-----------------------------------------------------------
Locate '_mlt.so', used by python-mlt
-----------------------------------------------------------
/usr/lib/pymodules/python2.6/mlt/_mlt.so
/usr/lib/pyshared/python2.6/mlt/_mlt.so


-----------------------------------------------------------
Shared Libraries for /usr/lib/pymodules/python2.6/mlt/_mlt.so
-----------------------------------------------------------
	linux-gate.so.1 =>  (0x00173000)
	libmlt++.so.2 => /usr/lib/libmlt++.so.2 (0x00836000)
	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00fd5000)
	libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x00e8a000)
	libmlt.so.1 => /usr/lib/libmlt.so.1 (0x00ae2000)
	libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x0017d000)
	/lib/ld-linux.so.2 (0x008e7000)
	libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x00513000)
	libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0x0046d000)
	libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x009dc000)


-----------------------------------------------------------
Debug File 'openshot.debug'
-----------------------------------------------------------
This script has created a file called 'openshot.debug' which
contains all of this output.  If you are having trouble installing
OpenShot, you can attach this file to your bug report.


Thanks for your help.  I would like to build from source code.   I could help test what is not in the packaging.

fredf@fredf-Mint /etc/apt $ cat sources.list
deb http://packages.linuxmint.com/ helena main upstream import
deb-src http://packages.linuxmint.com/ helena main upstream import #Added by software-properties
deb http://archive.ubuntu.com/ubuntu/ karmic main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ karmic-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ karmic-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ karmic partner
deb http://packages.medibuntu.org/ karmic free non-free

deb http://ppa.launchpad.net/openshot.developers/ppa/ubuntu karmic main
deb-src http://ppa.launchpad.net/openshot.developers/ppa/ubuntu karmic main
fredf@fredf-Mint /etc/apt $ 

fredf@fredf-Mint /etc/apt $ cd sources.list.d
fredf@fredf-Mint /etc/apt/sources.list.d $ ls
jonoomph-openshot-edge-helena.list  jonoomph-openshot-edge-helena.list.save
fredf@fredf-Mint /etc/apt/sources.list.d $ ls -l
total 8
-rw-r--r-- 1 root root 71 2010-04-26 23:23 jonoomph-openshot-edge-helena.list
-rw-r--r-- 1 root root 71 2010-04-26 23:23 jonoomph-openshot-edge-helena.list.save
fredf@fredf-Mint /etc/apt/sources.list.d $ cat jon*
deb http://ppa.launchpad.net/jonoomph/openshot-edge/ubuntu karmic main
deb http://ppa.launchpad.net/jonoomph/openshot-edge/ubuntu karmic main
fredf@fredf-Mint /etc/apt/sources.list.d $ 

Hope the above "cat" of contents of  /etc/apt/sources.list  and
/etc/apt/sources.list.d/jonoomph-openshot-edge-helena.list.save  help
out

WB7ODYFred   SIP:fredfinster@xxxxxxxxxxxxxxxxx

-- 
Karmic - Problem Opening after ppa install
https://bugs.launchpad.net/bugs/570029
You received this bug notification because you are a member of OpenShot
Developers, which is subscribed to OpenShot Video Editor.

Status in OpenShot Video Editor: New

Bug description:
Thanks for doing such a great job with Openshot, it looks promising!
Now, if it would just run in Karmic, and run without crashing!!  rg

This is a PPA install of your latest build on a Karmic 9.10 OS.
FYII - I upgraded an Ubuntu 9.04 install to 9.10.  Have tried Openshot install in every possible way.  Removed many non working attempts. Have never been able to get a stable installation.  

Last attempt with your ppa:   "openshot" on the command line yielded these results...


--------------------------------
   OpenShot (version 1.1.3)
--------------------------------
Process no longer exists: 16995.  Creating new pid lock file.
*** ERROR: MLT Python bindings failed to import ***
*** ERROR: MLT Python bindings failed to import ***
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
    self.run()
  File "/usr/lib/pymodules/python2.6/openshot/classes/thumbnail.py", line 170, in run
    mlt.Factory().init()
NameError: global name 'mlt' is not defined

-------------------------------------------------------
Error:  OpenShot has not been installed in the Python path.
(Both the site-packages and /usr/share/openshot folders were checked)

Use the following command to install OpenShot:
  $ sudo python setup.py install

--------------

When I attempted to run the suggested command line
  $ sudo python setup.py install
I got this...
  $ python: can't open file 'setup.py': [Errno 2] No such file or directory



HERE IS THE DEBUG FILE....


-----------------------------------------------------------
OpenShot Debug File 0.0.2 - 2010-04-26 01:56:38.970467     
-----------------------------------------------------------
This file contains a list of installed packages related to OpenShot,
locations of files, and a list of shared libraries used by python-mlt.


-----------------------------------------------------------
Distribution Version Info                                  
-----------------------------------------------------------
No LSB modules are available.                              
Distributor ID: Ubuntu                                     
Description:    Ubuntu 9.10                                
Release:        9.10                                       
Codename:       karmic                                     



-----------------------------------------------------------
List of Installed Packages                                 
-----------------------------------------------------------
Desired=Unknown/Install/Remove/Purge/Hold                  
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)                    
||/ Name                                                 Version                                                    Description
+++-====================================================-==========================================================-============================================
ii  libmlt1                                              0.4.4-2build1                                              multimedia framework (runtime)              
ii  openshot                                             1.1.3-karmic1                                              Create and edit videos and movies           
un  openshot-mlt                                         <none>                                                     (no description available)                  
ii  python-mlt                                           1.0-3                                                      Python bindings for MLT video editing framew
un  python-mlt2                                          <none>                                                     (no description available)                  
No packages found matching libmlt2.                                                                                                                             



-----------------------------------------------------------
Python Path (i.e. sys.path)
-----------------------------------------------------------
/home/rgeiger/Downloads/OpenShot
/usr/lib/python2.6
/usr/lib/python2.6/plat-linux2
/usr/lib/python2.6/lib-tk
/usr/lib/python2.6/lib-old
/usr/lib/python2.6/lib-dynload
/usr/lib/python2.6/dist-packages
/usr/lib/python2.6/dist-packages/Numeric
/usr/lib/python2.6/dist-packages/PIL
/usr/lib/python2.6/dist-packages/gst-0.10
/usr/lib/pymodules/python2.6
/usr/lib/python2.6/dist-packages/gtk-2.0
/usr/lib/pymodules/python2.6/gtk-2.0
/usr/lib/python2.6/dist-packages/wx-2.6-gtk2-unicode
/usr/local/lib/python2.6/dist-packages


-----------------------------------------------------------
Files in /usr/lib/pymodules/python2.6/mlt (used by python-mlt)
-----------------------------------------------------------
/usr/lib/pymodules/python2.6/mlt
/usr/lib/pymodules/python2.6/mlt/__init__.py
/usr/lib/pymodules/python2.6/mlt/mlt.py
/usr/lib/pymodules/python2.6/mlt/_mlt.so
/usr/lib/pymodules/python2.6/mlt/mlt_wrap.o
/usr/lib/pymodules/python2.6/mlt/example.py
/usr/lib/pymodules/python2.6/mlt/example.pyc
/usr/lib/pymodules/python2.6/mlt/__init__.pyc
/usr/lib/pymodules/python2.6/mlt/mlt.pyc



-----------------------------------------------------------
Attempt to import mlt (using Python)
-----------------------------------------------------------
No module named _mlt





References