<p dir="ltr">Looks like a bug that I should look at. Will see. </p>
<div class="gmail_quote">Em 14/11/2014 15:29, "Lubomir I. Ivanov" <<a href="mailto:neolit123@gmail.com">neolit123@gmail.com</a>> escreveu:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 11 November 2014 23:30, Salvador Cuñat <<a href="mailto:salvador.cunat@gmail.com">salvador.cunat@gmail.com</a>> wrote:<br>
> Good night.<br>
><br>
> Yesterday I tried the last daily buid for win. Everything went fine, but<br>
> after saving the log it couldn't be reopened.<br>
> Tried on linux I've got this:<br>
><br>
> boret@imladris:~/subsurface$ ./subsurface<br>
> /home/boret/boret.xml:80819: parser error : Input is not proper UTF-8,<br>
> indicate encoding !<br>
> Bytes: 0xE4 0x27 0x20 0x2F<br>
>   <cylinder size='12.0 l' workpressure='200.0 bar' description='�' /><br>
><br>
> and with a little grep on the log:<br>
><br>
>   <cylinder size='15.0 l' workpressure='200.0 bar' description='15ℓ 200 bar'<br>
> start='195.0 bar' end='40.0 bar' /><br>
>   <cylinder size='12.0 l' workpressure='232.0 bar' description='12ℓ 232 bar'<br>
> start='200.0 bar' end='60.0 bar' /><br>
>   <cylinder size='12.0 l' workpressure='232.0 bar' description='12ℓ 232 bar'<br>
> start='215.0 bar' end='65.0 bar' /><br>
>   <cylinder size='12.0 l' workpressure='200.0 bar' description='�       L<br>
> 200 bar' start='190.0 bar' end='35.0 bar' /><br>
>   <cylinder size='12.0 l' workpressure='200.0 bar' description='�' /><br>
>   <cylinder size='12.0 l' workpressure='200.0 bar' description='4' /><br>
>   <cylinder size='12.0 l' workpressure='200.0 bar' description='&lt;' /><br>
>   <cylinder size='12.0 l' workpressure='200.0 bar' description='�?L 200 bar'<br>
> /><br>
>   <cylinder size='12.0 l' workpressure='200.0 bar' description='�?L 200 bar'<br>
> /><br>
><br>
> The last 6 tanks are from the added dive, only the first one was used, but<br>
> OSTC reports all of them, althoug inactive.<br>
><br>
> Tried latest git in linux worked fine, it seems a bad encoding for the "l"<br>
> thing in the windows side.<br>
><br>
<br>
just built master on Win32 and i was able to reproduce the bug.<br>
<br>
- load test0.xml<br>
- if you add one "15ℓ 200 bar" cylinder its OK.<br>
- but if you add a second "15ℓ 200 bar", the beginning of the<br>
description of the first cylinder gets corrupted (e.g. has �).<br>
(it can be seen on the UI)<br>
<br>
i think it happens after adding any second type of cylinder and<br>
regardless of the type of the first one.<br>
<br>
console shows:<br>
QAbstractItemModel::endInsertRows:  Invalid index ( 57 , 0 ) in model<br>
TankInfoModel(0x3200ebc8)<br>
<br>
i can try looking into that later tonight or tomorrow morning.<br>
<br>
lubomir<br>
--<br>
_______________________________________________<br>
subsurface mailing list<br>
<a href="mailto:subsurface@subsurface-divelog.org">subsurface@subsurface-divelog.org</a><br>
<a href="http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface" target="_blank">http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface</a><br>
</blockquote></div>