Re: 4.7.8: a couple of questions

2018-05-03 Thread Anton Lundin
On 03 May, 2018 - Davide DB wrote:

> On Wed, 2 May 2018 at 11:04, Anton Lundin  wrote:
> 
> >
> > Try to download them into a fresh logbook with the current desktop
> > version, to see what's happens then.
> >
> 
> I've just downloaded my dives on a fresh Win10 4.7.8 installation.
> As usual after few dives my Petrel quits with "error sending packet error".
> I saved some of them anyway and PO2 values are missing.
> This is how the petrel controller is recognized. File is attached.
> 
>  diveid='2e7067fb' dctype='CCR'>
> 
> There's no mention of O2 sensor.
> 
> These are all different pertel descriptions of the very same dive computer
> I found in my original logbook
> 
>  diveid='3db7eb77' dctype='CCR' no_o2sensors='1'>
>  diveid='52d4ba3e' dctype='CCR' no_o2sensors='3'>
>  diveid='a6e05a10' dctype='CCR'>
>  diveid='3db24900' dctype='CCR'>
> 
> Were pO2 samples download removed?

This is probably because we can't find any calibration values in your
computer. Did you get a warning:
"Disabled all O2 sensors due to a default calibration value." ?

I think the code should fall back to the sensor average po2 when we
won't get calibration values for the sensors, but we're not doing that
right now.


//Anton


-- 
Anton Lundin+46702-161604
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: 4.7.8: a couple of questions

2018-05-02 Thread Davide DB
On Wed, 2 May 2018 at 13:19, Anton Lundin  wrote:

