Dive Log Missing and Unaccessible

32 views
Skip to first unread message

Jason Mitchell

unread,
Dec 4, 2016, 9:19:15 PM12/4/16
to Subsurface Divelog
I am using Subsurface 4.5.6 on Windows 10. I recently went to add dives to my log and I received the error "failed to parse" and my entire dive log is not found. I'm a relatively new user, so this may be something relatively simple to fix. I'm a little concerned that I have just lost my last 30 or 40 dives though. Please help! 

Jason

Dirk Hohndel

unread,
Dec 4, 2016, 9:51:45 PM12/4/16
to subsurfac...@googlegroups.com, Subsurface Divelog
Is this just on local disk or stored in the Subsurface cloud storage?

--
From my phone

From: Jason Mitchell
Sent: Sun Dec 04 18:19:14 PST 2016
To: Subsurface Divelog
Subject: Dive Log Missing and Unaccessible

Jason Mitchell

unread,
Dec 5, 2016, 12:31:36 AM12/5/16
to subsurfac...@googlegroups.com
It is on the local disk. I don't believe I have ever set up any type of cloud for subsurface.

Jason Mitchell
PhD Student - Ethnomusicology
The Florida State University

--
You received this message because you are subscribed to a topic in the Google Groups "Subsurface Divelog" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/subsurface-divelog/SIPpci1Ll-w/unsubscribe.
To unsubscribe from this group and all its topics, send an email to subsurface-divelog+unsub...@googlegroups.com.
To post to this group, send email to subsurface-divelog@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/subsurface-divelog/7a7724d0-d581-4cda-9888-d67a2fbf58a8%40typeapp.com.

For more options, visit https://groups.google.com/d/optout.

Dirk Hohndel

unread,
Dec 5, 2016, 8:36:38 AM12/5/16
to subsurfac...@googlegroups.com
Can you send me the XML file? I'm curious what got broken...

/D

--
From my phone

From: Jason Mitchell
Sent: Sun Dec 04 21:31:35 PST 2016
To: subsurfac...@googlegroups.com
Subject: Re: Dive Log Missing and Unaccessible

Robert C. Helling

unread,
Dec 5, 2016, 8:39:09 AM12/5/16
to Subsurface Divelog


Am Montag, 5. Dezember 2016 14:36:38 UTC+1 schrieb Dirk:
Can you send me the XML file? I'm curious what got broken...

There should also be a backup file with the same file name but extension .bak. You might be able to recover most of your log from there.

Best
Robert 

Jason Mitchell

unread,
Dec 6, 2016, 9:17:10 PM12/6/16
to subsurfac...@googlegroups.com
Pardon my ignorance here, but I'm not finding my .xml file or the .bak? I'm looking in the program folder for the software but don't find it. Where would the be default save location for the data?

Jason Mitchell
PhD Student - Ethnomusicology
The Florida State University

--
You received this message because you are subscribed to a topic in the Google Groups "Subsurface Divelog" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/subsurface-divelog/SIPpci1Ll-w/unsubscribe.
To unsubscribe from this group and all its topics, send an email to subsurface-divelog+unsub...@googlegroups.com.
To post to this group, send email to subsurface-divelog@googlegroups.com.

Tomaz Canabrava

unread,
Dec 7, 2016, 5:10:40 AM12/7/16
to Subsurface Divelog
Jason,



On Wed, Dec 7, 2016 at 3:17 AM, Jason Mitchell <mitchell.j...@gmail.com> wrote:
Pardon my ignorance here, but I'm not finding my .xml file or the .bak? I'm looking in the program folder for the software but don't find it. Where would the be default save location for the data?

Jason Mitchell
PhD Student - Ethnomusicology
The Florida State University

On Mon, Dec 5, 2016 at 8:39 AM, 'Robert C. Helling' via Subsurface Divelog <subsurface-divelog@googlegroups.com> wrote:


Am Montag, 5. Dezember 2016 14:36:38 UTC+1 schrieb Dirk:
Can you send me the XML file? I'm curious what got broken...

There should also be a backup file with the same file name but extension .bak. You might be able to recover most of your log from there.

Shouldn't be on the application folder.
Can you look into preferences, there's the default folder there, in an option.
if it's not there, it should be in your home folder.
 

Best
Robert 

--
You received this message because you are subscribed to a topic in the Google Groups "Subsurface Divelog" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/subsurface-divelog/SIPpci1Ll-w/unsubscribe.
To unsubscribe from this group and all its topics, send an email to subsurface-divelog+unsubscribe@googlegroups.com.

To post to this group, send email to subsurface-divelog@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Subsurface Divelog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to subsurface-divelog+unsub...@googlegroups.com.

To post to this group, send email to subsurface-divelog@googlegroups.com.

Jason Mitchell

unread,
Dec 8, 2016, 11:19:23 AM12/8/16
to subsurfac...@googlegroups.com
Found it. Sorry. Here is the .xml file.


Jason Mitchell
PhD Student - Ethnomusicology
The Florida State University

Jason,



To unsubscribe from this group and stop receiving emails from it, send an email to subsurface-divelog+unsubscribe@googlegroups.com.

To post to this group, send email to subsurface-divelog@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "Subsurface Divelog" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/subsurface-divelog/SIPpci1Ll-w/unsubscribe.
To unsubscribe from this group and all its topics, send an email to subsurface-divelog+unsub...@googlegroups.com.

To post to this group, send email to subsurface-divelog@googlegroups.com.
Jason.xml

Robert C. Helling

unread,
Dec 8, 2016, 11:47:32 AM12/8/16
to Subsurface Divelog


Am Donnerstag, 8. Dezember 2016 17:19:23 UTC+1 schrieb Jason Mitchell:
Found it. Sorry. Here is the .xml file.


No surprise, Subsurface cannot parse this file: It only contains a long list of zero bytes. I have no idea how that came about. 

The bad news is: there is no information left to recover in this file.

Best
Robert 

Linus Torvalds

unread,
Dec 8, 2016, 1:26:28 PM12/8/16
to subsurfac...@googlegroups.com
On Thu, Dec 8, 2016 at 8:47 AM, 'Robert C. Helling' via Subsurface
Divelog <subsurfac...@googlegroups.com> wrote:
>
> No surprise, Subsurface cannot parse this file: It only contains a long list
> of zero bytes. I have no idea how that came about.

Almost certainly filesystem corruption after unclean shutdown. Most
"robust" filesystems aren't actually going to save your data, they are
just going to recover their own metadata so that there is no internal
FS corruption.

We could try to be better about things, and write the file to a
temporary file, then do "fsync()", then move the temporary to the
final location. But what we do instead is to just save the previous
version.

Jason - did you find a "Jason.bak" file or something like that? Save
that away, and then copy that over the corrupted Jason.xml file and
you should have your old data.

Linus
Reply all
Reply to author
Forward
0 new messages