You are not logged in.

#26 2011-04-01 15:38:16

lefteyexl
Member
From: Angers, France
Registered: 2011-04-01
Posts: 13

Re: OpenShot fails to launch

I can confirm that building mlt and mlt-python-bindings with ABS and then pacman -S openshot WORK in my case.
Running Arch x86_64.
Cheers


Config: Asus A55E laptop - Core i7 - 6GB RAM

Offline

#27 2011-04-04 12:31:49

uc50ic4more
Member
From: Windsor, Ontario, Canada
Registered: 2011-03-21
Posts: 50

Re: OpenShot fails to launch

The upgrade today to mlt and mlt-python-bindings to 0.7.0-3 fixed my Openshot startup issue.

Offline

#28 2011-04-04 21:20:24

schivmeister
Developer/TU
From: Singapore
Registered: 2007-05-17
Posts: 971
Website

Re: OpenShot fails to launch


I need real, proper pen and paper for this.

Offline

#29 2011-05-19 01:41:15

kasbah
Member
Registered: 2009-08-13
Posts: 30

Re: OpenShot fails to launch

1) Fully update your system
2) Remove any symlinks you might've made (for openshot libs or python binary)
3) Remove ~/.openshot (backup if you must)
4) Remove openshot, mlt, mlt-python-bindings (pacman -Rscn openshot; -Rd if you don't like what else is being removed)
5) Reinstall the packages

I tried these steps as well as rebuilding mlt from abs.

Still no luck. When I try to import mlt in python I get:

$ python2
Python 2.7.1 (r271:86832, Apr 15 2011, 12:11:58) 
[GCC 4.5.2 20110127 (prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import mlt
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/mlt.py", line 25, in <module>
    _mlt = swig_import_helper()
  File "/usr/lib/python2.7/mlt.py", line 21, in swig_import_helper
    _mod = imp.load_module('_mlt', fp, pathname, description)
ImportError: /usr/lib/python2.7/_mlt.so: undefined symbol: _ZN3Mlt10Transition12get_progressERNS_5FrameE
>>> 

mlt and mtl-python-bindings version 0.7.2-1

Offline

#30 2011-11-14 20:44:44

EvilRobot
Member
Registered: 2010-02-23
Posts: 26

Re: OpenShot fails to launch

When I try to run OpenShot from the terminal I receive the following error:

------------------------- ERROR 1 ------------------------------
Failed to import 'from openshot import main'
Error Message: cannot import name main
----------------------------------------------------------------

(process:2802): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.
--------------------------------
   OpenShot (version 1.4.0)
--------------------------------

------------------------- ERROR 2 ------------------------------
Failed to import 'from openshot.openshot import main'
Error Message: unsupported locale setting
----------------------------------------------------------------

OpenShot has failed to import some of the Python files or libraries 
required for our application to run.  Here are some trouble shooting
tips:

Tip 1) Check if MLT can be successfully imported in Python.  Run the 
 following commands, and see if any errors are displayed.  If you get 
 an error, you need to investigate the correct way to install MLT.
 NOTE:  Do not type the $ or >> characters in the examples below.

       $ python
       >> import mlt
       >> mlt.Factory().init()

Tip 2) If MLT is working from the first example, then the next tip is 
 to look at the above error messages very closely, and google for more 
 help.  It's likely the problem is already reported, and maybe there is
 a simple work-around.  Also, you can search for bugs or report a new 
 bug at https://bugs.launchpad.net/openshot.  Good luck! 

This is what I get when I check to see if MLT is working:

Python 2.7.2 (default, Jun 29 2011, 11:10:00) 
[GCC 4.6.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import mlt
>>> mlt.Factory().init()
<mlt.Repository; proxy of <Swig Object of type 'Mlt::Repository *' at 0x7fa841b9fc00> >
>>> 

 
Not sure if this means MLT is working properly, I think it's a good sign it doesn't say error anywhere, lol.

I've tried running the debug.py script but it does't work under Arch, I get this error message:

-----------------------------------------------------------
OpenShot Debug File 0.0.2 - 2011-11-14 14:57:10.085927
-----------------------------------------------------------
This file contains a list of installed packages related to OpenShot,
locations of files, and a list of shared libraries used by python-mlt.


Traceback (most recent call last):
  File "debug.py", line 40, in <module>
    process = subprocess.Popen(["lsb_release","-a"], stdout=subprocess.PIPE, stdin=subprocess.PIPE, stderr=subprocess.STDOUT)
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1228, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory 

I guess this is because the script was intended for use in Ubuntu and other .deb based distros. Is there a way to edit debug.py for use in Arch?

I have tried also tried to uninstall and re-install as per the instructions by schivmeister and have tried downgrading nothing has made a difference.

system info:
Arch Linux 64-bit (system fully up to date as of this writing)
Nvidia driver 285.05.09
openshot 1.4.0-1
mlt 0.7.6-1
mlt-python-bindings 0.7.6-1

Any help would be appreciated.

Offline

#31 2011-11-15 21:12:16

EvilRobot
Member
Registered: 2010-02-23
Posts: 26

Re: OpenShot fails to launch

I received  a suggestion that the problem could be with the system locale so I ran "locale" to see what locales are in use on the system and received the following output:

locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_US.utf8
LC_CTYPE="en_US.utf8"
LC_NUMERIC="en_US.utf8"
LC_TIME="en_US.utf8"
LC_COLLATE="en_US.utf8"
LC_MONETARY="en_US.utf8"
LC_MESSAGES="en_US.utf8"
LC_PAPER="en_US.utf8"
LC_NAME="en_US.utf8"
LC_ADDRESS="en_US.utf8"
LC_TELEPHONE="en_US.utf8"
LC_MEASUREMENT="en_US.utf8"
LC_IDENTIFICATION="en_US.utf8"
LC_ALL=

Well there seems to be a problem with LC_CTYPE, LC_MESSAGES and LC_ALL. Although I'm a bit confused because "LC_CTYPE="en_US.utf8"" and "LC_ALL=" are listed further down without an error.
Now the system-wide locale currently in use as it appears in /etc/rc.conf is LOCALE="en_US.UTF-8"
Could this be fixed by uncommenting "en_US.UTF-8 UTF-8" and "en_US ISO-8859-1" in /etc/locale.gen and then running "locale-gen" as root? Or is this even a problem?

Offline

#32 2011-11-15 21:19:04

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: OpenShot fails to launch

Offline

#33 2011-11-16 00:57:06

EvilRobot
Member
Registered: 2010-02-23
Posts: 26

Re: OpenShot fails to launch

Thank you very much for the link Karol it worked. smile
Steps listed below if anyone else has the same problem with OpenShot not opening (locale settings are the issue not MLT)

First open /etc/locale.gen with nano:

 nano /etc/locale.gen

Then uncomment:

en_US.UTF-8 UTF-8
en_US ISO-8859-1

Now run:

locale-gen

You should then see a "Generating locals" message when that is done run:

locale

Hopefully you will see an output similar to this:

LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES=C
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

Now you should be able to open OpenShot. Hopefully

Offline

#34 2013-08-15 05:30:43

horsemanoffaith
Member
Registered: 2013-05-10
Posts: 181

Re: OpenShot fails to launch

EvilRobot wrote:

Now you should be able to open OpenShot. Hopefully


Thank you very much, EvilRobot for the step-by-step and you karol for the link! I have been banging my head against the wall for quite some time with this one... you got it all fixed up for me!!!!

Offline

Board footer

Powered by FluxBB