Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KLog wsjtx-2.6.0-RC4 problems #1114

Closed
mdblack98 opened this issue Sep 11, 2022 · 10 comments
Closed

KLog wsjtx-2.6.0-RC4 problems #1114

mdblack98 opened this issue Sep 11, 2022 · 10 comments
Labels
bug fixed Issue has been fixed WSJTX Bugs affecting WSTJ-X operations
Milestone

Comments

@mdblack98
Copy link
Contributor

Testing wsjtx-2.6.0-RC4 with hamlib-4.4.2 works fine, until klog-2.2.1 is running.
All seems fine initially until the end of a transmit frame, when the VFO starts to cycle, reversing TX/RX modes every second (approx).
This is with klog in read only mode for hamlib.
Rig is Kenwood TS450S.
OK, testing with wsjtx-2.5.4 there is no sign of the problem, so despite klog 'exposing' the issue, it does appear to be a change in wsjtx-2.6.0 that is causing it.
Note that in both cases wsjtx is built to use the system hamlib-4.4.2.
It seems there is a klog issue with hamlib 4.5. It does work, as I tested with wsjtx-2.6.0 above, however the hamlib test button in settings remains red and when pressed it locks up klog. (Without wsjtx running and using rigctld).

@mdblack98 mdblack98 added bug WSJTX Bugs affecting WSTJ-X operations labels Sep 11, 2022
@mdblack98 mdblack98 added this to the 4.5 milestone Sep 11, 2022
mdblack98 added a commit that referenced this issue Sep 13, 2022
mdblack98 added a commit that referenced this issue Sep 13, 2022
@barjac
Copy link

barjac commented Sep 13, 2022

Using a package from master hamlib-4.5~git-20220913.e7262e2.tar.gz (my tarball)
I ran:/usr/bin/rigctld --vfo -vvvvvv -Z -m 2003 -r /dev/ttyUSB0 -T 127.0.01 -t 4532 --set-conf="serial_handshake=None" > log4.txt 2>&1
I checked on opening klog that the frequency in the program was following the VFO OK.

(I did try without --set-conf="serial_handshake=None" but the rig was unresponsive (not a beep :))

I hit the klog test button at 21:51:50 in the log. The test button remained red, after which klog locked up and eventually had to be killed.
log4.txt

Then, as a demonstration of normal operating with wsjtx and klog I had two QSOs using FT8 on 30m with logging running. Both contacts were auto-logged to klog from wsjtx and there were no issues with hamlib working split.

log5.txt Big file!

The problems now only seem to affect the hamlib test button in klog.

Edit: I notice that a . was missing from 127.0.0.1, however I suspect that -T parameter is maybe not used now?

@mdblack98
Copy link
Contributor Author

mdblack98 commented Sep 13, 2022 via email

@barjac
Copy link

barjac commented Sep 13, 2022 via email

@mdblack98
Copy link
Contributor Author

mdblack98 commented Sep 13, 2022 via email

@barjac
Copy link

barjac commented Sep 13, 2022

OK I now have results from main master repository. I'm certain that you pointed me at your fork, as I had the branch name.
Anyway now I have a package installed built from #8c4c906

Doing the same as before with just rigctld and klog, the VFO tracks ok, but the hamlib test in klog fails which crashes klog.

log7.txt

As before I then used klog and wsjtx for a contact which went smoothly.

log8.txt

Sorry for the mix-up

@barjac
Copy link

barjac commented Sep 13, 2022 via email

@mdblack98
Copy link
Contributor Author

mdblack98 commented Sep 14, 2022 via email

@barjac
Copy link

barjac commented Sep 14, 2022

Using build from 7db23d5
Hit the test button at 12:39:10

Success! Red to Green :)

Klog did not crash and OK-ing the hamlib settings dialogue did not cause a crash. After about a minute (a known bug in klog) klog became responsive again and continued working normally.

Closing and restarting either klog or wsjtx does not now cause any issues during a session, tested also with rigctld started by systemd.

Nice job Mike!

Oops forgot to attach the log :)
log9.txt

@mdblack98
Copy link
Contributor Author

mdblack98 commented Sep 14, 2022 via email

@mdblack98 mdblack98 added the fixed Issue has been fixed label Sep 14, 2022
@barjac
Copy link

barjac commented Sep 14, 2022

I'm fairly sure it's not hamlib causing the problem, as it happens every time the 'settings' dialogue is OKed irrespective of whether the hamlib tab has been used.
The log you have above (log9.txt) was running for the whole period until klog completed the hang, so anything hamlib related should be shown. I did not stop rigctld until well after klog had recovered, and I had checked that the vfo was reflected correctly in klog.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug fixed Issue has been fixed WSJTX Bugs affecting WSTJ-X operations
Projects
None yet
Development

No branches or pull requests

2 participants