How to save a cqrlog from crashed cqrlog version 1.7.4 to version 2.0.5

7 posts / 0 new
Last post
SA0BXI
SA0BXI's picture
How to save a cqrlog from crashed cqrlog version 1.7.4 to version 2.0.5

I have a problem with my cqrlog version 1.7.4 making it unwilling to start as you can see from the terminal listing below.

Can anyone advise how I can save the database and move it to the latest cqrlog version 2.0.5?

bjorn@sa0bxi:~$ cqrlog

**** DEBUG LEVEL 0 ****
**** CHANGE WITH --debug=1 PARAMETER ****

Segmentation fault (core dumped)
bjorn@sa0bxi:~$ cqrlog

**** DEBUG LEVEL 0 ****
**** CHANGE WITH --debug=1 PARAMETER ****

Segmentation fault (core dumped)
bjorn@sa0bxi:~$

SA0BXI
SA0BXI's picture
Re: How to save a cqrlog from crashed cqrlog version 1.7.4 to v

I should perhaps have included the debug version also:
bjorn@sa0bxi:~$ cqrlog --debug=1

**** DEBUG LEVEL 1 ****

Loading libssl: /usr/lib/i386-linux-gnu/libssl.so
Loading libcrypto: /usr/lib/i386-linux-gnu/libcrypto.so
Loading libmysqlclient: /usr/lib/i386-linux-gnu/libmysqlclient.so.18.0.0
Loaded 103422 LoTW users
Loaded 106949 eQSL users
Loaded 43308 SCP calls
*
User home directory: /home/bjorn/
Program home directory: /home/bjorn/.config/cqrlog/
Data directory: /home/bjorn/.config/cqrlog/database/
Memebers directory: /usr/share/cqrlog/members/
ZIP code directory: /usr/share/cqrlog/zipcodes/
Binary dir: /usr/bin/
Share dir: /usr/share/cqrlog/
TConnection to MySQL: 5.5
*
Segmentation fault (core dumped)
bjorn@sa0bxi:~$

oh1kh
database

Hi!
If you still have 1.7.4 running make ADIF export. Check all bossible things to include to export.

Save you ./config/cqrlog directory (complete backup copy) and the remove it from original (./config) directory tree.

Install new version of cqrlog. Create new empty log and make ADIF import.

I have not tried, but that is the way I would try it.

--
Saku
OH1KH

--
Saku
OH1KH

oh1kh
Ah sri!

Ah sri!
It seems that your 1.7.4 wont run any more.
Any backups to get it running again?

if you have allowed update DXCC tables etc. check this message chain https://cqrlog.com/node/1726

--
Saku
OH1KH

oh1kh
Have you tried just backup

Have you tried just backup your ~.config/cqrlog directory (your qsos are there in folder database).
/home/yourusername/.config is hidden folder so you must allow "show hidden folders" to see it.

After backup just install new version of cqrlog and see if your qsos are there as usual.
Might be so simple.
--
Saku

--
Saku
OH1KH

SA0BXI
SA0BXI's picture
I tried to just move the file

I tried to just move the file to a new cqrlog version but that did not work. Seem to be a bit different database objects.
I also tried to remove the lotw.txt file as suggested in the thread you point at. That made some difference but not much.
When starting cqrlog I now get
bjorn@sa0bxi:~$ sudo cqrlog
[sudo] password for bjorn:

(cqrlog:20685): IBUS-WARNING **: The owner of /home/bjorn/.config/ibus/bus is not root!

**** DEBUG LEVEL 0 ****
**** CHANGE WITH --debug=1 PARAMETER ****

[FORMS.PP] ExceptionOccurred
Sender=EAccessViolation
Exception=Access violation
Stack trace:
$B6F6A96E
TApplication.HandleException Access violation
Stack trace:
$B6F6A96E
(cqrlog:20685): Gdk-CRITICAL **: IA__gdk_window_get_state: assertion 'GDK_IS_WINDOW (window)' failed

I guess this suggests that U have made some sort of ugrade that I should not have.
Is there any way to create an ADIF backup file without the graphical user interface?

ok2cqr
ok2cqr's picture
Re: I tried to just move the file

Please do not run cqrlog as root, it won't work.

There is no easy way how to create ADIF backup without CQRLOG. Did you try to upgrade to recent cqrlog version? Does the system work like before upgrade? Please try to upgrade to recent version of cqrlog, it should work and also should upgrade database structure to latest version.

73 Petr