开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Quisk 4.2.41 Remote Hermes crashes


 

I have Quisk 4.2.41 running fine on a Debian Bullseye PC together with a Hermes Lite 2 on the same network with just a Hermes radio configured in Quisk.
?
Now I wanted to try the Quisk HL2 server and clienet configuration:
I created a "Hermes-Server" Quisk radio on the Debian Bullseye PC, following the instructions by G4ZAL's .
The "Hardware file path" is "/home/pi/.local/lib/python3.9/site-packages/quisk/ac2yd/remote_hermes.py".
When I start Quisk with the configured "Hermes-Server" radio, it will immediately crash with these error messages:
?
quisk
Remote Overlay Initialized!
Remote Overlay Opened!
Traceback (most recent call last):
? File "/home/pi/.local/lib/python3.9/site-packages/quisk/quisk.py", line 4013, in OnInit
? ? self.bandBtnGroup.SetLabel(self.lastBand, do_cmd=True, direction=0)
? File "/home/pi/.local/lib/python3.9/site-packages/quisk/quisk_widgets.py", line 1260, in SetLabel
? ? self.command(event)
? File "/home/pi/.local/lib/python3.9/site-packages/quisk/quisk.py", line 6125, in OnBtnBand
? ? self.ChangeBand(band)
? File "/home/pi/.local/lib/python3.9/site-packages/quisk/quisk.py", line 6159, in ChangeBand
? ? Hardware.ChangeBand(band)
? File "/home/pi/.local/lib/python3.9/site-packages/quisk/hermes/quisk_hardware.py", line 523, in ChangeBand
? ? self.SetTxLevel()
? File "/home/pi/.local/lib/python3.9/site-packages/quisk/hermes/quisk_hardware.py", line 645, in SetTxLevel
? ? if self.mode[0:3] in ('DGT', 'FDV'): ? ? ? ? ? ?# Digital modes; change power by a percentage
TypeError: 'NoneType' object is not subscriptable
OnInit returned false, exiting...
Segmentation fault

I thought the problem might be the Quisk Widgets and so I cleared the "Widget File Path" in the "Hermes-Server" configuration, but the crash did not go away.
?
Any ideas, what is going wrong?
--

73, Joerg - DB2OO


 

开云体育

I ran into the same type error last night doing some Python code work.?? In my case it was due to a missing parameter in a config file that I was trying read and use.? Since it was an empty value it raised this error.

?

The error appears that while trying to set the value for self.mode in quisk_hardware.py on line 654, maybe the variable DGT is blank or invalid as it is set to a value of NONE causing the error.?

?

If you were in a SSB mode you might not see this error.?? You would want to track down where DGT is initialized or last updated, maybe read from a config file.

?

The exact problem lies in the error statement

TypeError: 'NoneType' object is not subscriptable

?

Where you see NoneType in place of DGT.

?

?

;/home/pi/.local/lib/python3.9/site-packages/quisk/hermes/quisk_hardware.py", line 645, in SetTxLevel
? ? if self.mode[0:3] in ('DGT', 'FDV'): ? ? ? ? ? ?# Digital modes; change power by a percentage
TypeError: 'NoneType' object is not subscriptable

?

?

  • Mike K7MDL

?

From: [email protected] <[email protected]> On Behalf Of Joerg DB2OO via groups.io
Sent: Wednesday, February 26, 2025 6:33 AM
To: [email protected]
Subject: [n2adr-sdr] Quisk 4.2.41 Remote Hermes crashes

?

I have Quisk 4.2.41 running fine on a Debian Bullseye PC together with a Hermes Lite 2 on the same network with just a Hermes radio configured in Quisk.

?

Now I wanted to try the Quisk HL2 server and clienet configuration:

I created a "Hermes-Server" Quisk radio on the Debian Bullseye PC, following the instructions by G4ZAL's .

The "Hardware file path" is "/home/pi/.local/lib/python3.9/site-packages/quisk/ac2yd/remote_hermes.py".

When I start Quisk with the configured "Hermes-Server" radio, it will immediately crash with these error messages:

?

quisk
Remote Overlay Initialized!
Remote Overlay Opened!
Traceback (most recent call last):
? File &quot;/home/pi/.local/lib/python3.9/site-packages/quisk/quisk.py&quot;, line 4013, in OnInit
? ? self.bandBtnGroup.SetLabel(self.lastBand, do_cmd=True, direction=0)
? File &quot;/home/pi/.local/lib/python3.9/site-packages/quisk/quisk_widgets.py&quot;, line 1260, in SetLabel
? ? self.command(event)
? File &quot;/home/pi/.local/lib/python3.9/site-packages/quisk/quisk.py&quot;, line 6125, in OnBtnBand
? ? self.ChangeBand(band)
? File &quot;/home/pi/.local/lib/python3.9/site-packages/quisk/quisk.py&quot;, line 6159, in ChangeBand
? ? Hardware.ChangeBand(band)
? File &quot;/home/pi/.local/lib/python3.9/site-packages/quisk/hermes/quisk_hardware.py&quot;, line 523, in ChangeBand
? ? self.SetTxLevel()
? File &quot;/home/pi/.local/lib/python3.9/site-packages/quisk/hermes/quisk_hardware.py&quot;, line 645, in SetTxLevel
? ? if self.mode[0:3] in (&apos;DGT&apos;, &apos;FDV&apos;): ? ? ? ? ? ?# Digital modes; change power by a percentage
TypeError: &apos;NoneType&apos; object is not subscriptable
OnInit returned false, exiting...
Segmentation fault

