Fields missing in GUI after import

42 views
Skip to first unread message

cnjdk

unread,
Jun 21, 2020, 8:54:30 PM6/21/20
to Subsurface Divelog

Dear Subsurface developers

 

I am desparately trying to migrate the data for my some 250 dives into Subsurface from various sources. I am on Windows 10  x64, version 4.9.6 but the journey started at 4.9.4. My Suunto Vyper Novo only keeps data since 2019-08-20 but Suunto DM-5 keeps data back to 2019-03-29.  I can also find data back to 2018-07-01 in an CSV-export file from Diviac (https://logbook.diviac.com/home/) , the service to which I trusted my data after giving up on Scubaearth. (scubaearth.com/diver/diver-logbook.aspx?affiliateid=XXXXX).

 

Whether I import from a Diviac CSV export file or directly from a backup of the Suunto DM5 database, the problem is that the program seems to register dive duration and maximum depth in the list of dives but the corresponding fields do not show up in the GUI as for manually entered dives. See screen shots below:

 

Manually entered dive:

cnj.dk.Subsurface200622.2020-06-22_2.jpg


Imported dive:

cnj.dk.Subsurface200622.2020-06-22_1.jpg


This happens whether I import the dives from the Diviac export file, from the Suunto DM5 DB backup and even if I copy-paste the XML snippet representing an individual dive from  an import into a new subsurface log file and into the main log file.

 

Here are some data for you to reproduce the error:

  • cnjdivelog01sample.ssrf - My XML logfile with manually entered data up to dive no. 147 (removed all but the last 1o dives)
  • diviac-export-sampleWOprofile.csv - Export file from Diviac with the first 10 dives to be imported. 

If you import the last file, you will see the error. The following is a snippet of the XML-log file where you see the last manually entered dive and the first imported one. I cannot tell, what is wrong:


  • cnjdivelog01sample2.ssrf - extract of Subsurface XML log file
The error log in C:\Users\antro\AppData\Roaming\Subsurface\subsurface_err.log is empty (antro is my local user name)

In case you want to try with the Suunto DM5 database file directly, here is one with only the first 10 log files that I am trying to import. In my end, the result is the same as with Diviac export files:

  • DM420200622-sample.db
Even if it says DM4, I have a DM5, only upgraded from DM4.

Hope you can help. I am an old developer and even if I work the most in Windows I should be able to produce a Linux server and do some debugging but I have already spent much too much time on this issue so I hope that will not become necessary.

Yours
Claus from Denmark




 

cnjdivelog01sample.ssrf
diviac-export-sampleWOprofile.csv
cnjdivelog01sample2.ssrf
DM420200622-sample.db

Miika Turkia

unread,
Jun 22, 2020, 12:39:11 AM6/22/20
to Subsurface Divelog
Depth and duration have been moved to the Information tab. For some reason, this information is shown on the notes tab for manually added dives. We should fix this to be consistent.

cnjdk

unread,
Jun 22, 2020, 9:28:12 AM6/22/20
to Subsurface Divelog
My goodness, you are right, Miika. This must have been a case of me not being able to see the wood due to trees. Of course, it only makes sense to have an input field for depth and duration when you do not have a log file. Otherwise it is just derived information.  Thanks a lot.

Yours
Claus
Reply all
Reply to author
Forward
0 new messages