linux-traipu team mailing list archive
-
linux-traipu team
-
Mailing list archive
-
Message #05500
[Bug 1012476] Re: Crash: Cannot import images in linetime
*** This bug is a duplicate of bug 923873 ***
https://bugs.launchpad.net/bugs/923873
Try opening the preferences window and then closing it again.
** This bug has been marked 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 UBUNTU -
AL - BR, which is subscribed to OpenShot Video Editor.
https://bugs.launchpad.net/bugs/1012476
Title:
Crash: Cannot import images in linetime
Status in OpenShot Video Editor:
New
Bug description:
OS: Ubuntu 12.04 (64bits)
Openshot Version: 1.4.2
libmlt Version: 0.7.6+git20120204-2
This happened everytime you add an image to a linetime. The bug is
that my locate is in Spanish and gtk use " , " and not " . " to
separate decimal numbers, the result is that
"float(preferences.Settings.general["imported_image_length"])" ends in
"float('7,0')" and not "float('7.0')" as it is expected in other
regions.
The output error is:
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/openshot/windows/MainGTK.py", line 1160, in motion_cb
self.motion_file_drag(wid, context, x, y, time)
File "/usr/lib/pymodules/python2.7/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.7/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
maybe this fix the problem:
float(preferences.Settings.general["imported_image_length"].replace(',','.'))
To manage notifications about this bug go to:
https://bugs.launchpad.net/openshot/+bug/1012476/+subscriptions
References