← Back to team overview

linux-traipu team mailing list archive

[Bug 1407639] [NEW] "Invalid token (line 30, column 0)" error

 

Public bug reported:

When opening in the terminal i get this output:

mathijs@mathijs-HP-Compaq-dc7600-Small-Form-Factor:~$ openshot

------------------------- ERROR 1 ------------------------------
Failed to import 'from openshot import main'
Error Message: cannot import name main
----------------------------------------------------------------
--------------------------------
   OpenShot (version 1.4.3)
--------------------------------
Process no longer exists: 9083.  Creating new pid lock file.

------------------------- ERROR 2 ------------------------------
Failed to import 'from openshot.openshot import main'
Error Message: not well-formed (invalid token): line 30, column 0
----------------------------------------------------------------

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!


I tried reinstalling from source file, reinstalling from Synaptic, looking in the code for "line 30, column 0", copying the ~/.openshot directory to a different location, reinstalling MLT, checking if MLT can be imported in python, updating Python. All of these weren't usefull.

Extra info:
OS: Lubuntu LXDE version 14.10
Openshot version: latest as available from Synaptic and source
Python: Latest version
Computer: HP Compaq dc7600 Small Form Factor with Intel prossesor
Melt: Version 0.9.3

** Affects: openshot
     Importance: Undecided
         Status: New


** Tags: import

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

Title:
  "Invalid token (line 30, column 0)" error

Status in OpenShot Video Editor:
  New

Bug description:
  When opening in the terminal i get this output:

  mathijs@mathijs-HP-Compaq-dc7600-Small-Form-Factor:~$ openshot

  ------------------------- ERROR 1 ------------------------------
  Failed to import 'from openshot import main'
  Error Message: cannot import name main
  ----------------------------------------------------------------
  --------------------------------
     OpenShot (version 1.4.3)
  --------------------------------
  Process no longer exists: 9083.  Creating new pid lock file.

  ------------------------- ERROR 2 ------------------------------
  Failed to import 'from openshot.openshot import main'
  Error Message: not well-formed (invalid token): line 30, column 0
  ----------------------------------------------------------------

  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!

  
  I tried reinstalling from source file, reinstalling from Synaptic, looking in the code for "line 30, column 0", copying the ~/.openshot directory to a different location, reinstalling MLT, checking if MLT can be imported in python, updating Python. All of these weren't usefull.

  Extra info:
  OS: Lubuntu LXDE version 14.10
  Openshot version: latest as available from Synaptic and source
  Python: Latest version
  Computer: HP Compaq dc7600 Small Form Factor with Intel prossesor
  Melt: Version 0.9.3

To manage notifications about this bug go to:
https://bugs.launchpad.net/openshot/+bug/1407639/+subscriptions


Follow ups

References