Problems with planner

Willem Ferguson willemferguson at zoology.up.ac.za
Sat Dec 30 11:35:17 PST 2017


On 30/12/2017 09:45, Robert Helling wrote:
> Hi,
>
>> On 29. Dec 2017, at 20:45, Willem Ferguson 
>> <willemferguson at zoology.up.ac.za 
>> <mailto:willemferguson at zoology.up.ac.za>> wrote:
>>
>> The main point is that the right-click (context menu) delete on dive 
>> planner points is broken and needs some TLC.
>
> following Dirk’s model, I invested some time gained by insomnia in 
> this bug. In the end, the fix is a single line. Please see
>
> https://github.com/Subsurface-divelog/subsurface/pull/999
>
> Best
> Robert

Thank you very much, Robert. I hope you do not have too many sleepless 
nights.

Cylinder pressure graph problem appears to be solved. There is a 
remaining part of the problem that needs solving. I hope it is repeatable.

Using V4.7.6-6

1) Attached find a ssrf dive plan saved as xml.

2) Open the dive plan from the dive list in Subsurface. It results in 
profile shown in "dive plan opened.png".

3) open in dive planner by selecting "log -> edit in planner". It 
results in "edit in planner.png". Everything ok.

4) delete the three waypoints on the ascent part of the profile. 
Cylinder pressure remains ok.

5) Open a real dive (i.e. previously loaded from dive computer) in the 
dive list that is one or two dives lower down on the list, compared to 
the above dive plan. In my case this results in the profile shown in 
"profile of previous dive.png". The profile is totally broken. On my 
machine this problem is totally repeatable. Only way to solve problem is 
to restart Subsurface.

Kind regards,

willem



-- 
This message and attachments are subject to a disclaimer.
Please refer to 
http://upnet.up.ac.za/services/it/documentation/docs/004167.pdf for full 
details.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20171230/75d58945/attachment-0001.html>
-------------- next part --------------
<divelog program='subsurface' version='3'>
<settings>
  <autogroup state='1' />
