- Surface Interval is not coming through correctly. As far as I can tell, Mac DiveLog keeps the value in minutes, and MacDive is interpreting it as seconds. Do I need to go through and multiply everything by 60?
- Mac DiveLog has no concept of "Country"; there's "Location" and "Site", but I've been tacking the country onto the end of the location. When I went to import it, I get "Unknown Country" for everything. If I put a Country="XYZ" into each entry in the old log and then import, will MacDive pick that up correctly? Is there some way to fix this after import? Suggestions welcome.
- Temperature and pressure profile data does not seem to be imported. When I look at the Raw tab, all of the pressures are "0" and all of the temps are "32".
- Gear is not importing very well. I don't get any of the purchase info, it doesn't get the Manufacturer, etc., though it does seem to get serial numbers just fine.
- Some of the dives I'm reading in from the old .xml log are still on my computer (a D9). After I imported the Mac DiveLog data, I downloaded from the computer, but ended up with duplicate dives. I'd like to be able to merge those dives, but when I tried using "Join" I got some really funky data. That could be because of some of the above, but I'm wondering what is the correct order to do things.
Problems importing from old Mac DiveLog
-
- Posts: 5
- Joined: Thu Nov 27, 2014 4:38 am
- Dive Computer: Shearwater NERD 2
- Location: Urbana, IL US
- Contact:
Problems importing from old Mac DiveLog
I'm having a few problems importing from the old Mac DiveLog. I used the "DiveLog (.xml)" format for the import, but there are some things that are not coming through correctly. I'm glad to help debug, including sending in the old data file, and I'm happy to do some hand-editing of the old .xml file if I need to before importing if that's needed. I'm still at the stage that blowing away my database and starting over is just fine, so no worries there. Here's the list of issues so far:
- nick
- Site Admin
- Posts: 4376
- Joined: Sat Apr 12, 2008 8:33 am
- Dive Computer: Shearwater Teric
- Contact:
Re: Problems importing from old Mac DiveLog
I will need to confirm that.resnick wrote:Surface Interval is not coming through correctly. As far as I can tell, Mac DiveLog keeps the value in minutes, and MacDive is interpreting it as seconds. Do I need to go through and multiply everything by 60?
Could you not edit the sites after import?[*]Mac DiveLog has no concept of "Country"; there's "Location" and "Site", but I've been tacking the country onto the end of the location. When I went to import it, I get "Unknown Country" for everything. If I put a Country="XYZ" into each entry in the old log and then import, will MacDive pick that up correctly? Is there some way to fix this after import? Suggestions welcome.
Go to Sites, and you should be able to view them. The list view is probably the easiest, and you can multi-edit them so that you can bulk change the country for groups of sites.
If not, I can look at updating it to include a Country if this is required.
I will need the data file to investigate this.[*]Temperature and pressure profile data does not seem to be imported. When I look at the Raw tab, all of the pressures are "0" and all of the temps are "32".
I will need the data file to investigate this.[*]Gear is not importing very well. I don't get any of the purchase info, it doesn't get the Manufacturer, etc., though it does seem to get serial numbers just fine.
Join concatenates dives (ie to join two dives with a short surface interval), it does not merge existing dives. There is no way to do this right now sorry.[*]Some of the dives I'm reading in from the old .xml log are still on my computer (a D9). After I imported the Mac DiveLog data, I downloaded from the computer, but ended up with duplicate dives. I'd like to be able to merge those dives, but when I tried using "Join" I got some really funky data. That could be because of some of the above, but I'm wondering what is the correct order to do things.[/list]
Please email me your data file and I will investigate your other issues. I am sorry for the inconvenience.
Thanks
MacDive Support
-
- Posts: 5
- Joined: Thu Nov 27, 2014 4:38 am
- Dive Computer: Shearwater NERD 2
- Location: Urbana, IL US
- Contact:
Re: Problems importing from old Mac DiveLog
I'll send you my the data file at the support email address. On a couple of specifics:
Ah! That will work.nick wrote:Could you not edit the sites after import?resnick wrote:Mac DiveLog has no concept of "Country"; there's "Location" and "Site", but I've been tacking the country onto the end of the location. When I went to import it, I get "Unknown Country" for everything. If I put a Country="XYZ" into each entry in the old log and then import, will MacDive pick that up correctly? Is there some way to fix this after import? Suggestions welcome.
Go to Sites, and you should be able to view them. The list view is probably the easiest, and you can multi-edit them so that you can bulk change the country for groups of sites.
So the only choice is to delete the duplicates?nick wrote:Join concatenates dives (ie to join two dives with a short surface interval), it does not merge existing dives. There is no way to do this right now sorry.resnick wrote:Some of the dives I'm reading in from the old .xml log are still on my computer (a D9). After I imported the Mac DiveLog data, I downloaded from the computer, but ended up with duplicate dives. I'd like to be able to merge those dives, but when I tried using "Join" I got some really funky data. That could be because of some of the above, but I'm wondering what is the correct order to do things.
- nick
- Site Admin
- Posts: 4376
- Joined: Sat Apr 12, 2008 8:33 am
- Dive Computer: Shearwater Teric
- Contact:
Re: Problems importing from old Mac DiveLog
Yes, sorry. Merging is on my todo list.
-
- Posts: 5
- Joined: Thu Nov 27, 2014 4:38 am
- Dive Computer: Shearwater NERD 2
- Location: Urbana, IL US
- Contact:
Re: Problems importing from old Mac DiveLog
Looks like this one is a DiveLog bug. It is downloading the value as seconds instead of minutes. I'll hand fix that one.resnick wrote:Surface Interval is not coming through correctly. As far as I can tell, Mac DiveLog keeps the value in minutes, and MacDive is interpreting it as seconds. Do I need to go through and multiply everything by 60?
- nick
- Site Admin
- Posts: 4376
- Joined: Sat Apr 12, 2008 8:33 am
- Dive Computer: Shearwater Teric
- Contact:
Re: Problems importing from old Mac DiveLog
Apologies for the delay, I just walked in the door from work. I am fixing what I can right now, there are a few things missing (as you've noticed).
Give me a few minutes and I will send you a beta to try, that will hopefully resolve it.
I have already added an optional "Country", so if you like, you could include that in the XML as well as Location and Site, and it will read it. It's probably just easier to edit it in MacDive afterwards, but if you like hand editing XML as much as I do then it could be a nice option..
Give me a few minutes and I will send you a beta to try, that will hopefully resolve it.
I have already added an optional "Country", so if you like, you could include that in the XML as well as Location and Site, and it will read it. It's probably just easier to edit it in MacDive afterwards, but if you like hand editing XML as much as I do then it could be a nice option..
- nick
- Site Admin
- Posts: 4376
- Joined: Sat Apr 12, 2008 8:33 am
- Dive Computer: Shearwater Teric
- Contact:
Re: Problems importing from old Mac DiveLog
I've emailed you some details and a link to the beta.
-
- Posts: 5
- Joined: Thu Nov 27, 2014 4:38 am
- Dive Computer: Shearwater NERD 2
- Location: Urbana, IL US
- Contact:
Re: Problems importing from old Mac DiveLog
Apologies completely unnecessary; I can't thank you enough for your fast work on this.nick wrote:Apologies for the delay, I just walked in the door from work.
I could claim I did all of my edits in vi, but I used TextWrangler.nick wrote:I am fixing what I can right now, there are a few things missing (as you've noticed).
Give me a few minutes and I will send you a beta to try, that will hopefully resolve it.
I have already added an optional "Country", so if you like, you could include that in the XML as well as Location and Site, and it will read it. It's probably just easier to edit it in MacDive afterwards, but if you like hand editing XML as much as I do then it could be a nice option..

Thanks again for the lightning fast work!
- nick
- Site Admin
- Posts: 4376
- Joined: Sat Apr 12, 2008 8:33 am
- Dive Computer: Shearwater Teric
- Contact:
Re: Problems importing from old Mac DiveLog
Oh yeah, vi would have been a good answer! Second only to Emacs.
(See, you can't hide from this particular debate anywhere..)
(See, you can't hide from this particular debate anywhere..)