TRLog
[Top] [All Lists]

Re: [Trlog] Trlog ver. 0.56 bug

To: Martin Kratoska <martin@ok1rr.com>, trlog@contesting.com, TreeN6TR <treen6tr@gmail.com>
Subject: Re: [Trlog] Trlog ver. 0.56 bug
From: w9cf@arrl.net
Date: Wed, 29 Mar 2023 09:45:20 -0700
List-post: <mailto:trlog@contesting.com>
Martin,
Your error:

X Error of failed request:  BadWindow (invalid Window parameter)
Major opcode of failed request:  33 (X_GrabKey)
Resource id in failed request:  0x0
Serial number of failed request:  11
Current serial number in output stream:  18

indicates that the WINDOWID environment variable is not set correctly. An
xterm always sets this automatically as described on its man page. So I
believe the most likely explanations are that either this environment
variable is getting reset by something else, or you are not using an
xterm, and instead are using a terminal program that does not set this
environment variable.

You can check if this is the problem, by typing
echo $WINDOWID
or
set |grep -i windowid
in the TR terminal window. If you get something like an 8 digit number
the WINDOWID is set.

If you are using another terminal program you could probably work around
this problem by setting the WINDOWID environment variable by hand,
for example, with xdotool installed, starting TR with

WINDOWID=`xdotool getactivewindow` trlog

but there are likely other incompatibilities when using anything other
than a genuine xterm.

Let me know if this fixes your problem or if there is something else
going on.

73 Kevin w9cf

On Wed, Mar 29, 2023 at 01:34:29AM +0200, Martin Kratoska wrote:
> Hello Kevin,
> 
> here is. I should try to compile 0.56 for my Odroid N2+ (arm64) to see if it
> will behave differently.
> 
> 73,
> Martin, OK1RR
> 
> 
> -------- Přeposlaná zpráva --------
> Předmět: Trlog ver. 0.56 bug
> Datum: Sun, 26 Mar 2023 09:14:42 +0200
> Od: Martin Kratoska <martin@ok1rr.com>
> Adresa pro odpověď: martin@ok1rr.com
> Komu: trlog@contesting.com
> Kopie: treen6tr@gmail.com
> 
> Hello,
> 
> greetings from Prague!
> 
> The attached pic shows what happens here if attempting to start Trlog.
> Compilation without any problem.
> 
> post works as usual.
> 
> Tested on Lubuntu 22.10. This problem appears since ver. 0.54 (0.53 was the
> last working version).
> 
> The program seems very promising. I am a long-time TRlog fan since 90's. I
> wrote many configurations also for known contesters like Fred, K3ZO :-) I am
> very happy to see the TRlog rejuvenated for Linux!
> 
> 73,
> Martin, OK1RR


_______________________________________________
Trlog mailing list
Trlog@contesting.com
http://lists.contesting.com/mailman/listinfo/trlog
<Prev in Thread] Current Thread [Next in Thread>