diff --git a/CHANGELOG.md b/CHANGELOG.md index 03d78565..97e23b91 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ - [2026-01-28] Merge pull request #485 from mbridak/484-1mm-doesnt-launch-if-the-route-to-flrig-fails - Add TimeoutError handling in CAT class methods + - Add OSError handling in CAT class methods - [2026-01-24] Merge pull request #481 from mbridak/478-crashes-save-qso - Add error handling for data parsing in MainWindow class - [2026-01-23] Merge pull request #477 from mbridak/highlight-599 diff --git a/README.md b/README.md index 83de98e4..a6eebc25 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,7 @@ generated, 'cause I'm lazy, list of those who've submitted PR's. - [2026-01-28] Merge pull request #485 from mbridak/484-1mm-doesnt-launch-if-the-route-to-flrig-fails - Add TimeoutError handling in CAT class methods + - Add OSError handling in CAT class methods - [2026-01-24] Merge pull request #481 from mbridak/478-crashes-save-qso - Add error handling for data parsing in MainWindow class - [2026-01-23] Merge pull request #477 from mbridak/highlight-599 diff --git a/not1mm/lib/cat_interface.py b/not1mm/lib/cat_interface.py index 4a8caf9c..3ea62978 100644 --- a/not1mm/lib/cat_interface.py +++ b/not1mm/lib/cat_interface.py @@ -100,6 +100,7 @@ def __init__(self, interface: str, host: str, port: int) -> None: socket.error, socket.gaierror, TimeoutError, + OSError, ): self.online = False elif self.interface == "rigctld": @@ -273,6 +274,7 @@ def sendcwxmlrpc(self, texttosend): http.client.CannotSendRequest, http.client.ResponseNotReady, TimeoutError, + OSError, ) as exception: self.online = False logger.debug("%s", f"{exception}") @@ -293,6 +295,7 @@ def set_flrig_cw_send(self, send: bool) -> None: http.client.ResponseNotReady, ValueError, TimeoutError, + OSError, ) as exception: self.online = False logger.debug("%s", f"{exception}") @@ -312,6 +315,7 @@ def set_flrig_cw_speed(self, speed): http.client.ResponseNotReady, ValueError, TimeoutError, + OSError, ) as exception: self.online = False logger.debug("%s", f"{exception}") @@ -344,6 +348,7 @@ def __getvfo_flrig(self) -> str: http.client.ResponseNotReady, AttributeError, TimeoutError, + OSError, ) as exception: self.online = False logger.debug(f"{exception=}") @@ -402,6 +407,7 @@ def __getmode_flrig(self) -> str: http.client.ResponseNotReady, AttributeError, TimeoutError, + OSError, ) as exception: self.online = False logger.debug("%s", f"{exception}") @@ -461,6 +467,7 @@ def __getbw_flrig(self): http.client.ResponseNotReady, AttributeError, TimeoutError, + OSError, ) as exception: self.online = False logger.debug("getbw_flrig: %s", f"{exception}") @@ -490,6 +497,7 @@ def __getpower_flrig(self): http.client.CannotSendRequest, http.client.ResponseNotReady, TimeoutError, + OSError, ) as exception: self.online = False logger.debug("getpower_flrig: %s", f"{exception}") @@ -537,6 +545,7 @@ def __getptt_flrig(self): http.client.CannotSendRequest, http.client.ResponseNotReady, TimeoutError, + OSError, ) as exception: self.online = False logger.debug("%s", f"{exception}") @@ -588,6 +597,7 @@ def __get_mode_list_flrig(self): http.client.ResponseNotReady, AttributeError, TimeoutError, + OSError, ) as exception: self.online = False logger.debug("%s", f"{exception}") @@ -644,6 +654,7 @@ def __setvfo_flrig(self, freq: str) -> bool: http.client.ResponseNotReady, AttributeError, TimeoutError, + OSError, ) as exception: self.online = False logger.debug("setvfo_flrig: %s", f"{exception}") @@ -697,6 +708,7 @@ def __setmode_flrig(self, mode: str) -> bool: http.client.ResponseNotReady, AttributeError, TimeoutError, + OSError, ) as exception: self.online = False logger.debug(f"{exception=}") @@ -747,6 +759,7 @@ def __setpower_flrig(self, power): http.client.ResponseNotReady, AttributeError, TimeoutError, + OSError, ) as exception: self.online = False logger.debug("setpower_flrig: %s", f"{exception}") @@ -819,6 +832,7 @@ def __ptt_on_flrig(self): http.client.ResponseNotReady, AttributeError, TimeoutError, + OSError, ) as exception: self.online = False logger.debug("%s", f"{exception}") @@ -865,6 +879,7 @@ def __ptt_off_flrig(self): http.client.ResponseNotReady, AttributeError, TimeoutError, + OSError, ) as exception: self.online = False logger.debug("%s", f"{exception}") @@ -933,6 +948,7 @@ def __send_cat_string_flrig(self, cmd, thisishex): http.client.ResponseNotReady, AttributeError, TimeoutError, + OSError, ) as exception: self.online = False logger.debug("%s", f"{exception}") diff --git a/not1mm/lib/version.py b/not1mm/lib/version.py index 1666349e..529eeb95 100644 --- a/not1mm/lib/version.py +++ b/not1mm/lib/version.py @@ -1,3 +1,3 @@ """It's the version""" -__version__ = "26.1.28" +__version__ = "26.1.28.1" diff --git a/pyproject.toml b/pyproject.toml index 4c12a590..f1f1d519 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "not1mm" -version = "26.1.28" +version = "26.1.28.1" description = "NOT1MM Logger" license = "GPL-3.0-or-later" readme = "README.md"