← Back to team overview

openshot.developers team mailing list archive

[Bug 700439] Re: Transition clock left to right not added

 

This occurs if you drop a transition to the timeline with the snapping
tool not selected. Try enabling the snapping tool and it should work.

** Changed in: openshot
       Status: New => Confirmed

** Changed in: openshot
   Importance: Undecided => High

** Summary changed:

- Transition clock left to right not added
+ Error dropping transitions to the timeline if the Snapping Tool is off

-- 
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/700439

Title:
  Error dropping transitions to the timeline if the Snapping Tool is off

Status in OpenShot Video Editor:
  Confirmed

Bug description:
  I tried to use the transition clock left to right. It was not added
  and I found in .xsession-errors:

  Hodiny zleva doprava
  /usr/lib/pymodules/python2.6/openshot/transitions/clock_left_to_right.pgm
  Traceback (most recent call last):
    File "/usr/lib/pymodules/python2.6/openshot/windows/MainGTK.py", line 823, in on_drop_trans_from_tree
      self.drop_cb(self.new_transition, self.tree_drag_context, self.new_transition.get_bounds().x1, 0.0, self.tree_drag_time)
    File "/usr/lib/pymodules/python2.6/openshot/windows/MainGTK.py", line 1061, in drop_cb
      self.new_transition.animate(distance_from_clip, bottom_y - self.new_transition.get_bounds().y1, 1.0, 0.0, False, 200, 4, goocanvas.ANIMATE_FREEZE)
  UnboundLocalError: local variable 'distance_from_clip' referenced before assignment
  Traceback (most recent call last):
    File "/usr/lib/pymodules/python2.6/openshot/windows/MainGTK.py", line 1061, in drop_cb
      self.new_transition.animate(distance_from_clip, bottom_y - self.new_transition.get_bounds().y1, 1.0, 0.0, False, 200, 4, goocanvas.ANIMATE_FREEZE)
  UnboundLocalError: local variable 'distance_from_clip' referenced before assignment
  Traceback (most recent call last):
    File "/usr/lib/pymodules/python2.6/openshot/windows/MainGTK.py", line 823, in on_drop_trans_from_tree
      self.drop_cb(self.new_transition, self.tree_drag_context, self.new_transition.get_bounds().x1, 0.0, self.tree_drag_time)
    File "/usr/lib/pymodules/python2.6/openshot/windows/MainGTK.py", line 1061, in drop_cb
      self.new_transition.animate(distance_from_clip, bottom_y - self.new_transition.get_bounds().y1, 1.0, 0.0, False, 200, 4, goocanvas.ANIMATE_FREEZE)
  UnboundLocalError: local variable 'distance_from_clip' referenced before assignment
  Traceback (most recent call last):
    File "/usr/lib/pymodules/python2.6/openshot/windows/MainGTK.py", line 1061, in drop_cb
      self.new_transition.animate(distance_from_clip, bottom_y - self.new_transition.get_bounds().y1, 1.0, 0.0, False, 200, 4, goocanvas.ANIMATE_FREEZE)
  UnboundLocalError: local variable 'distance_from_clip' referenced before assignment

  
  Xubuntu 10.10, OpenShot 1.2.2 from PPA





References