> On 02 May, 2018 - Davide DB wrote:
>
> > On Wed, 2 May 2018 at 11:04, Anton Lundin  wrote:
> >
> > > > > What's happening when you're trying to merge them?
> > > > >
> > > >
> > > > The second dive (#175) disappear but the first dive remain
> unaffected (47
> > > > minutes).
> > >
> > > Can you export those two dives into a separate xml file and provide
> that
> > > for debugging?
> > >
> > > Are those two from the same dive computer, or are they from different?
> > > It might be that they get merged as two different dive computers on the
> > > same dive.
> > >
> >
> > Yes the same petrel controller of mine. A classic training session: dive
> -
> > quick debrief on the surface - dive again.
> > I exported them in this new file and I tried again with a Win desktop
> 4.7.8
> > and I get the same behaviour: the most recent dive disappears and the
> first
> > dive remains unaffected.
> > The file is attached.
> >
> > Thanks for looking into this.
>
> Ok, here's your problem:
>  serial='39117da9' firmware='38'/>
>  serial='39117da9' firmware='38'/>
>
>
> In one of the dives the computer is called "Shearwater Petrel" and in
> the other one its called "Shearwater Petrel 2". That causes the "merge"
> to be done as its two different computers that recorded the same dive.
>
> If i hack up the log file and change so both of them have the same name,
> they merge just fine.
>
>
> I guess that this name came from what model you selected during the
> download of the dives.
>
>
Ouch! Thanks.
I didn't notice the name because I was looking at deviceid instead. What's
the difference between model and id? Deviceid seems more reliable because
stays the same across the entire logbook.
Given that I miss pO2 samples too I will download everything from scratch
in one shot from desktop.

BTW this finding lead me to another question... I don't know if this could
be related to pO2 samples missing too.
During these months I made several download tests among BT legacy, BLE and
so on but I always had the same Petrel 2 since I bought my SF2 unit.
Looking into my logbook I find 4 different computers (deviceid it's the
same):






Where these differences originate from?
I even have a petrel 2 with one O2 sensor :(

Bye

--
davide
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: 4.7.8: a couple of questions

2018-05-02 Thread Anton Lundin
On 02 May, 2018 - Davide DB wrote:

> On Wed, 2 May 2018 at 11:04, Anton Lundin  wrote:
> 
> > > > What's happening when you're trying to merge them?
> > > >
> > >
> > > The second dive (#175) disappear but the first dive remain unaffected (47
> > > minutes).
> >
> > Can you export those two dives into a separate xml file and provide that
> > for debugging?
> >
> > Are those two from the same dive computer, or are they from different?
> > It might be that they get merged as two different dive computers on the
> > same dive.
> >
> 
> Yes the same petrel controller of mine. A classic training session: dive -
> quick debrief on the surface - dive again.
> I exported them in this new file and I tried again with a Win desktop 4.7.8
> and I get the same behaviour: the most recent dive disappears and the first
> dive remains unaffected.
> The file is attached.
> 
> Thanks for looking into this.

Ok, here's your problem:




In one of the dives the computer is called "Shearwater Petrel" and in
the other one its called "Shearwater Petrel 2". That causes the "merge"
to be done as its two different computers that recorded the same dive.

If i hack up the log file and change so both of them have the same name,
they merge just fine.


I guess that this name came from what model you selected during the
download of the dives.


//Anton


-- 
Anton Lundin+46702-161604
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: 4.7.8: a couple of questions

2018-05-02 Thread Davide DB
On Wed, 2 May 2018 at 11:04, Anton Lundin  wrote:

>
> Try to download them into a fresh logbook with the current desktop
> version, to see what's happens then.
>

I will do tonight



> > > - I merged some dives made during a ccr training. I cannot merge two of
> > > > them. There are about 11 minutes between them. Is there a time limit
> for
> > > > merging?
> > >
> > > It's not 11 minutes between those two, its 58 minutes.
> > >
> > > There's a warning if you're trying to merge dives with more than 30
> > > minutes between them.
> > >
> >
> > If I'm correct the first dive last 47 minutes hence from 3:54 PM + 47' I
> > surfaced at 4:41 PM then after a briefing of 11 minutes I went down again
> > at 4:52 PM for 13 minutes.
>
> Sorry, I can't read today.
>
> > > What's happening when you're trying to merge them?
> > >
> >
> > The second dive (#175) disappear but the first dive remain unaffected (47
> > minutes).
>
> Can you export those two dives into a separate xml file and provide that
> for debugging?
>
> Are those two from the same dive computer, or are they from different?
> It might be that they get merged as two different dive computers on the
> same dive.
>

Yes the same petrel controller of mine. A classic training session: dive -
quick debrief on the surface - dive again.
I exported them in this new file and I tried again with a Win desktop 4.7.8
and I get the same behaviour: the most recent dive disappears and the first
dive remains unaffected.
The file is attached.

Thanks for looking into this.

-- 
Davide
https://vimeo.com/bocio/videos


dives-to-be-merged.ssrf
Description: Binary data
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: 4.7.8: a couple of questions

2018-05-02 Thread Anton Lundin
On 02 May, 2018 - Davide DB wrote:

> On Wed, 2 May 2018 at 10:31, Anton Lundin  wrote:
> 
> > On 30 April, 2018 - Davide DB wrote:
> >
> > > Hi all,
> > >
> > > I was playing with 4.7.8 on Windows 7 and I noted a couple of things:
> > >
> > > - I cannot see anymore pO2 sensor from my Petrel controller. No average
> > pO2
> > > nor individual. On preference tab I have  individual and setpoint option
> > > checked nad the toolbar has O2 toggled
> > > The last time I saw them it was completely wrong. It seem I was the only
> > > one I reported this bug. Given that I changed my sensor I was curious to
> > > see if something changed...
> > >
> >
> > Hard to tell what's going on. The only thing I think we're seeing is
> > the setpoint of 0.7
> >
> > Can you export the dive as xml and post it here, for debugging and
> > analysis?
> >
> 
> Hi Anton,
> 
> Regarding the lacking of pO2 values...
> I saved my logbook to a local file and I gave it a quick look.
> My latest dives have no pO2 sample at all. Searching for computer type
> through the latest dives I found:
> 
> 137337 4:   diveid='220a811e' dctype='CCR' no_o2sensors='3'>
> 138227 4:   diveid='2e7067fb' dctype='CCR' no_o2sensors='3'>
> 141292 4:   diveid='5090ac0c' dctype='CCR'>
> 141392 4:   diveid='4a0f968a' dctype='CCR'>
> 141728 4:   diveid='4316ab17' dctype='CCR'>
> 142043 4:   diveid='57912a71' dctype='CCR'>
> 142596 4:   diveid='493f5552' dctype='CCR'>
> 143270 4:   diveid='3db24900' dctype='CCR'>
> 
> Of course the computer is always the same: my reb Petrel controller.
> I cannot remember which Subsurface version I used to download them but I'm
> pretty sure the last six dives were downloaded with the mobile version.

Try to download them into a fresh logbook with the current desktop
version, to see what's happens then.

You can open your git repo with a git client, and check what version you
used to download it with, as we write the version in the commit message.

> > - I merged some dives made during a ccr training. I cannot merge two of
> > > them. There are about 11 minutes between them. Is there a time limit for
> > > merging?
> >
> > It's not 11 minutes between those two, its 58 minutes.
> >
> > There's a warning if you're trying to merge dives with more than 30
> > minutes between them.
> >
> 
> If I'm correct the first dive last 47 minutes hence from 3:54 PM + 47' I
> surfaced at 4:41 PM then after a briefing of 11 minutes I went down again
> at 4:52 PM for 13 minutes.

Sorry, I can't read today.

> > What's happening when you're trying to merge them?
> >
> 
> The second dive (#175) disappear but the first dive remain unaffected (47
> minutes).

Can you export those two dives into a separate xml file and provide that
for debugging?

Are those two from the same dive computer, or are they from different?
It might be that they get merged as two different dive computers on the
same dive.


//Anton


-- 
Anton Lundin+46702-161604
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: 4.7.8: a couple of questions

2018-05-02 Thread Davide DB
On Wed, 2 May 2018 at 10:31, Anton Lundin  wrote:

> On 30 April, 2018 - Davide DB wrote:
>
> > Hi all,
> >
> > I was playing with 4.7.8 on Windows 7 and I noted a couple of things:
> >
> > - I cannot see anymore pO2 sensor from my Petrel controller. No average
> pO2
> > nor individual. On preference tab I have  individual and setpoint option
> > checked nad the toolbar has O2 toggled
> > The last time I saw them it was completely wrong. It seem I was the only
> > one I reported this bug. Given that I changed my sensor I was curious to
> > see if something changed...
> >
>
> Hard to tell what's going on. The only thing I think we're seeing is
> the setpoint of 0.7
>
> Can you export the dive as xml and post it here, for debugging and
> analysis?
>

Hi Anton,

Regarding the lacking of pO2 values...
I saved my logbook to a local file and I gave it a quick look.
My latest dives have no pO2 sample at all. Searching for computer type
through the latest dives I found:

137337 4:  
138227 4:  
141292 4:  
141392 4:  
141728 4:  
142043 4:  
142596 4:  
143270 4:  

Of course the computer is always the same: my reb Petrel controller.
I cannot remember which Subsurface version I used to download them but I'm
pretty sure the last six dives were downloaded with the mobile version.

> - I merged some dives made during a ccr training. I cannot merge two of
> > them. There are about 11 minutes between them. Is there a time limit for
> > merging?
>
> It's not 11 minutes between those two, its 58 minutes.
>
> There's a warning if you're trying to merge dives with more than 30
> minutes between them.
>

If I'm correct the first dive last 47 minutes hence from 3:54 PM + 47' I
surfaced at 4:41 PM then after a briefing of 11 minutes I went down again
at 4:52 PM for 13 minutes.


> What's happening when you're trying to merge them?
>

The second dive (#175) disappear but the first dive remain unaffected (47
minutes).



> Davide
>
https://vimeo.com/bocio/videos
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: 4.7.8: a couple of questions

2018-05-02 Thread Anton Lundin
On 30 April, 2018 - Davide DB wrote:

> Hi all,
> 
> I was playing with 4.7.8 on Windows 7 and I noted a couple of things:
> 
> - I cannot see anymore pO2 sensor from my Petrel controller. No average pO2
> nor individual. On preference tab I have  individual and setpoint option
> checked nad the toolbar has O2 toggled
> The last time I saw them it was completely wrong. It seem I was the only
> one I reported this bug. Given that I changed my sensor I was curious to
> see if something changed...
> 

Hard to tell what's going on. The only thing I think we're seeing is
the setpoint of 0.7

Can you export the dive as xml and post it here, for debugging and
analysis?


> [image: subsurface-profile.JPG]
> 
> - I merged some dives made during a ccr training. I cannot merge two of
> them. There are about 11 minutes between them. Is there a time limit for
> merging?

It's not 11 minutes between those two, its 58 minutes.

There's a warning if you're trying to merge dives with more than 30
minutes between them.


What's happening when you're trying to merge them?


//Anton


-- 
Anton Lundin+46702-161604
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: 4.7.8: a couple of questions

2018-05-01 Thread Davide DB
Hi all,

Is it my fault or should I file a issue on Github?

Thanks

davide@mobile
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface