Where is the details of QTHProfiles?

12 posts / 0 new
Last post
JE8VZK
Where is the details of QTHProfiles?

4/26 I tried new Ubuntu 24.04 Noble.
And imported some old logs of my domestic expedition.
But unfortunately nautilus was gone away and OS could not run in the M2.SSD.
And now came back again to 22.04 Jammy with cqrlog folder.
To run it takes 18 secs on Noble and the second Jammy.
I threw out "cqrlog" folder, and newly imported log and old ini.
But I could not restore the previous environment.

ini file shows only:
[Profiles]
Use=1
Selected=-1
Locator=1
QTH=1
RIG=0

My QTH Profle has 5 QTHs.

F8EHJ
Hello,

Hello,

QTH Profiles are managed in the database.
Ini file set the default profile and field visibility
You can manage QTH Profiles in Preferences / QTH Profiles

Then you can set the profile for each qso by editing them individually or, by group edit (Under File in the main window)
From main window :
--> create a filter for desired qso
--> File / Group edit / field QTH Profile
--> Select the good profile you wish
--> Apply

You can also add QTH Profile and set the qth profile to a qso by importing adif file with this user adif field:

nr|Locator|qth|rig|
where
length : number of character after >
nr : ID for QTH Profile 1,2,3,....
Locator : AA11aa : example IN94oo
qth : alphanumeric character
rig : alphanumeric

73's
Hervé

JE8VZK
Merci beaucoup, Hervé.

Merci beaucoup, Hervé.

I understand -> File / Group edit / field QTH Profile.

>set the qth profile to a qso by importing adif file with this user adif field:

Please show me how to add this more specically.

F8EHJ
When importing ADIF file,

When importing ADIF file, CQRLog will ask you wich profile you want to set on each QSO on your file.
If you have a ADIF file by qth, you can use this process :
1. create your profile on preferences
2. import ADIF file by setting the good profile

or :

You create an ADIF File with this field inside each qso :
11|AA99aa|Qth|Rig|

and when importing from CQRLog you have to not select any profile (blank). CQRLog will automatically add the profile it found new and affect it to the QSO.

To do that you have to write a software/script (python, C,JS,Freepascal,....) to add on each qso the profile of your qth or perhaps it exists some software to edit ADIF file with custom field but I don't know.

I join you a ADIF file to test. It will create a profile ID#11. (copy paste to a text editor file and name it with .adif extension) :

ADIF export from CQRLOG for Linux version 2.6.0_(120)_Gtk2
Copyright (C) 2024 by Petr, OK2CQR and Martin, OK1RR

Internet: http://www.cqrlog.com

3.1.0
20240503 212436
CQRLOG
2.6.0_(120)_Gtk2

2024050321182124JE8VZKF8TESTCW7.03440m599599TestTestIN
11|AA99aa|Qth|Rig|

F8EHJ
<p>Sorry, I used HTML format,

<p>Sorry, I used HTML format, so ADIF has been altered.</p>
<p>Here the line to copy/paste :</p>
<p>&nbsp;</p>
<p>ADIF export from CQRLOG for Linux version 2.6.0_(120)_Gtk2<br />Copyright (C) 2024 by Petr, OK2CQR and Martin, OK1RR<br /><br />Internet: http://www.cqrlog.com<br /><br />&lt;ADIF_VER:5&gt;3.1.0<br />&lt;CREATED_TIMESTAMP:15&gt;20240503 212436<br />&lt;PROGRAMID:6&gt;CQRLOG<br />&lt;PROGRAMVERSION:16&gt;2.6.0_(120)_Gtk2<br />&lt;EOH&gt;<br />&lt;QSO_DATE:8&gt;20240503&lt;TIME_ON:4&gt;2118&lt;TIME_OFF:4&gt;2124&lt;STATION_CALLSIGN:6&gt;JE8VZK&lt;CALL:6&gt;F8TEST&lt;MODE:2&gt;CW&lt;FREQ:5&gt;7.034&lt;BAND:3&gt;40m&lt;RST_SENT:3&gt;599&lt;RST_RCVD:3&gt;599&lt;NAME:4&gt;Test&lt;QTH:4&gt;Test&lt;QSL_SENT:1&gt;I&lt;QSL_RCVD:1&gt;N<br />&lt;APP_CQRLOG_PROFILE:18&gt;11|AA99aa|Qth|Rig|<br />&lt;EOR&gt;</p>

