Failed import from JDiveLog

Miika Turkia miika.turkia at gmail.com
Thu Nov 22 21:59:56 PST 2012


Can you send me (without including mailing list if you wish) also the
original JDiveLog formatted XML of this dive. There must be something
different in it than on my jlb logs. Also if there is a dive that is
totally missed, I could take a look into that too to see what is
wrong.

The timestamps that are missing for you are calculated during the
transformation as there is no time recorded in JDiveLog format. Works
for me with my old data.

miika

On Fri, Nov 23, 2012 at 7:49 AM, Diego Mainou
<Diego.Mainou at alumni.uts.edu.au> wrote:
>
> Ok, I managed to import something via the command line.
>
> However, a large number of dives have not imported the time in the sample.
>
> This is how one of them looks like:
>
> <dive number="1110" date="2012-04-01" time="09:58" duration="37:27 min">
>     <depth max="48.4 m" mean="24.39 m"/>
>     <temperature water="18.1 C"/>
>     <location>Australia NSW Sydney Birchgrove Park</location>
>     <buddy>Solo</buddy>
>     <notes>
> Diveactivity: Relaxation
> Divetype: Boat Dive - Decompression
> Comment: Computer Settings:  ZH-L16 GF CC 30% / 85%</notes>
>     <cylinder o2="49%" size="0 l" start="0 bar" end="0 bar"/>
>     <cylinder o2="21%" size="0 l" start="0 bar" end="0 bar"/>
>     <event type="" name="deco" time="0:00 min"/>
>     <event type="" name="PPO2 HIGH" time="0:00 min"/>
>     <event name="gaschange" time="0:00 min" value="21"/>
>     <event name="gaschange" time="0:00 min" value="49"/>
>     <sample time="0:00 min" depth="0.0 m"/>
>     <sample time="0:00 min" depth="3.92 m"/>
>     <sample time="0:00 min" depth="6.2 m"/>
>     <sample time="0:00 min" depth="9.43 m"/>
>     <sample time="0:00 min" depth="12.43 m"/>
>     <sample time="0:00 min" depth="15.67 m"/>
>     <sample time="0:00 min" depth="18.92 m" temp="296.84999999999997"/>
>     <sample time="0:00 min" depth="22.51 m"/>
>     <sample time="0:00 min" depth="26.32 m"/>
>     <sample time="0:00 min" depth="29.95 m"/>
>     <sample time="0:00 min" depth="33.55 m"/>
>     <sample time="0:00 min" depth="36.84 m"/>
>     <sample time="0:00 min" depth="38.54 m" temp="296.04999999999995"/>
>     <sample time="0:00 min" depth="40.62 m"/>
>     <sample time="0:00 min" depth="41.82 m"/>
>     <sample time="0:00 min" depth="43.08 m"/>
>     <sample time="0:00 min" depth="45.17 m"/>
>
> Thanks,
>
> Diego Mainou
>
>
>
> On 23 November 2012 01:21, Miika Turkia <miika.turkia at gmail.com> wrote:
>>
>> Sounds like you have plenty of stuff that is not tested on the import.
>> However, I would have thought that most of it is just ignored rather
>> than failing altogether.
>>
>> You can try with xsltproc for debugging:
>> xsltproc xslt/jdivelog2subsurface.xslt <your JDiveLog file>
>>
>> This should show any possible errors to you unlike subsurface. Then a
>> few sample dives from JDiveLog would allow to implement / verify tank
>> changes, conversion of mixes etc.
>>
>> miika
>>
>> On Thu, Nov 22, 2012 at 1:52 PM, Diego Mainou
>> <Diego.Mainou at alumni.uts.edu.au> wrote:
>> > Hi guys,
>> >
>> > I'm trying to import my dives from JDiveLog and for some reason nothing
>> > is
>> > happening.
>> >
>> > I'd appreciate if someone would be so kind to point me in the right
>> > direction to report the bug?
>> >
>> > The log has a number of OC, CC, single tank, multiple tank/mix, deco and
>> > NDL
>> > dives as well as some manually entered ones.
>> >
>> > It also has a history of downloads of at least 3 computers (suunto,
>> > N2ition
>> > 3 & HW OSTC) possibly a SW Predator as well but can't remember.
>> >
>> > Any help will be appreciated.
>> >
>> > Diego Mainou
>> >
>> >
>> > _______________________________________________
>> > subsurface mailing list
>> > subsurface at hohndel.org
>> > http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface
>> >
>>
>>
>


More information about the subsurface mailing list