FAQ

1) How to install CQRLOG?

2) How to upgrade from older version?

3) Where is my log stored? I can't find the location of the files!

4) Radio control of my Icom works but I am unable to set a frequency. What now?

5) What distributions are officially supported?

6) How to compile CQRLOG from source code?

7) I just used new XXX digital mode but it's not in CQRLOG. What should I do?

8) I just installed CQRLOG but don't know where is the ADIF import

9) I can't upgrade/uninstall CQRLOG. It ends with "subprocess new post-removal script returned error exit status 1"

 

 

1) How to install CQRLOG?

There several options:

  • you are Ubuntu user and using one of supported version


    add my personal ppa repository to your system.


    Open the terminal and put there this:
                    sudo add-apt-repository ppa:ok2cqr/ppa && sudo apt-get update
                    sudo apt-get install cqrlog

    APT will download and install cqrlog with all necessary dependencies.

  • You are Ubuntu user but using unsupported Ubuntu version or use different distribution - please download cqrlog binaries cqrlog-<version>_<architecture>.tar.gz, untar it into your home folder and run. You must also install mysqlserver, mysql client, hamlib, libssl-devel and trustedqsl if LoTW support desired. You can also try to use DEB files for supported Debian/Ubuntu version but no guaranties.

 

2) How to upgrade from older version?

  • users who use supported Ubuntu version will be prompted by sytem to upgrade to new version
  • users who use unsupported version or other distribution delete the directory in your home foolder where is CQRLOG installed, download recent version and install it. Your data is stored in different directory, so don't be afraid, your data won't be deleted.

 

3) Where is my log stored? I can't find the location of the files!


Your log is stored in ~/.config/cqrlog where ~ means your home directory e.g. my log is in/home/ok2cqr/.config/cqrlog, ok2cqr is my user name

 

4) Radio control of my Icom works but I am unable to set a frequency. What now?

Check Preferences -> Modes and set the bandwidth to 0 for all modes.

 

5) What distributions are officially supported?

CQRLOG is now officially supported on Ubuntu 16.04, 17.10 and 18.04. If you are using older Ubuntu or any derivates, you can try to install deb packages for supported version or use directory with completely cqrlog binaries and other necessary files.

 

6) How to compile CQRLOG from source code?


Source code of CQRLOG is stored on GitHub and it's developed in FreePascal 3.0 and Lazarus 1.6.
You need these or newer versions of that tools. In Ubuntu 16.04 open the terminal and enter this:

        sudo apt-get install git lazarus-ide lcl lcl-gtk2 lcl-nogui lcl-units lcl-utils lazarus lazarus-doc lazarus-src \
         fp-units-misc fp-units-rtl fp-utils fpc fpc-source libssl-dev
        git clone https://github.com/ok2cqr/cqrlog.git
        cd cqrlog
        make
        sudo make install

CQRLOG is now installed and you are using devel version. It may be unstable but should work.

If you didn't install CQRLOG from deb packages before and want to use only a version from source code,
don't forget to install mysql-server and libmysqlclient-dev. CQRLOG won't work without that. CQRLOG also won't work with a default version of AppArmor because it won't allow writing MySQL server data into your home directory. There is a script cqrlog-apparmor-fix in the tools directory. Run it as root with sudo.

 

7) I just used new XXX digital mode but it's not in CQRLOG. What should I do?


There are many digital modes and almost every day we have another super digi mode available. CQRLOG can't have all these modes built-in but allows you to add your own digital mode. Go to Preferences -> Modes and add whatever mode you want.

 

8) I just installed CQRLOG but don't know where is the ADIF import.


In the New QSO window click to File menu and choose Show QSO list. A new window appears, now go to File -> Import -> ADIF or hit CTRL+I.

9) I can't upgrade/uninstall CQRLOG. It ends with "subprocess new post-removal script returned error exit status 1"


One of older versions of CQRLOG had a bug in the postrm script. Open a terminal and enter this command:

sudo gedit /var/log/dpkg/status


Search for "cqrlog" and you should find something like this:

Package: cqrlog
Status: install ok installed
Priority: extra
Section: hamradio
Installed-Size: 25934
Maintainer: Ubuntu Developers
Architecture: amd64
Version: 1.7.3-1
Depends: libatk1.0-0 (>= 1.12.4), libc6 (>= 2.2.5), libcairo2 (>= 1.2.4), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.12.0), libgtk2.0-0 (>= 2.24.0), libpango-1.0-0 (>= 1.14.0), libx11-6, libssl-dev, mariadb-server | mysql-server, mariadb-client | mysql-client, libhamlib2 (>= 1.2.10), libhamlib-utils (>= 1.2.10)
Description: Advanced logging program for hamradio operators
CQRLOG is an advanced ham radio logger based on MySQL embedded database.
Provides radio control based on hamlib libraries (currently support of 140+
radio types and models), DX cluster connection, HamQTH/QRZ callbook
(XML access), a grayliner, internal QSL manager database support and a most
accurate country resolution algorithm based on country tables developed by
OK1RR. CQRLOG is intended for daily general logging of HF, CW & SSB contacts
and strongly focused on easy operation and maintenance.
Original-Maintainer: Debian Hamradio Maintainers


Remove those lines, save the file and try to upgrade/remove cqrlog again. It's not a clean solution but I don't know about anything better.