F8EHJ
Here the good one !

ADIF export from CQRLOG for Linux version 2.6.0_(120)_Gtk2
Copyright (C) 2024 by Petr, OK2CQR and Martin, OK1RR

Internet: http://www.cqrlog.com

<ADIF_VER:5>3.1.0
<CREATED_TIMESTAMP:15>20240503 212436
<PROGRAMID:6>CQRLOG
<PROGRAMVERSION:16>2.6.0_(120)_Gtk2
<EOH>
<QSO_DATE:8>20240503<TIME_ON:4>2118<TIME_OFF:4>2124<STATION_CALLSIGN:6>JE8VZK<CALL:6>F8TEST<MODE:2>CW<FREQ:5>7.034<BAND:3>40m<RST_SENT:3>599<RST_RCVD:3>599<NAME:4>Test<QTH:4>Test<QSL_SENT:1>I<QSL_RCVD:1>N
<APP_CQRLOG_PROFILE:18>11|AA99aa|Qth|Rig|
<EOR>

JE8VZK
><APP_CQRLOG_PROFILE:18>11

><APP_CQRLOG_PROFILE:18>11|AA99aa|Qth|Rig|

Oh, that's! I need to know this tag.
Maybe is not permit with 2-byte characters...
I use it on profile setting.

<CALL:6>JG6KZD <QSO_DATE:8>19911006 <TIME_ON:4>0346 <FREQ:7>18.1300 <MODE:3>SSB <RST_SENT:2>59 <RST_RCVD:2>57 <GRIDSQUARE:4>PL47 <NAME_INTL:2>加野 <QTH_INTL:6>大島郡伊仙町 <APP_CQRLOG_QSLS:1>B <QSL_RCVD:1>Y <AWARD:0> <IOTA:6>AS-023 <COMMENT:0> <APP_CQRLOG_PROFILE_INTL:22>6|QN12tt|十勝郡浦幌町十勝河畔|0| <EOR>

Preference/Export/Profile checked, however, exported adif does not show profile QTH ... why ...?

JE8VZK
Export/My Locator checked,

Export/My Locator checked, exported adif shows Home locator, maybe this is a bug.

JE8VZK
I succeeded to import adif

I succeeded to import adif with <APP_CQRLOG_PROFILE_INTL:20> tag WITHOUT Preference/QTH Profile settings. Merci beaucoup Herves.

If "Use QTH Profiles" checked, <MY_GRIDSQUARE> should follow the profile locator, I suppose.
"Export html" can export Profile, but MyLoc shows Home QTH Loc same as adif.

F8EHJ
To use QTH profile, you have

To use QTH profile, you have to check "Use QTH Profile"
To see locator in your profile you have to check also the Locator checkbox and specify the locator in Define/Modify Profile under Preferences/QTH Profile

The locator in adif field (= html export) = Myloc is defined under Preferences/Station

JE8VZK
Merci beaucoup, Hervé.

Merci beaucoup, Hervé.
I tried more some QTHs.
The original log to be imported was made by ods, then I convert to csv and more to adif.
Importing with keeps well,
but without it, CQRlog will re-write to home locator.
Does it mean my database has possibly some defects?

Running CQRlog, my mysql.err shows 2 ERRORS:
2024-05-07 11:08:43 0 [ERROR] Can't open and lock privilege tables: Table 'mysql.servers' doesn't exist
2024-05-07 11:08:44 4 [ERROR] InnoDB: Table mysql.innodb_table_stats not found.

If these are fatal errors, how should I do?

JE8VZK
Merci beaucoup, Hervé.

Merci beaucoup, Hervé.
I tried more some QTHs.
The original log to be imported was made by ods, then I convert to csv and more to adif.
Importing with <MY_GRIDSQUARE> keeps well,
but without it, CQRlog will re-write to home locator.
Does it mean my database has possibly some defects?

Running CQRlog, my mysql.err shows 2 ERRORS:
2024-05-07 11:08:43 0 [ERROR] Can't open and lock privilege tables: Table 'mysql.servers' doesn't exist
2024-05-07 11:08:44 4 [ERROR] InnoDB: Table mysql.innodb_table_stats not found.

If these are fatal errors, how should I do?