[CinCV TNG] CinGG 5.1 - Bad loaded labels and in point of moved project (reason is different float point mark)

Phyllis Smith phylsmith2017 at gmail.com
Wed May 9 18:34:12 CEST 2018


I agree that this would be "quite unpleasant".  It looks like the locale on
your notebook is somehow different than on the PC.  But I do not know
exactly which variable, maybe LC_NUMERIC, is causing your issue.  I have
changed my locale from English to either Italian or German, started up
cinelerra, and still HAVE NOT BEEN ABLE TO GENERATE COMMAS as separators
instead of decimals in the floating point Label values.  In other words, I
do not understand how you got commas there initially.  Below is what I did
to work on the issue:

root at denver cinelerra]# *export LANG="de_DE.UTF-8"*
[root at denver cinelerra]# *locale*
LANG=de_DE.UTF-8
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL=

Ran cinelerra, saved the xml, and see periods as below in the xml:

<LABELS>
<LABEL TIME=9.2759333333333327e+00 TEXTSTR=""></LABEL>
<LABEL TIME=1.4848166666666668e+01 TEXTSTR=""></LABEL>
<LABEL TIME=2.1521500000000000e+01 TEXTSTR=""></LABEL>
<LABEL TIME=2.7861166666666666e+01 TEXTSTR=""></LABEL>
</LABELS>

Is there some reason that you have commas as separators and I can not
reproduce?
I am at a loss as to the cause.  Maybe someone knows of a workaround?
gg/Phyllis

Before sending mail I found reason:
> float point mark. When I substituted "," -> "." it started to work on
> destination PC also.
> ====
>
> I made project on notebook, then moved project to PC.
> Everything was OK except some labels and in/out points.
> ...
> The <LABELS> section in project was:
>
> <LABELS>
> <LABEL TIME=4,9592000000000002e+02 TEXTSTR=""></LABEL>
> <LABEL TIME=7,4232000000000005e+02 TEXTSTR=""></LABEL>
> <LABEL TIME=901 TEXTSTR=""></LABEL>
> <LABEL TIME=1,8691600000000001e+03 TEXTSTR=""></LABEL>
> <LABEL TIME=1,9625200000000000e+03 TEXTSTR=""></LABEL>
> <LABEL TIME=2,2421999999999998e+03 TEXTSTR=""></LABEL>
> <LABEL TIME=2,3132800000000002e+03 TEXTSTR=""></LABEL>
> <LABEL TIME=2,5083600000000001e+03 TEXTSTR=""></LABEL>
> <LABEL TIME=2,5295999999999999e+03 TEXTSTR=""></LABEL>
> <LABEL TIME=4,5314399999999996e+03 TEXTSTR=""></LABEL>
> <LABEL TIME=4,8017600000000002e+03 TEXTSTR=""></LABEL>
> <LABEL TIME=5846 TEXTSTR=""></LABEL>
> </LABELS>
>
> I've noticed the only labels that remained after opening project on PC was:
> <LABEL TIME=901 TEXTSTR=""></LABEL>
> <LABEL TIME=5846 TEXTSTR=""></LABEL>
>
> other was not loaded. in point was in the same format:
> IN_POINT=4,9592000000000002e+02
> Out point was OK:
> OUT_POINT=5846
>
> It's quite unpleasant.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cinelerra-cv.org/pipermail/cinelerra/attachments/20180509/648dfdde/attachment.html>


More information about the Cinelerra mailing list