From 1f68d05cd5a3d8a4cce33c808ff5c19b528e6e9e Mon Sep 17 00:00:00 2001 From: "James C. Ahlstrom" Date: Mon, 29 Dec 2025 14:01:36 -0500 Subject: [PATCH] Quisk version 4.2.50 --- CHANGELOG.txt | 5 +++++ __init__.py | 2 +- docs.html | 3 ++- quisk.py | 6 +++++- setup.py | 2 +- 5 files changed, 14 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 4a612a2..2daad08 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,3 +1,8 @@ +Quisk Version 4.2.50 December 2025 +=================================== +This is a quick fix for a bug in 4.2.49 that results in the repeated message +AttributeError: 'Hardware' object has no attribute 'is_HermesLite2' + Quisk Version 4.2.49 December 2025 =================================== This version adds more features for the Anan 10E and other OpenHPSDR radios. Please test. diff --git a/__init__.py b/__init__.py index acd7eee..6aa31f5 100644 --- a/__init__.py +++ b/__init__.py @@ -1,2 +1,2 @@ -#Quisk version 4.2.49 +#Quisk version 4.2.50 from .quisk import main diff --git a/docs.html b/docs.html index 50a5657..4e3f2bb 100644 --- a/docs.html +++ b/docs.html @@ -377,12 +377,13 @@ python3 quisk.py

If "make" fails, you probably have missing packages or missing "-dev" packages. Try to figure out what is missing from the error messages. -You only clone github for the initial installation. To update Quisk, use pull: +You only clone github for the initial installation. To update Quisk, use pull followed by make:


 cd ~/quisk
 git pull
+make
 

diff --git a/quisk.py b/quisk.py index 948cd6d..623d650 100644 --- a/quisk.py +++ b/quisk.py @@ -4275,6 +4275,10 @@ class App(wx.App): self.main_frame.SetClientSize(wx.Size(width, self.height)) if hasattr(Hardware, 'pre_open'): # pre_open() is called before open() Hardware.pre_open() + try: + self.is_HermesLite2 = Hardware.is_HermesLite2 # This is set in pre_open() + except: + self.is_HermesLite2 = False if self.local_conf.GetWidgets(self, Hardware, conf, frame, gbs, vertBox): pass elif conf.quisk_widgets: @@ -6799,7 +6803,7 @@ class App(wx.App): if self.timer - self.heart_time0 > 0.10: # call hardware to perform background tasks: self.heart_time0 = self.timer Hardware.HeartBeat() - if Hardware.is_HermesLite2: + if self.is_HermesLite2: self.tx_inhibit = QS.get_params('quisk_tx_inhibit') else: self.tx_inhibit = 0 diff --git a/setup.py b/setup.py index d7e310c..f3ab525 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ import os # You must define the version here. A title string including # the version will be written to __init__.py and read by quisk.py. -Version = '4.2.49' +Version = '4.2.50' fp = open("__init__.py", "w") # write title string fp.write("#Quisk version %s\n" % Version)