<p>I've been trying to import QSOs from LOTW. I have about 150 that refuse to import, and I have no idea why. It says SSB is the "Wrong QSO mode." How can that be????</p>
<p><br /><APP_LoTW_OWNCALL:4>NM3S<STATION_CALLSIGN:4>NM3S<CALL:5>CE1TT<BAND:3>10M<FREQ:8>28.46300<MODE:5>SSB</p>
<p><APP_LoTW_MODE:5>SSB<APP_LoTW_MODEGROUP:5>SSB<QSO_DATE:8>20120304<TIME_ON:6>172000</p>
<p><QSL_RCVD:1>Y<QSLRDATE:8>20161229<DXCC:3>112<COUNTRY:5>CHILE<APP_LoTW_DXCC_ENTITY_STATUS:7></p>
<p>Current<PFX:3>CE1<APP_LoTW_2xQSL:1>Y<APP_LoTW_QSLMODE:3>SSB<GRIDSQUARE:6>FH41UM<CQZ:2>12<ITUZ:2>14<eor><br />ERROR: Wrong QSO mode: SSB</p>
Sat, 2019-08-24 16:44
#1
Can't import correctly from LOTW [SOLVED]
Hi!
I assume you have pasted ADIF to your massage. Brackets do not display correctly in message.
So it is a bit hard to read here.
How ever it looks like there is something with the mode-tag.
Your text from message:
<FREQ:8>28.46300<MODE:5>SSB</p>
My test adif export:
<CALL:5>OH1KH<MODE:3>SSB<FREQ:2>28
Why LoTW gives mode-tag with length 5 when there is just 3 letters?
You could try to download qsos to file ( I think you have done that) then change wrong mode tag and import fixed file to cqrlog.
sed 's/MODE:5>SSB/MODE:3>SSB/g' input.file > output.file
See this https://www.cyberciti.biz/faq/how-to-use-sed-to-find-and-replace-text-in...
--
Saku
OH1KH
Thank you very much, OH1KH! That was definitely the problem. Shows how much I understood the ADIF format - a little better now, thanks to you.
The original entries on LOTW had PHONE, which CQRLog didn't like. So I changed PHONE to SSB, but didn't change the field length (since I didn't know that's what it was), so of course the program blew up!