From d64a1879344d3017639a2b5d5bb57112adf7d438 Mon Sep 17 00:00:00 2001 From: t52ta6ek <24543390+t52ta6ek@users.noreply.github.com> Date: Thu, 27 Jun 2024 18:14:50 +0200 Subject: [PATCH 1/3] Update INSTALLATION.md Added libxcb-cursor-dev to correct startup error: Could not load the Qt platform plugin "xcb" in "" even though it was found. ...and its resulting core dump. --- docs/INSTALLATION.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/INSTALLATION.md b/docs/INSTALLATION.md index 72385751..784a66c7 100644 --- a/docs/INSTALLATION.md +++ b/docs/INSTALLATION.md @@ -58,11 +58,11 @@ or `make rpm` builds an (untested) rpm package that can be installed on your system the usual way. -## Ubuntu 20.04 / 22.04 +## Ubuntu 20.04 / 22.04 / 24.04 1. Install python3 and pip - sudo apt install python3 python3-pip + sudo apt install python3 python3-pip libxcb-cursor-dev python3 -m venv ~/.venv_nano . ~/.venv_nano/bin/activate pip install -U pip From aec8467b6dcfefff1d36574d989b332435b44eb8 Mon Sep 17 00:00:00 2001 From: t52ta6ek <24543390+t52ta6ek@users.noreply.github.com> Date: Thu, 27 Jun 2024 18:19:07 +0200 Subject: [PATCH 2/3] Update About.py Fixes warning on startup. --- src/NanoVNASaver/Windows/About.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NanoVNASaver/Windows/About.py b/src/NanoVNASaver/Windows/About.py index 10b4729c..c62f803f 100644 --- a/src/NanoVNASaver/Windows/About.py +++ b/src/NanoVNASaver/Windows/About.py @@ -146,7 +146,7 @@ def findUpdates(self, automatic=False): line = line.decode("utf-8") found_latest_version = TAGS_KEY in line if found_latest_version: - latest_version = Version(re.search("(\d+\.\d+\.\d+)", line).group()) + latest_version = Version(re.search("(\\d+\\.\\d+\\.\\d+)", line).group()) break except error.HTTPError as e: logger.exception( From 8f8928319b925bfa9471fa2dedd48ab5cca392fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Holger=20M=C3=BCller?= Date: Fri, 5 Jul 2024 07:37:45 +0200 Subject: [PATCH 3/3] Update src/NanoVNASaver/Windows/About.py Use raw string for regex --- src/NanoVNASaver/Windows/About.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NanoVNASaver/Windows/About.py b/src/NanoVNASaver/Windows/About.py index c62f803f..52f7c57e 100644 --- a/src/NanoVNASaver/Windows/About.py +++ b/src/NanoVNASaver/Windows/About.py @@ -146,7 +146,7 @@ def findUpdates(self, automatic=False): line = line.decode("utf-8") found_latest_version = TAGS_KEY in line if found_latest_version: - latest_version = Version(re.search("(\\d+\\.\\d+\\.\\d+)", line).group()) + latest_version = Version(re.search(r"(\d+\.\d+\.\d+)", line).group()) break except error.HTTPError as e: logger.exception(