</settings>
<divesites>
</divesites>
<dives>
<dive number='418' date='2017-12-30' time='21:46:08' duration='16:24 min'>
  <notes><div><b>DISCLAIMER / WARNING: THIS IS A NEW IMPLEMENTATION OF THE VPM-B ALGORITHM AND A DIVE PLANNER IMPLEMENTATION BASED ON THAT WHICH HAS RECEIVED ONLY A LIMITED AMOUNT OF TESTING. WE STRONGLY RECOMMEND NOT TO PLAN DIVES SIMPLY BASED ON THE RESULTS GIVEN HERE.</b><br></div><div><b>Subsurface (4.7.6.6) dive plan</b> created on 2017/12/30</b><br>Runtime: 16min<br></div><table><thead><tr><th></th><th>depth</th><th style='padding-left: 10px;'>duration</th><th style='padding-left: 10px;'>runtime</th><th style='padding-left: 10px; float: left;'>gas</th></tr></thead><tbody style='float: left;'><tr><td style='padding-left: 10px; float: right;'>&#10136;</td><td style='padding-left: 10px; float: right;'> 15m</td><td style='padding-left: 10px; float: right;'>  1min</td><td style='padding-left: 10px; float: right;'>  1min</td><td style='padding-left: 10px; color: red; float: left;'><b>EAN48</b></td></tr><tr><td style='padding-left: 10px; float: right;'>&#10137;</td><td style='padding-left: 10px; float: right;'> 15m</td><td style='padding-left: 10px; float: right;'>  9min</td><td style='padding-left: 10px; float: right;'> 10min</td><td style='padding-left: 10px; color: red; float: left;'><b>(33/27)</b></td></tr><tr><td style='padding-left: 10px; float: right;'>&#10136;</td><td style='padding-left: 10px; float: right;'> 34m</td><td style='padding-left: 10px; float: right;'>  1min</td><td style='padding-left: 10px; float: right;'> 11min</td><td>&nbsp;</td></tr><tr><td style='padding-left: 10px; float: right;'>&#10137;</td><td style='padding-left: 10px; float: right;'> 34m</td><td style='padding-left: 10px; float: right;'>  2min</td><td style='padding-left: 10px; float: right;'> 13min</td><td>&nbsp;</td></tr><tr><td style='padding-left: 10px; float: right;'>&#10138;</td><td style='padding-left: 10px; float: right;'> 24m</td><td style='padding-left: 10px; float: right;'>  1min</td><td style='padding-left: 10px; float: right;'> 14min</td><td style='padding-left: 10px; color: red; float: left;'><b>EAN48</b></td></tr><tr><td style='padding-left: 10px; float: right;'>&#10138;</td><td style='padding-left: 10px; float: right;'>  6m</td><td style='padding-left: 10px; float: right;'>  2min</td><td style='padding-left: 10px; float: right;'> 16min</td><td style='padding-left: 10px; color: red; float: left;'><b>oxygen</b></td></tr><tr><td style='padding-left: 10px; float: right;'>&#10138;</td><td style='padding-left: 10px; float: right;'>  0m</td><td style='padding-left: 10px; float: right;'>  1min</td><td style='padding-left: 10px; float: right;'> 16min</td><td>&nbsp;</td></tr></tbody></table><br><div>CNS: 8%<br>OTU: 23<br></div><div>Deco model: VPM-B at +3 conservatism<br>ATM pressure: 1013mbar (0m)<br></div><div>Gas consumption (based on SAC 21|15ℓ/min):<br>558ℓ/51bar of <span style='color: red;'><b>EAN48</b></span> (66ℓ/6bar in planned ascent)<br>307ℓ/28bar of <span style='color: red;'><b>(33/27)</b></span> (57ℓ/5bar in planned ascent)<br>&nbsp;&mdash; <span style='color: green;'>Minimum gas</span> (based on 2.0xSAC/+1min at 34m): 							297ℓ/27bar<span style='color: grey;'>/&Delta;:+130bar</span><br>11ℓ/1bar of <span style='color: red;'><b>oxygen</b></span> (11ℓ/2bar in planned ascent)<br></div></notes>
  <cylinder size='11.094 l' workpressure='206.843 bar' description='AL80' o2='48.0%' start='206.843 bar' depth='24.0 m' />
  <cylinder size='11.094 l' workpressure='180.0 bar' description='AL80' o2='33.0%' he='27.0%' start='180.0 bar' end='151.726 bar' depth='42.0 m' />
  <cylinder size='11.094 l' workpressure='206.843 bar' description='AL80' o2='100.0%' start='206.843 bar' end='205.867 bar' depth='6.0 m' />
  <divecomputer model='planned dive'>
  <depth max='34.0 m' mean='17.635 m' />
  <surface pressure='1.013 bar' />
  <water salinity='1000 g/l' />
  <event time='10:01 min' type='25' value='1769505' name='gaschange' cylinder='1' o2='33.0%' he='27.0%' />
  <event time='14:01 min' type='11' value='48' name='gaschange' cylinder='0' o2='48.0%' />
  <event time='15:49 min' type='11' value='100' name='gaschange' cylinder='2' o2='100.0%' />
  <sample time='0:00 min' depth='0.0 m' pressure='206.843 bar' />
  <sample time='1:29 min' depth='15.0 m' pressure='201.936 bar' />
  <sample time='10:00 min' depth='15.0 m' pressure='162.001 bar' />
  <sample time='10:01 min' depth='15.0 m' />
  <sample time='11:00 min' depth='34.0 m' pressure='173.567 bar' />
  <sample time='13:00 min' depth='34.0 m' pressure='156.957 bar' />
  <sample time='14:00 min' depth='24.0 m' pressure='151.726 bar' />
  <sample time='14:01 min' depth='24.0 m' />
  <sample time='15:48 min' depth='6.0 m' pressure='156.124 bar' />
  <sample time='15:49 min' depth='6.0 m' />
  <sample time='16:24 min' depth='0.0 m' pressure='205.867 bar' />
  </divecomputer>
</dive>
</dives>
</divelog>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: profile of previous dive.png
Type: image/png
Size: 46354 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20171230/75d58945/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: edit in planner.png
Type: image/png
Size: 48249 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20171230/75d58945/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dive plan opened.png
Type: image/png
Size: 50209 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20171230/75d58945/attachment-0005.png>


More information about the subsurface mailing list