Suunto Downloader

3rd party extensions (phpDivingLog, dive computer downloader,...)
James Connell
Posts: 103
Joined: Fri Dec 08, 2006 05:33
Location: Alaska, USA
Contact:

Post by James Connell »

What version of the downloader are you using?
Version 2.0.1.19 has a bug - get the latest version from my site.
The current release is V 2.2.1.29

HTH
JConn Inv.
Software Tools for Suunto Dive Computers
http://LiquidImagePhoto.com
Mjorud
Posts: 19
Joined: Sun Dec 03, 2006 18:36
Location: Norway

Post by Mjorud »

I tried it with 2.2.1.22. Have installed 2.2.1.29 now and I still get the same errormessage (when importing the xml file). Have e-mailed the xml to Sven now. Hope he figures out whats wrong...

And maybe I should go get a new interface.. ;)
Jon Kristian Mjørud
Mjorud
Posts: 19
Joined: Sun Dec 03, 2006 18:36
Location: Norway

Post by Mjorud »

I got it to work.
Just removed the dives I did not need from the XML file... :)
Thank you for the heads up on the debug-mode. :)
Jon Kristian Mjørud
divinglog
Site Admin
Posts: 5768
Joined: Sat Feb 08, 2003 21:02
Location: Coburg
Contact:

Post by divinglog »

Great :)
If you want you can send me nevertheless the complete XML file (if you still have it) so I can check if there is some problem in the XML import routine in Diving Log.
James Connell
Posts: 103
Joined: Fri Dec 08, 2006 05:33
Location: Alaska, USA
Contact:

Post by James Connell »

Mjorud wrote:I tried it with 2.2.1.22. Have installed 2.2.1.29 now and I still get the same errormessage (when importing the xml file). Have e-mailed the xml to Sven now. Hope he figures out whats wrong...

And maybe I should go get a new interface.. ;)
Might help. I have one for sale :angelic:

Would you send me the XML file? Please tell me which dives were rejected.
You can run the downloader from the command line if you want or there is a way to save the file from DiveLog also.
JConn Inv.
Software Tools for Suunto Dive Computers
http://LiquidImagePhoto.com
divinglog
Site Admin
Posts: 5768
Joined: Sat Feb 08, 2003 21:02
Location: Coburg
Contact:

Post by divinglog »

Thank you Jon for the file. I checked it and the problem is on dive 13 where the data seems to be corrupt. The error is caused by the incorrect entry time of 1:255

Code: Select all

<DiveData>
    <SurfaceIntervalMinutes>255</SurfaceIntervalMinutes>
    <SurfaceIntervalHours>255</SurfaceIntervalHours>
    <DiveNumber>254</DiveNumber>
    <SampleInterval>0</SampleInterval>
    <PersonalSetting>0</PersonalSetting>
    <AltitudeSetting>0</AltitudeSetting>
    <StartingPressure>0</StartingPressure>
    <GasMix>0</GasMix>
    <FO2>0</FO2>
    <StartingAirTemp>254</StartingAirTemp>
    <Year>255</Year>
    <Month>0</Month>
    <Day>255</Day>
    <Hour>1</Hour>
    <Minute>255</Minute>
         <DiveProfile>
             <Datum>0</Datum>
             <Datum>0</Datum>
             <Datum>-1</Datum>
             <Datum>0</Datum>
Mjorud
Posts: 19
Joined: Sun Dec 03, 2006 18:36
Location: Norway

Post by Mjorud »

Okay. Thank you for figuring it out. :)
Is this one of the things that just happens without any explaination?

James, I can send you the XML if you still want it.
Jon Kristian Mjørud
divinglog
Site Admin
Posts: 5768
Joined: Sat Feb 08, 2003 21:02
Location: Coburg
Contact:

Post by divinglog »

I think the transfer was interupted and the Suunto downloader received incorrect data. Maybe the problem was the interface.
Mjorud
Posts: 19
Joined: Sun Dec 03, 2006 18:36
Location: Norway

Post by Mjorud »

That could be. I was using a busted Custom Idea USB Interface that I had to hold in place on the computer. Easy to loose connection. Anyway, I have ordered a new Suunto interface now. :)
Jon Kristian Mjørud
fatuus
Posts: 36
Joined: Sat Apr 07, 2007 14:53
Location: Sweden
Contact:

Error Reading XML file

Post by fatuus »

I have a similar problem.
Get the message "Error Reading XML file". I sent the XML file to you Sven and James.
I use the latest SuuntoDownload 2.2.1.29 with Suunto USB cable.
/Erik
divinglog
Site Admin
Posts: 5768
Joined: Sat Feb 08, 2003 21:02
Location: Coburg
Contact:

Post by divinglog »

Hi Erik

In your case the problem is the "Personal Info" setting of your Suunto and because the XML file is saved as ANSI file and not as true UTF-8 file. To fix your problem quickly, you must change in the personal info of your Suunto with the Suunto Dive Manager the word "Göran" to "Goeran" (to replace the "ö"). Then it should work.

James, I just saw that the XML file is saved as ANSI file (although the encoding in the first line says UTF-8 ). You can see this if you open the file in Notepad and choose "Save as". This is no problem as long as no special characters are in the file, like in this case. But I think the only way this can happen is via the personal setting field.

Sven
James Connell
Posts: 103
Joined: Fri Dec 08, 2006 05:33
Location: Alaska, USA
Contact:

Post by James Connell »

divinglog wrote:James, I just saw that the XML file is saved as ANSI file (although the encoding in the first line says UTF-8 ). You can see this if you open the file in Notepad and choose "Save as". This is no problem as long as no special characters are in the file, like in this case. But I think the only way this can happen is via the personal setting field.

Sven
OK, Sven. I'll try to fix it. The compiler reports it as UTF-8, so I'm not sure where to start looking - but I'll think of something. I'm not sure I'll produce a fix in the current version though, I'm hip deep in the D model upgrade.
JConn Inv.
Software Tools for Suunto Dive Computers
http://LiquidImagePhoto.com
fatuus
Posts: 36
Joined: Sat Apr 07, 2007 14:53
Location: Sweden
Contact:

Post by fatuus »

divinglog wrote:Hi Erik

In your case the problem is the "Personal Info" setting of your Suunto and because the XML file is saved as ANSI file and not as true UTF-8 file. To fix your problem quickly, you must change in the personal info of your Suunto with the Suunto Dive Manager the word "Göran" to "Goeran" (to replace the "ö"). Then it should work.

Sven
Thanks!
James Connell
Posts: 103
Joined: Fri Dec 08, 2006 05:33
Location: Alaska, USA
Contact:

Post by James Connell »

I put a new version of the downloader on the site. It is 'supposed' to output UTF-8, would you give it a try?

it's in the 'Test' link.
JConn Inv.
Software Tools for Suunto Dive Computers
http://LiquidImagePhoto.com
divinglog
Site Admin
Posts: 5768
Joined: Sat Feb 08, 2003 21:02
Location: Coburg
Contact:

Post by divinglog »

Maybe fatuus can test this, because I unfortunately don't have a Suunto.
Post Reply