Topics

locked ADIF File ADDRESS count error


Michael Black
 

Laurie -- seems the <ADDRESS> tag in the ADIF file is maybe stripping CR's and giving the wrong field length.  The file won't upload to LOTW with TQSL 2.7

e.g. this has 76 chars in instead of 80
<CALL:6>WB2DHY<QSO_DATE:8>20201106<TIME_ON:6>135800<TIME_OFF:6>135900<FREQ:9>10.136704<FREQ_RX:9>10.136704<BAND:3>30m<BAND_RX:3>30m<MODE:3>FT8<DXCC:3>291<COUNTRY:13>United States<CQZ:1>5<ITUZ:1>8<CONT:2>NA<RST_SENT:3>+10<RST_RCVD:3>-15<LOTW_QSL_SENT:1>R<LOTW_QSL_RCVD:1>R<QSLMSG:25>FT8  Sent: +10  Rcvd: -15<GRIDSQUARE:6>FM17bj<DISTANCE:4>1104<TX_PWR:2>40<A_INDEX:1>4<K_INDEX:1>2<SFI:2>91<COMMENT:25>FT8  Sent: +10  Rcvd: -15<NAME:6>Philip<QTH:18>AMELIA COURT HOUSE<STATE:2>VA<PFX:3>WB2<CNTY:9>VA,Amelia<ADDRESS:80>Philip P Lorito
12371 DEATON LANE
AMELIA COURT HOUSE
VA, 23002
United States<IOTA:6>NA-083<MY_GRIDSQUARE:4>EN52<MY_CQ_ZONE:1>0<MY_ITU_ZONE:1>0<STATION_CALLSIGN:6>WA9JBQ<QSO_COMPLETE:1>Y<EOR>


Mike W9MDB


Laurie, VK3AMA
 



On 16/12/2020 9:52 am, Michael Black via groups.io wrote:
Laurie -- seems the <ADDRESS> tag in the ADIF file is maybe stripping CR's and giving the wrong field length.  The file won't upload to LOTW with TQSL 2.7

e.g. this has 76 chars in instead of 80
<CALL:6>WB2DHY<QSO_DATE:8>20201106<TIME_ON:6>135800<TIME_OFF:6>135900<FREQ:9>10.136704<FREQ_RX:9>10.136704<BAND:3>30m<BAND_RX:3>30m<MODE:3>FT8<DXCC:3>291<COUNTRY:13>United States<CQZ:1>5<ITUZ:1>8<CONT:2>NA<RST_SENT:3>+10<RST_RCVD:3>-15<LOTW_QSL_SENT:1>R<LOTW_QSL_RCVD:1>R<QSLMSG:25>FT8  Sent: +10  Rcvd: -15<GRIDSQUARE:6>FM17bj<DISTANCE:4>1104<TX_PWR:2>40<A_INDEX:1>4<K_INDEX:1>2<SFI:2>91<COMMENT:25>FT8  Sent: +10  Rcvd: -15<NAME:6>Philip<QTH:18>AMELIA COURT HOUSE<STATE:2>VA<PFX:3>WB2<CNTY:9>VA,Amelia<ADDRESS:80>Philip P Lorito
12371 DEATON LANE
AMELIA COURT HOUSE
VA, 23002
United States<IOTA:6>NA-083<MY_GRIDSQUARE:4>EN52<MY_CQ_ZONE:1>0<MY_ITU_ZONE:1>0<STATION_CALLSIGN:6>WA9JBQ<QSO_COMPLETE:1>Y<EOR>


Mike W9MDB


The 80 character count is correct. There are 72 characters in your sample plus 4 line endings, which on PC are 2 characters (CRLF). 72 + 4*2 = 80.

If that ADIF record is not uploading, it wont be because of the address field. Unless TQSL is broken which is unlikely as there have been no reports that I am aware of. Does TQSL provide any sort of error report? I suggest you raise this with the LoTW/TQSL people.

FWIW, there is only one place in the JTAlert code where CRLFs are deliberately stripped from an ADIF address field and that is in the data sent to HRD logs. The HRD TCP API is fundamentally broken where it stops processing incoming TCP data when a CRLF is encountered in the TCP stream despite CRLFs being supported by the ADIF spec and the HRD API requiring ADIF data!

de Laurie VK3AMA


Laurie, VK3AMA
 

On 16/12/2020 9:52 am, Michael Black via groups.io wrote:
<MY_CQ_ZONE:1>0<MY_ITU_ZONE:1>0<
Perhaps TQSL is choking on the zeros for the ITU & CQZones?

de Laurie VK3AMA


Michael Black
 

Doesn't appear so...I just tested that.

I'll have to work with him and reduce the file and fields down until it works.

TQSL was just flashing "0 recs" as though it was stuck in a loop...and never quit.  Only had 12 QSOs in the file.

Mike




On Tuesday, December 15, 2020, 05:48:45 PM CST, Laurie, VK3AMA <hamapps.support@...> wrote:




On 16/12/2020 9:52 am, Michael Black via groups.io wrote:
> <MY_CQ_ZONE:1>0<MY_ITU_ZONE:1>0<


Perhaps TQSL is choking on the zeros for the ITU & CQZones?

de Laurie VK3AMA










Michael Black
 

OK Laurie -- it was the CQ_ZONE and ITU_ZONE being zero was a problem.
So, if those values are zero they shouldn't be put in the ADIF log.

Mike W9MDB




On Tuesday, December 15, 2020, 04:52:14 PM CST, Black Michael <mdblack98@...> wrote:


Laurie -- seems the <ADDRESS> tag in the ADIF file is maybe stripping CR's and giving the wrong field length.  The file won't upload to LOTW with TQSL 2.7

e.g. this has 76 chars in instead of 80
<CALL:6>WB2DHY<QSO_DATE:8>20201106<TIME_ON:6>135800<TIME_OFF:6>135900<FREQ:9>10.136704<FREQ_RX:9>10.136704<BAND:3>30m<BAND_RX:3>30m<MODE:3>FT8<DXCC:3>291<COUNTRY:13>United States<CQZ:1>5<ITUZ:1>8<CONT:2>NA<RST_SENT:3>+10<RST_RCVD:3>-15<LOTW_QSL_SENT:1>R<LOTW_QSL_RCVD:1>R<QSLMSG:25>FT8  Sent: +10  Rcvd: -15<GRIDSQUARE:6>FM17bj<DISTANCE:4>1104<TX_PWR:2>40<A_INDEX:1>4<K_INDEX:1>2<SFI:2>91<COMMENT:25>FT8  Sent: +10  Rcvd: -15<NAME:6>Philip<QTH:18>AMELIA COURT HOUSE<STATE:2>VA<PFX:3>WB2<CNTY:9>VA,Amelia<ADDRESS:80>Philip P Lorito
12371 DEATON LANE
AMELIA COURT HOUSE
VA, 23002
United States<IOTA:6>NA-083<MY_GRIDSQUARE:4>EN52<MY_CQ_ZONE:1>0<MY_ITU_ZONE:1>0<STATION_CALLSIGN:6>WA9JBQ<QSO_COMPLETE:1>Y<EOR>


Mike W9MDB