← Back to team overview

openshot.developers team mailing list archive

[Bug 700439] [NEW] Transition clock left to right not added

 

Public bug reported:

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

** Affects: openshot
     Importance: Undecided
         Status: New

-- 
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:
  Transition clock left to right not added

Status in OpenShot Video Editor:
  New

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





Follow ups

References