← Back to team overview

openshot.developers team mailing list archive

[Bug 777223] Re: Openshot 1.3.1 segv's: cannot import name main

 

The debug.py file probably failed because it could not find the
lsb_release command, which might be a Debian specific thing, I'm not
sure.  The Segmentation fault is likely caused by our video library,
MLT.  I would check and see if the following things work:

Command 1:
$ melt

If the command is found, and no errors are reported, then it is probably
installed correctly.

Command 2:
$ python
>> import mlt
>> f = mlt.Factory()
>> f.init()

If no errors are reported in Python, then MLT is most likely installed
correctly.

Also, you might try modifying the debug.py file, to remove the few lines
related to "lsb_release", since the rest of that script tests all of
these things.  Good luck.

-- 
You received this bug notification because you are a member of OpenShot
Developers, which is subscribed to OpenShot Video Editor.
https://bugs.launchpad.net/bugs/777223

Title:
  Openshot 1.3.1 segv's: cannot import name main

Status in OpenShot Video Editor:
  New

Bug description:
  After installing Openshot, I see the following in a terminal:

  audiodef@Tchaikovsky ~ $ openshot

  ------------------------- ERROR 1 ------------------------------
  Failed to import 'from openshot import main'
  Error Message: cannot import name main
  ----------------------------------------------------------------
  --------------------------------
     OpenShot (version 1.3.1)
  --------------------------------
  Process no longer exists: 5447.  Creating new pid lock file.
  state saved
  Segmentation fault

  Further, the debug.py script fails:

  audiodef@Tchaikovsky ~ $ python debug.py 
  -----------------------------------------------------------
  OpenShot Debug File 0.0.2 - 2011-05-04 16:18:28.485562
  -----------------------------------------------------------
  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/lib64/python2.7/subprocess.py", line 672, in __init__
      errread, errwrite)
    File "/usr/lib64/python2.7/subprocess.py", line 1202, in _execute_child
      raise child_exception
  OSError: [Errno 2] No such file or directory

  OS: Gentoo Linux, ~amd64
  Installation Method: ebuild from amielke overlay
  Version of Openshot: 1.3.1


Follow ups

References