¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

ANNOUNCEMENT: update_wsjtx_log.py version 1.1.1 released


 

Fellow hams and users of WSJT-X:

I am pleased to announce the creation and immediate availability of version 1.1.1 of a Python application to address some of the deficiencies of WSJT-X not providing a method to automatically look up callsigns and missing grid squares and fill them in.

Changes:
* Added support for FREE data source
* Enhanced session and error handling

This Python application has been successfully tested with Python3 and a Raspberry Pi, although may easily be used on other Linux systems with Python3. It has not been tested with Mac, but should probably work there as well. It has not been tested under Windows.

The script has passed scrutiny by Pylint and Flake8.

Prerequisites: Requests and Watchdog Python libraries.
Environment variables: If using QRZ as a data source QRZ_USERNAME and QRZ_PASSWORD to be filled in with your authentication tokens from QRZ.

Additional backends such as HamQTH may be added in the future if there is demand.

To use:?download the script, and if using QRZ as a data source, set the QRZ_USERNAME and QRZ_PASSWORD environment variables and start up WSJT-X and the script. It will run automatically.

CAUTION: do not independently edit the wsjtx_log.adi while this script is running, or bad things will happen. This script only works when WSJT-X is appending its ADIF log file with new entries,?nothing else.

The Python script, update_wsjtx_log.py may be located and downloaded from here:


--
Dave Slotter,

--
- Dave
??


 

Hi Dave,
??? on your GitHub site i found .
I did run your script on my raspi and got this error:
pi@raspberrypi:~/Downloads $ python ./qrz_callsign_reader.py
Traceback (most recent call last):
? File "./qrz_callsign_reader.py", line 7, in <module>
??? import xmltodict
ImportError: No module named xmltodict

what is going wrong?
Remark: I did?? set?? QRZ_USERNAME and QRZ_PASSWORD


 

You need to install a module:

pip3 install xmltodict

Hope this helps.

On Tue, Mar 9, 2021 at 5:47 AM Hansdl5raz <dl5raz@...> wrote:
Hi Dave,
??? on your GitHub site i found .
I did run your script on my raspi and got this error:
pi@raspberrypi:~/Downloads $ python ./qrz_callsign_reader.py
Traceback (most recent call last):
? File "./qrz_callsign_reader.py", line 7, in <module>
??? import xmltodict
ImportError: No module named xmltodict

what is going wrong?
Remark: I did?? set?? QRZ_USERNAME and QRZ_PASSWORD


--
- Dave
??


 
Edited

Hi Dave,
??? install seems ok:

sudo pip3 install xmltodict
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting xmltodict
? Downloading https://files.pythonhosted.org/packages/28/fd/30d5c1d3ac29ce229f6bdc40bbc20b28f716e8b363140c26eff19122d8a5/xmltodict-0.12.0-py2.py3-none-any.whl
Installing collected packages: xmltodict
Successfully installed xmltodict-0.12.0

But got this error:

pi@raspberrypi:~/Downloads $ python ./qrz_callsign_reader.py
Traceback (most recent call last):
? File "./qrz_callsign_reader.py", line 7, in <module>
??? import xmltodict
ImportError: No module named xmltodict

Maybe the script has to be in a different directory?

73 Hans, dl5raz


 

You installed a Python 3 module but are running Python 2.

The script runs under Python 3.

On Tue, Mar 9, 2021 at 10:51 AM Hansdl5raz <dl5raz@...> wrote:
Hi Dave,
??? install seems ok:

sudo pip3 install xmltodict
Looking in indexes: ,
Collecting xmltodict
? Downloading
Installing collected packages: xmltodict
Successfully installed xmltodict-0.12.0

But got this error:

pi@raspberrypi:~/Downloads $ python ./qrz_callsign_reader.py
Traceback (most recent call last):
? File "./qrz_callsign_reader.py", line 7, in <module>
??? import xmltodict
ImportError: No module named xmltodict

Maybe the sript hase to be in a different directory?

73 Hans, dl5raz


--
- Dave
??


 

ok i did e.g.
python3 ./qrz_callsign_reader.py dl5raz
Authenticating to QRZ.com...
200 OK
but the fields of interrest:
Latitude:
Longitude:
Grid square:
remain empty. (at qrz.com fields are not empty).


 

Glad to see you've made progress. Please send me a copy of the complete output, including the call sign you're looking up.


On Wed, Mar 10, 2021 at 5:36 AM Hansdl5raz <dl5raz@...> wrote:
ok i did e.g.
python3 ./qrz_callsign_reader.py dl5raz
Authenticating to QRZ.com...
200 OK
but the fields of interrest:
Latitude:
Longitude:
Grid square:
remain empty. (at fields are not empty).


--
- Dave
??


 

This is the output I get back, which does include latitude and longitude. I have redacted much of the data as not to "dox" Hans.

Callsign: DL5RAZ
Aliases:
Name: Hans Klausmann
Address: [redacted]
City, State, Zip: [redacted]
Country: Germany
County:
Latitude: 48.XXXXXX
Longitude: 12.XXXXXX

Grid square: JN68ex
DXCC entity ID (country code): 230
DXCC country name: Germany
Email: [redacted]
License effective date:
License expiration date:
License class: A
dave@Moonquake:~/bin$?

On Wed, Mar 10, 2021 at 9:25 AM Dave Slotter, W3DJS via <slotter=[email protected]> wrote:
Glad to see you've made progress. Please send me a copy of the complete output, including the call sign you're looking up.

On Wed, Mar 10, 2021 at 5:36 AM Hansdl5raz <dl5raz@...> wrote:
ok i did e.g.
python3 ./qrz_callsign_reader.py dl5raz
Authenticating to QRZ.com...
200 OK
but the fields of interrest:
Latitude:
Longitude:
Grid square:
remain empty. (at fields are not empty).


--
- Dave
??


--
- Dave
??


 

strange, I get the following:?
python3 ./qrz_callsign_reader.py dl5raz
Authenticating to QRZ.com...
200 OK

Requesting callsign information...
200 OK

Callsign: DL5RAZ
Aliases:
Name: Hans Klausmann
Address:
City, State, Zip: 93102 Pfatter, ,
Country: Germany
County:
Latitude:
Longitude:
Grid square:
DXCC entity ID (country code):
DXCC country name:
Email:
License effective date:
License expiration date:
License class:


 

Oh, I figured out your problem... You need to pay for a XML subscription.


On Wed, Mar 10, 2021 at 10:19 AM Hansdl5raz <dl5raz@...> wrote:
strange, I get the following:?
python3 ./qrz_callsign_reader.py dl5raz
Authenticating to QRZ.com...
200 OK

Requesting callsign information...
200 OK

Callsign: DL5RAZ
Aliases:
Name: Hans Klausmann
Address:
City, State, Zip: 93102 Pfatter, ,
Country: Germany
County:
Latitude:
Longitude:
Grid square:
DXCC entity ID (country code):
DXCC country name:
Email:
License effective date:
License expiration date:
License class:


--
- Dave
??