> Public bug reported:
>
> 1) Ubuntu 12.10
> 2) apt-get install openshot
> 3) Openshot 1.4.3
> 4) melt 0.8.0
>
> I was adding a still image to a track and messing with the fades. I'm
> not sure what happened, but OpenShot crashed. It must have saved the
> project right before the crash, because all subsequent tries to open the
> file resulted in OpenShot crashing. Running OpenShot from the command
> line showed a ZeroDivisionError:
>
> Traceback (most recent call last):
> File "/usr/lib/pymodules/python2.7/openshot/windows/MainGTK.py", line
> 881, in recent_item_activated
> self.open_project(file_to_open)
> File "/usr/lib/pymodules/python2.7/openshot/windows/MainGTK.py", line
> 886, in open_project
> self.project.Open(file_to_open)
> File "/usr/lib/pymodules/python2.7/openshot/classes/project.py", line
> 347, in Open
> open_project.open_project(self, file_path)
> File "/usr/lib/pymodules/python2.7/openshot/classes/open_project.py",
> line 123, in open_project
> project_object.RefreshXML()
> File "/usr/lib/pymodules/python2.7/openshot/classes/project.py", line
> 287, in RefreshXML
> self.GenerateXML(os.path.join(self.USER_DIR, "sequence.mlt"))
> File "/usr/lib/pymodules/python2.7/openshot/classes/project.py", line
> 258, in GenerateXML
> self.sequences[0].GenerateXML(dom, tractor1)
> File "/usr/lib/pymodules/python2.7/openshot/classes/sequences.py", line
> 232, in GenerateXML
> MyTrack.GenerateXML(dom, multitrack, fps=fps)
> File "/usr/lib/pymodules/python2.7/openshot/classes/track.py", line 111,
> in GenerateXML
> current_frame = MyClip.GenerateXML(dom, playlist, current_frame,
> fps=fps)
> File "/usr/lib/pymodules/python2.7/openshot/classes/clip.py", line 654,
> in GenerateXML
> self.GenerateComposites(dom, current_frame, ending_frame,
> preview_mode, fps=fps)
> File "/usr/lib/pymodules/python2.7/openshot/classes/clip.py", line 754,
> in GenerateComposites
> self.CreateCompositeXML(dom, current_frame, end, "fade in", fps=fps)
> File "/usr/lib/pymodules/python2.7/openshot/classes/clip.py", line 829,
> in CreateCompositeXML
> h1, h2 = self.get_keyframe_values("height", current_frame, end_frame,
> fps, clip_length_frames, kf_start, kf_end)
> File "/usr/lib/pymodules/python2.7/openshot/classes/clip.py", line 1026,
> in get_keyframe_values
> units = prop_diff / clip_length_frames
> ZeroDivisionError: float division by zero
>
> Editing /usr/lib/pymodules/python2.7/openshot/classes/clip.py with this
> fixed my problem:
>
> - if prop_diff != 0:
> + if prop_diff != 0 and clip_length_frames > 0.0:
>
> ** Affects: openshot
> Importance: Undecided
> Status: New
>
> --
> 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/1154416
>
> Title:
> ZeroDivisionError: float division by zero
>
> Status in OpenShot Video Editor:
> New
>
> Bug description:
> 1) Ubuntu 12.10
> 2) apt-get install openshot
> 3) Openshot 1.4.3
> 4) melt 0.8.0
>
> I was adding a still image to a track and messing with the fades. I'm
> not sure what happened, but OpenShot crashed. It must have saved the
> project right before the crash, because all subsequent tries to open
> the file resulted in OpenShot crashing. Running OpenShot from the
> command line showed a ZeroDivisionError:
>
> Traceback (most recent call last):
> File "/usr/lib/pymodules/python2.7/openshot/windows/MainGTK.py", line
> 881, in recent_item_activated
> self.open_project(file_to_open)
> File "/usr/lib/pymodules/python2.7/openshot/windows/MainGTK.py", line
> 886, in open_project
> self.project.Open(file_to_open)
> File "/usr/lib/pymodules/python2.7/openshot/classes/project.py", line
> 347, in Open
> open_project.open_project(self, file_path)
> File "/usr/lib/pymodules/python2.7/openshot/classes/open_project.py",
> line 123, in open_project
> project_object.RefreshXML()
> File "/usr/lib/pymodules/python2.7/openshot/classes/project.py", line
> 287, in RefreshXML
> self.GenerateXML(os.path.join(self.USER_DIR, "sequence.mlt"))
> File "/usr/lib/pymodules/python2.7/openshot/classes/project.py", line
> 258, in GenerateXML
> self.sequences[0].GenerateXML(dom, tractor1)
> File "/usr/lib/pymodules/python2.7/openshot/classes/sequences.py",
> line 232, in GenerateXML
> MyTrack.GenerateXML(dom, multitrack, fps=fps)
> File "/usr/lib/pymodules/python2.7/openshot/classes/track.py", line
> 111, in GenerateXML
> current_frame = MyClip.GenerateXML(dom, playlist, current_frame,
> fps=fps)
> File "/usr/lib/pymodules/python2.7/openshot/classes/clip.py", line
> 654, in GenerateXML
> self.GenerateComposites(dom, current_frame, ending_frame,
> preview_mode, fps=fps)
> File "/usr/lib/pymodules/python2.7/openshot/classes/clip.py", line
> 754, in GenerateComposites
> self.CreateCompositeXML(dom, current_frame, end, "fade in", fps=fps)
> File "/usr/lib/pymodules/python2.7/openshot/classes/clip.py", line
> 829, in CreateCompositeXML
> h1, h2 = self.get_keyframe_values("height", current_frame,
> end_frame, fps, clip_length_frames, kf_start, kf_end)
> File "/usr/lib/pymodules/python2.7/openshot/classes/clip.py", line
> 1026, in get_keyframe_values
> units = prop_diff / clip_length_frames
> ZeroDivisionError: float division by zero
>
> Editing /usr/lib/pymodules/python2.7/openshot/classes/clip.py with
> this fixed my problem:
>
> - if prop_diff != 0:
> + if prop_diff != 0 and clip_length_frames > 0.0:
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/openshot/+bug/1154416/+subscriptions
>
> --
> Mailing list: https://launchpad.net/~openshot.bugs
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~openshot.bugs
> More help : https://help.launchpad.net/ListHelp
>
Hi,
Please report a bug following this FAQ : /answers. launchpad. net/openshot/ +faq/2197
https:/
You should update your version of MLT. Take a look at this other FAQ : /answers. launchpad. net/openshot/ +faq/1861
https:/
Thanks.
2013/3/13 Victor Trac <email address hidden>
> Public bug reported: pymodules/ python2. 7/openshot/ windows/ MainGTK. py", line item_activated project( file_to_ open) pymodules/ python2. 7/openshot/ windows/ MainGTK. py", line Open(file_ to_open) pymodules/ python2. 7/openshot/ classes/ project. py", line open_project( self, file_path) pymodules/ python2. 7/openshot/ classes/ open_project. py", object. RefreshXML( ) pymodules/ python2. 7/openshot/ classes/ project. py", line L(os.path. join(self. USER_DIR, "sequence.mlt")) pymodules/ python2. 7/openshot/ classes/ project. py", line 0].GenerateXML( dom, tractor1) pymodules/ python2. 7/openshot/ classes/ sequences. py", line GenerateXML( dom, multitrack, fps=fps) pymodules/ python2. 7/openshot/ classes/ track.py" , line 111, GenerateXML( dom, playlist, current_frame, pymodules/ python2. 7/openshot/ classes/ clip.py" , line 654, mposites( dom, current_frame, ending_frame, pymodules/ python2. 7/openshot/ classes/ clip.py" , line 754, ositeXML( dom, current_frame, end, "fade in", fps=fps) pymodules/ python2. 7/openshot/ classes/ clip.py" , line 829, keyframe_ values( "height" , current_frame, end_frame, pymodules/ python2. 7/openshot/ classes/ clip.py" , line 1026, pymodules/ python2. 7/openshot/ classes/ clip.py with this /bugs.launchpad .net/bugs/ 1154416 pymodules/ python2. 7/openshot/ windows/ MainGTK. py", line item_activated project( file_to_ open) pymodules/ python2. 7/openshot/ windows/ MainGTK. py", line Open(file_ to_open) pymodules/ python2. 7/openshot/ classes/ project. py", line open_project( self, file_path) pymodules/ python2. 7/openshot/ classes/ open_project. py", object. RefreshXML( ) pymodules/ python2. 7/openshot/ classes/ project. py", line L(os.path. join(self. USER_DIR, "sequence.mlt")) pymodules/ python2. 7/openshot/ classes/ project. py", line 0].GenerateXML( dom, tractor1) pymodules/ python2. 7/openshot/ classes/ sequences. py", GenerateXML( dom, multitrack, fps=fps) pymodules/ python2. 7/openshot/ classes/ track.py" , line GenerateXML( dom, playlist, current_frame, pymodules/ python2. 7/openshot/ classes/ clip.py" , line mposites( dom, current_frame, ending_frame, pymodules/ python2. 7/openshot/ classes/ clip.py" , line ositeXML( dom, current_frame, end, "fade in", fps=fps) pymodules/ python2. 7/openshot/ classes/ clip.py" , line keyframe_ values( "height" , current_frame, pymodules/ python2. 7/openshot/ classes/ clip.py" , line pymodules/ python2. 7/openshot/ classes/ clip.py with /bugs.launchpad .net/openshot/ +bug/1154416/ +subscriptions /launchpad. net/~openshot. bugs /launchpad. net/~openshot. bugs /help.launchpad .net/ListHelp
>
> 1) Ubuntu 12.10
> 2) apt-get install openshot
> 3) Openshot 1.4.3
> 4) melt 0.8.0
>
> I was adding a still image to a track and messing with the fades. I'm
> not sure what happened, but OpenShot crashed. It must have saved the
> project right before the crash, because all subsequent tries to open the
> file resulted in OpenShot crashing. Running OpenShot from the command
> line showed a ZeroDivisionError:
>
> Traceback (most recent call last):
> File "/usr/lib/
> 881, in recent_
> self.open_
> File "/usr/lib/
> 886, in open_project
> self.project.
> File "/usr/lib/
> 347, in Open
> open_project.
> File "/usr/lib/
> line 123, in open_project
> project_
> File "/usr/lib/
> 287, in RefreshXML
> self.GenerateXM
> File "/usr/lib/
> 258, in GenerateXML
> self.sequences[
> File "/usr/lib/
> 232, in GenerateXML
> MyTrack.
> File "/usr/lib/
> in GenerateXML
> current_frame = MyClip.
> fps=fps)
> File "/usr/lib/
> in GenerateXML
> self.GenerateCo
> preview_mode, fps=fps)
> File "/usr/lib/
> in GenerateComposites
> self.CreateComp
> File "/usr/lib/
> in CreateCompositeXML
> h1, h2 = self.get_
> fps, clip_length_frames, kf_start, kf_end)
> File "/usr/lib/
> in get_keyframe_values
> units = prop_diff / clip_length_frames
> ZeroDivisionError: float division by zero
>
> Editing /usr/lib/
> fixed my problem:
>
> - if prop_diff != 0:
> + if prop_diff != 0 and clip_length_frames > 0.0:
>
> ** Affects: openshot
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are a member of OpenShot
> Bugs, which is subscribed to OpenShot Video Editor.
> https:/
>
> Title:
> ZeroDivisionError: float division by zero
>
> Status in OpenShot Video Editor:
> New
>
> Bug description:
> 1) Ubuntu 12.10
> 2) apt-get install openshot
> 3) Openshot 1.4.3
> 4) melt 0.8.0
>
> I was adding a still image to a track and messing with the fades. I'm
> not sure what happened, but OpenShot crashed. It must have saved the
> project right before the crash, because all subsequent tries to open
> the file resulted in OpenShot crashing. Running OpenShot from the
> command line showed a ZeroDivisionError:
>
> Traceback (most recent call last):
> File "/usr/lib/
> 881, in recent_
> self.open_
> File "/usr/lib/
> 886, in open_project
> self.project.
> File "/usr/lib/
> 347, in Open
> open_project.
> File "/usr/lib/
> line 123, in open_project
> project_
> File "/usr/lib/
> 287, in RefreshXML
> self.GenerateXM
> File "/usr/lib/
> 258, in GenerateXML
> self.sequences[
> File "/usr/lib/
> line 232, in GenerateXML
> MyTrack.
> File "/usr/lib/
> 111, in GenerateXML
> current_frame = MyClip.
> fps=fps)
> File "/usr/lib/
> 654, in GenerateXML
> self.GenerateCo
> preview_mode, fps=fps)
> File "/usr/lib/
> 754, in GenerateComposites
> self.CreateComp
> File "/usr/lib/
> 829, in CreateCompositeXML
> h1, h2 = self.get_
> end_frame, fps, clip_length_frames, kf_start, kf_end)
> File "/usr/lib/
> 1026, in get_keyframe_values
> units = prop_diff / clip_length_frames
> ZeroDivisionError: float division by zero
>
> Editing /usr/lib/
> this fixed my problem:
>
> - if prop_diff != 0:
> + if prop_diff != 0 and clip_length_frames > 0.0:
>
> To manage notifications about this bug go to:
> https:/
>
> --
> Mailing list: https:/
> Post to : <email address hidden>
> Unsubscribe : https:/
> More help : https:/
>
-- linuxevolution. wordpress. com/ openshotusers. com/ openshotusers. com/forum/ index.php /plus.google. com/u/0/ 111472725110173 916234/ posts>
Olivier
Cenwen un elfe sur la banquise/ an elve on the ice
Mon blog perso sur le multimédia, Ubuntu, Linux et OpenShot :
http://
Le forum d'Openshot où vous me trouverez : http://
http://
Nothing is lost until the last second.
The family motto : When we want, we can.
Astuces, Actualités, Logiciels, bref sur tout ce que je ne fais d'articles
dessus Google+ <https:/