CQRLOG 03 DEC 2018

5 posts / 0 new
Last post
ok7an
ok7an's picture
CQRLOG 03 DEC 2018

After long time there is a new beta version of CQRLOG. You can download it from here:

https://cqrlog.com/files/beta/cqrlog_20181203_amd64.tar.gz

Small how to is described here: http://www.cqrlog.com/node/1526

Changelog:

# update sat_name.tab with newest lotw satellite list (Andy, DL7AOP)
# some layout changes and code refactoring
+ feature to select rectangular geometry in the xplanet preferences (Andy, DL7AOP)
+ ADIF import: implement filter by date range (gl-bars)
+ Initial Skimmer Support (Olli, DH2WQ)
- fixed bug with CTRL+END and/or CTRL+HOME
- fixed encoding passwords for HamQTH - (Andy, DL7AOP)

There are some new features and one very important bugfix. CQRLOG is no longer crashing after CTRL+END/CTRL+HOME in the QSO list window. After some debugging I found out that it always crashes somewhere in the code around bookmarking positions in the grid. Problem was with functions dataset.DisableControls and dataset.EnableControls. It works with some update events that are not used in the Lazarus code (?) anywhere. I removed the Disable/EnableControls and it works. It may be slower a bit when using filter and the result has many QSO, but it won't happen very often. I think you could observe some slow downs with tens of thousand QSO filtered but it is very rare. This bug made a lof CQRLOG users very sad. Please check if it works. Thanks!

There are also some layout changes. Any feedback is welcome!

Small how to is described here: http://www.cqrlog.com/node/1526

DL7OAP
Hi,

Hi,

thanks Petr. my callsign is DL7OAP :-)

for fixing the qso list scroll down bug i was, too, testing without Disable/EnableControls.
But this leads on my machine to an other error "field not found remarks".

withs this beta version (and in my own tests) i get after scrolling down oder paging down over a longer time the following error message box:

qCQRLOG : Field not found : "remarks".

Press OK to ignore and risk data corruption.
Press Abort to kill the program.

// debug print from console
select count(*) from (select * from cqrlog_main where (qsodate = '1997-07-25'and time_on >= '19:50') or qsodate > '1997-07-25' order by qsodate, time_on LIMIT 500) as foo order by qsodate DESC,time_on DESC

TApplication.HandleException qCQRLOG : Field not found : "remarks"
Stack trace:
$00000000008C49A7
$00000000008CA510
$00000000008B8FA3
$00000000008D82F9
$00000000008554A7
$0000000000659ACF
$000000000065A4BE
$000000000065CFD1
$0000000000431FAF
$000000000065906D
$000000000084CFCA
$00000000008A93BD
$000000000082DE12
$000000000072F655
$000000000072D035
$000000000072C0FE
$000000000073CAAB

I will investigate in this ..

Greetings
Andy, DL7OAP

DL7OAP
Hi Petr,

Hi Petr,

it seems, when you scroll down for a longer time down or page down the function "FormShow" is called.

i comment out in fMain.pas in function TfrmMain.FormShow
the lines 1861 - 1872 and the no errors happen.

//dbtComment.DataSource := dmData.dsrMain;
//dbtLoTWQSLS.DataSource := dmData.dsrMain;
//dbtLoTWQSLR.DataSource := dmData.dsrMain;
//dbtAward.DataSource := dmData.dsrMain;
//dbtQSLSDate.DataSource := dmData.dsrMain;
//dbtQSLRDate.DataSource := dmData.dsrMain;
//dbtComment.DataField := 'remarks';
//dbtLoTWQSLS.DataField := 'lotw_qslsdate';
//dbtLoTWQSLR.DataField := 'lotw_qslrdate';
//dbtAward.DataField := 'award';
//dbtQSLSDate.DataField := 'qsls_date';
//dbtQSLRDate.DataField := 'qslr_date';

so far just a first quick response what i can observe here.
Maybe we have to deactivate the update on the fMain mask during scrolling.

Bye DL7OAP, Andy

lx2gt
Hello,

Hello,

On the right side, the clocks are not aligned properly, see the linked screenshot: https://i.imgur.com/USZoyaj.png

73, Luc

la9nka
Re: CQRLOG 03 DEC 2018

Hello.

Have been using the beta 2.3.0 (002) for a few weeks now, and it has been behaving good until the last couple of days. Today, I started from terminal in debug mode to hopefylly catch the dreaded "blank box" error again in the qso list window, and I did.

The error behaves exactly like the error occuring before with page-up/dwn in qso list, and also on search (ctrl+F) and filter (F12). Today the error has occured while either searching the log (ctrl+F) or when cancelling a filter (shift+F12).

Getting the same blank dialog box as before, which can be closed by pressing Enter or Esc, or clicking the (X).

I've attached my debug log to this message. Also sent by email. Hopefully it can be of some use. The first error is seen from line #1174, which happened when clearing the filter (Shift+F12). Also some more errors further down the file, incl. a "Field not found : remarks" error, and a few "List index (4) out of bounds" errors that occured when paging down the logbook for a while.

System running on Ubuntu 18.04.1 LTS, with default Gnome desktop.

73, Anders LA9NKA

File: