[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tlf-devel] Cabrillo export truncating exchange (comment) after firs
From: |
Thomas Beierlein |
Subject: |
Re: [Tlf-devel] Cabrillo export truncating exchange (comment) after first space |
Date: |
Wed, 26 Sep 2018 17:29:45 +0200 |
Hi Nate,
thanks for the files, they were helpful.
I found the problem for the wrong format, but do not understand where
the reason came from.
It turns out that there is a problem in the parsing logic for the
log lines. It expects to have two entries for RST sent and received. As
ARRL-FD (and also SS) do not use RST in the log we introduced the
NO_RST keyword. That results in '---' written in the log instead of 599
or so. Your logs miss that entry even while NO_RST is in the rule file.
From your log:
40CW 23-Jun-18 18:08 0001 W5YA 3A NM
From one of my logs:
20CW 12-Jul-13 12:30 0001 LA3BB --- --- 123
So the question is: Why your log misses the --- for RST? Looking into
the code that feature is there from 2014 on. Maybe you used an really
old version of TLF?
Any ideas?
73, de Tom DL1JBE
Am Tue, 25 Sep 2018 20:39:49 +0200 schrieb Thomas Beierlein
<address@hidden>:
> Hi Nate,
>
> while preparing for a new tlf-1.3.1 release I found your bug report
> below. I tried to reproduce the behavior here but have no success.
> It just works for me.
>
> Do you still have the old log files from that contest around. I see a
> chance that you had some unusual whitespace characters in the log.
> If available, please send the log to me by private mail.
>
> Thanks and 73,
>
> de Tom DL1JBE
>
>
> Am Mon, 25 Jun 2018 20:56:47 -0500
> schrieb Nate Bargmann <address@hidden>:
>
> > I am exporting the Field Day log to Cabrillo. I have log lines of
> > the form:
> >
> > 40CW 23-Jun-18 18:08 0001 W5YA 3A
> > NM 2
> >
> > When I export to Cabrillo I am getting:
> >
> > QSO: 7000 CW 1808 W0GCJ 1A KS W5YA 3A
> >
> > As you can see, the NM section is being truncated. This is
> > occurring for all of the log entries.
> >
> > I am using a slightly modified version of the ARRL-SS Cabrillo
> > format:
> >
> > [ARRL-FD]
> > QSO=FREQ,5;MODE,2DATE,10;TIME,4;MYCALL,10;EXC_S,13;HISCALL,10;EXC1,5;EXC2,5
> >
> > I had originally tried a simple "EXCH,13" at the end of the line and
> > received the same result. The use of EXC1 and EXC2 was a test with
> > no change.
> >
> > I followed the logic through add_rpadded() in writecabrillo.c and
> > don't see anything obvious that is truncating the comment field.
> >
> > 73, Nate
> >
>
>
>
--
"Do what is needful!"
Ursula LeGuin: Earthsea
--
pgpjfvxmH02Xm.pgp
Description: Digitale Signatur von OpenPGP