← Back to team overview

openshot.bugs team mailing list archive

[Bug 924992] Re: Unable to drag an image onto track

 

The bug still occurs in 1.4.2 beta 1 from daily rep (1.4.1+0+637+60+241~lucid1).
I have supposed it can be because of old version of MLT (0.5.4) so I have compiled MLT 0.7.6 by myself.
But I cannot install openshot now because MLT 0.7.6 was not installed from rep (not in packages base).
Then I have forced openshot's installation with dpkg by specifying param "--ignore-depends".

It causes error now and I don't know what to do:

$ openshot

------------------------- ERROR 1 ------------------------------
Failed to import 'from openshot import main'
Error Message: No module named openshot
----------------------------------------------------------------

------------------------- ERROR 2 ------------------------------
Failed to import 'from openshot.openshot import main'
Error Message: No module named openshot.openshot
----------------------------------------------------------------

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 bug is no longer a duplicate of bug 923873
   Settings wIndow does not open (and images can not be dropped on the timeline) for non-English languages

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

Title:
  Unable to drag an image onto track

Status in OpenShot Video Editor:
  New

Bug description:
  Ubuntu 10.04, Openshot 1.4.1, MLT 0.5.2 (official).
  When dragging an image from Project files onto track it refuses to stay on track.
  I tried both PNG and JPG images.
  If I drag sequence of images or sound file or video file it lays OK.

  What is written in the console:

  Traceback (most recent call last):
    File "/usr/lib/pymodules/python2.6/openshot/windows/MainGTK.py", line 1160, in motion_cb
      self.motion_file_drag(wid, context, x, y, time)
    File "/usr/lib/pymodules/python2.6/openshot/windows/MainGTK.py", line 1216, in motion_file_drag
      self.new_clip_object = self.project.sequences[0].tracks[0].AddClip(file_name, "Gold", 0, float(0.0), float(file_length), file_object)
    File "/usr/lib/pymodules/python2.6/openshot/classes/track.py", line 63, in AddClip
      NewClip.end_time = NewClip.start_time + float(preferences.Settings.general["imported_image_length"])#7.0
  ValueError: invalid literal for float(): 7,00

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


References