I thought the problem might be the Quisk Widgets and so I cleared the "Widget File Path" in the "Hermes-Server" configuration, but the crash did not go away.

?

Any ideas, what is going wrong?

--


73, Joerg - DB2OO


 

开云体育

It could also be FDV instead of DGT, the pattern is identical, it does not say which one.

?

From: [email protected] <[email protected]> On Behalf Of Mike K7MDL via groups.io
Sent: Wednesday, February 26, 2025 12:28 PM
To: [email protected]
Subject: Re: [n2adr-sdr] Quisk 4.2.41 Remote Hermes crashes

?

I ran into the same type error last night doing some Python code work.?? In my case it was due to a missing parameter in a config file that I was trying read and use.? Since it was an empty value it raised this error.

?

The error appears that while trying to set the value for self.mode in quisk_hardware.py on line 654, maybe the variable DGT is blank or invalid as it is set to a value of NONE causing the error.?

?

If you were in a SSB mode you might not see this error.?? You would want to track down where DGT is initialized or last updated, maybe read from a config file.

?

The exact problem lies in the error statement

TypeError: &apos;NoneType&apos; object is not subscriptable

?

Where you see NoneType in place of DGT.

?

?

;/home/pi/.local/lib/python3.9/site-packages/quisk/hermes/quisk_hardware.py&quot;, line 645, in SetTxLevel
? ? if self.mode[0:3] in (&apos;DGT&apos;, &apos;FDV&apos;): ? ? ? ? ? ?# Digital modes; change power by a percentage
TypeError: &apos;NoneType&apos; object is not subscriptable

?

?

  • Mike K7MDL

?

From: [email protected] <[email protected]> On Behalf Of Joerg DB2OO via groups.io
Sent: Wednesday, February 26, 2025 6:33 AM
To: [email protected]
Subject: [n2adr-sdr] Quisk 4.2.41 Remote Hermes crashes

?

I have Quisk 4.2.41 running fine on a Debian Bullseye PC together with a Hermes Lite 2 on the same network with just a Hermes radio configured in Quisk.

?

Now I wanted to try the Quisk HL2 server and clienet configuration:

I created a "Hermes-Server" Quisk radio on the Debian Bullseye PC, following the instructions by G4ZAL's .

The "Hardware file path" is "/home/pi/.local/lib/python3.9/site-packages/quisk/ac2yd/remote_hermes.py".

When I start Quisk with the configured "Hermes-Server" radio, it will immediately crash with these error messages:

?

quisk
Remote Overlay Initialized!
Remote Overlay Opened!
Traceback (most recent call last):
? File &quot;/home/pi/.local/lib/python3.9/site-packages/quisk/quisk.py&quot;, line 4013, in OnInit
? ? self.bandBtnGroup.SetLabel(self.lastBand, do_cmd=True, direction=0)
? File &quot;/home/pi/.local/lib/python3.9/site-packages/quisk/quisk_widgets.py&quot;, line 1260, in SetLabel
? ? self.command(event)
? File &quot;/home/pi/.local/lib/python3.9/site-packages/quisk/quisk.py&quot;, line 6125, in OnBtnBand
? ? self.ChangeBand(band)
? File &quot;/home/pi/.local/lib/python3.9/site-packages/quisk/quisk.py&quot;, line 6159, in ChangeBand
? ? Hardware.ChangeBand(band)
? File &quot;/home/pi/.local/lib/python3.9/site-packages/quisk/hermes/quisk_hardware.py&quot;, line 523, in ChangeBand
? ? self.SetTxLevel()
? File &quot;/home/pi/.local/lib/python3.9/site-packages/quisk/hermes/quisk_hardware.py&quot;, line 645, in SetTxLevel
? ? if self.mode[0:3] in (&apos;DGT&apos;, &apos;FDV&apos;): ? ? ? ? ? ?# Digital modes; change power by a percentage
TypeError: &apos;NoneType&apos; object is not subscriptable
OnInit returned false, exiting...
Segmentation fault

I thought the problem might be the Quisk Widgets and so I cleared the "Widget File Path" in the "Hermes-Server" configuration, but the crash did not go away.

?

Any ideas, what is going wrong?

--


73, Joerg - DB2OO