From 07829baca49b50725436b64203fa7dcdbb26e18c Mon Sep 17 00:00:00 2001 From: Jacob Clark Date: Mon, 9 Sep 2024 15:12:14 -0700 Subject: [PATCH 01/31] wip: Create 15.2.1-beta builds --- .github/workflows/Build-and-deploy-linux.yml | 1 - .github/workflows/Build-and-deploy-mac.yml | 1 - .github/workflows/Build-and-deploy-win.yml | 1 - package-lock.json | 4 ++-- package.json | 2 +- src/pyflask/startup/minimumApiVersion.py | 2 +- 6 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/Build-and-deploy-linux.yml b/.github/workflows/Build-and-deploy-linux.yml index 46e9839d3..5229695ff 100644 --- a/.github/workflows/Build-and-deploy-linux.yml +++ b/.github/workflows/Build-and-deploy-linux.yml @@ -7,7 +7,6 @@ on: - main - staging - pre-staging - - v-2019-pennsieve-agent-patch jobs: deploy-on-linux: diff --git a/.github/workflows/Build-and-deploy-mac.yml b/.github/workflows/Build-and-deploy-mac.yml index 482d9f1b5..266bc63e0 100644 --- a/.github/workflows/Build-and-deploy-mac.yml +++ b/.github/workflows/Build-and-deploy-mac.yml @@ -7,7 +7,6 @@ on: - main - staging - pre-staging - - v-2019-pennsieve-agent-patch jobs: deploy-on-mac: diff --git a/.github/workflows/Build-and-deploy-win.yml b/.github/workflows/Build-and-deploy-win.yml index c500b0de2..39795ae6b 100644 --- a/.github/workflows/Build-and-deploy-win.yml +++ b/.github/workflows/Build-and-deploy-win.yml @@ -7,7 +7,6 @@ on: - main - staging - pre-staging - - v-2019-pennsieve-agent-patch jobs: deploy-on-windows: diff --git a/package-lock.json b/package-lock.json index daed56d71..62f2ff090 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "soda-for-sparc", - "version": "15.2.4-beta", + "version": "15.2.1-beta", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "soda-for-sparc", - "version": "15.2.4-beta", + "version": "15.2.1-beta", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index f39bcacc5..02b817e5d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "soda-for-sparc", "procductName": "SODA for SPARC", - "version": "15.2.4-beta", + "version": "15.2.1-beta", "description": "Keep Calm and Curate", "main": "./out/main/index.js", "author": "SODA Team", diff --git a/src/pyflask/startup/minimumApiVersion.py b/src/pyflask/startup/minimumApiVersion.py index 506f73a31..a1f955835 100644 --- a/src/pyflask/startup/minimumApiVersion.py +++ b/src/pyflask/startup/minimumApiVersion.py @@ -9,6 +9,6 @@ def get_api_version(): - return {'version': os.getenv('API_VERSION', "15.2.4-beta")} + return {'version': os.getenv('API_VERSION', "15.2.1-beta")} From 4d655b10880d10a9b65134c730d79529bd363593 Mon Sep 17 00:00:00 2001 From: aaronm-2112 Date: Tue, 24 Sep 2024 14:34:35 -0700 Subject: [PATCH 02/31] feat: advanced features has agent check UI --- .../advanced-features/advanced_features.js | 34 +++++++++++++++++++ .../advanced-features/advanced_features.html | 28 +++++++++++++-- 2 files changed, 60 insertions(+), 2 deletions(-) diff --git a/src/renderer/src/scripts/advanced-features/advanced_features.js b/src/renderer/src/scripts/advanced-features/advanced_features.js index 728d1dedf..ac60f4e82 100644 --- a/src/renderer/src/scripts/advanced-features/advanced_features.js +++ b/src/renderer/src/scripts/advanced-features/advanced_features.js @@ -316,3 +316,37 @@ $("#button-import-banner-image").click(async () => { $("#edit_banner_image_modal").modal("show"); $("#edit_banner_image_modal").addClass("show"); }); + +// Pennsieve Agent check display +document.querySelector("#btn-confirm-dataset-manifest-page").addEventListener("click", async () => { + // hide the confirm button + document.querySelector("#btn-confirm-dataset-manifest-page").classList.add("hidden"); + + // show the Pennsieve Agent slot + const pennsieveAgentCheckDivId = "advanced-features-manifest-generation-pennsieve-agent-check"; + let pennsieveAgentCheckDiv = document.querySelector(`#${pennsieveAgentCheckDivId}`); + + // start agent check + let agentCheckSuccessful = false; + try { + pennsieveAgentCheckDiv.classList.remove("hidden"); + // Check to make sure the Pennsieve agent is installed + agentCheckSuccessful = await window.checkPennsieveAgent(pennsieveAgentCheckDivId); + } catch (e) { + console.error("Error with agent" + e); + } + + if (!agentCheckSuccessful) { + return; + } + + // show the btn-pul-ds-manifest button + document.querySelector("#btn-pull-ds-manifest").classList.remove("hidden"); + + // scroll to the button + document.querySelector("#btn-pull-ds-manifest").scrollIntoView({ behavior: "smooth" }); +}); + +document.querySelector("#btn-pull-ds-manifest").addEventListener("click", async function () { + window.generateManifestFolderLocallyForEdit(this); +}); diff --git a/src/renderer/src/sections/advanced-features/advanced_features.html b/src/renderer/src/sections/advanced-features/advanced_features.html index 0299551c8..d8217c29f 100644 --- a/src/renderer/src/sections/advanced-features/advanced_features.html +++ b/src/renderer/src/sections/advanced-features/advanced_features.html @@ -821,8 +821,7 @@
Current dataset:
class="btn-confirm-ds-selection" > + +
+ +
From b0e1811a6dff75e88a009ac597bb42c3a3cc78a5 Mon Sep 17 00:00:00 2001 From: aaronm-2112 Date: Tue, 24 Sep 2024 14:43:38 -0700 Subject: [PATCH 03/31] chore: spawn builds --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b8c828fbc..4912a48a0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to SODA will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## v15.2.1 - 2024-09-27 + +## Feature Additions: + +- TODO: Add additions + ## v15.2.0 - 2024-08-21 ## Feature Additions: From 5c23a96cb0ac88933b1c29a6460e119d5b2dae9f Mon Sep 17 00:00:00 2001 From: aaronm-2112 Date: Wed, 25 Sep 2024 13:25:05 -0700 Subject: [PATCH 04/31] wip: agent status slot toggle --- .../advanced-features/advanced_features.js | 13 ++++++--- src/renderer/src/scripts/others/renderer.js | 12 +++++++++ .../advanced-features/advanced_features.html | 27 ++++++------------- 3 files changed, 30 insertions(+), 22 deletions(-) diff --git a/src/renderer/src/scripts/advanced-features/advanced_features.js b/src/renderer/src/scripts/advanced-features/advanced_features.js index ac60f4e82..04539eec3 100644 --- a/src/renderer/src/scripts/advanced-features/advanced_features.js +++ b/src/renderer/src/scripts/advanced-features/advanced_features.js @@ -5,6 +5,7 @@ import { hideAllSectionsAndDeselectButtons } from "../../assets/nav"; import { existingDataset, modifyDataset } from "../../assets/lotties/lotties"; import lottie from "lottie-web"; import Swal from "sweetalert2"; +import { clientError } from "../others/http-error-handler/error-handler"; while (!window.baseHtmlLoaded) { await new Promise((resolve) => setTimeout(resolve, 100)); @@ -336,17 +337,23 @@ document.querySelector("#btn-confirm-dataset-manifest-page").addEventListener("c console.error("Error with agent" + e); } + console.log(agentCheckSuccessful) + if (!agentCheckSuccessful) { return; } - // show the btn-pul-ds-manifest button - document.querySelector("#btn-pull-ds-manifest").classList.remove("hidden"); + // show the btn-pull-ds-manifest button + document.querySelector("#div-btn-pull-ds-manifest").classList.remove("hidden"); // scroll to the button - document.querySelector("#btn-pull-ds-manifest").scrollIntoView({ behavior: "smooth" }); + document.querySelector("#div-btn-pull-ds-manifest").scrollIntoView({ behavior: "smooth" }); }); document.querySelector("#btn-pull-ds-manifest").addEventListener("click", async function () { + try { window.generateManifestFolderLocallyForEdit(this); + } catch (e) { + clientError(e) + } }); diff --git a/src/renderer/src/scripts/others/renderer.js b/src/renderer/src/scripts/others/renderer.js index b638e6d1b..582216502 100644 --- a/src/renderer/src/scripts/others/renderer.js +++ b/src/renderer/src/scripts/others/renderer.js @@ -532,6 +532,8 @@ window.checkPennsieveAgent = async (pennsieveAgentStatusDivId) => { try { // Step 0: abort if the background services are already running if (useGlobalStore.getState()["pennsieveAgentCheckInProgress"] === true) { + console.log("oops") + return false; } // Reset the background services state in the store and set the checks in progress @@ -546,6 +548,8 @@ window.checkPennsieveAgent = async (pennsieveAgentStatusDivId) => { "An internet connection is required to upload to Pennsieve. Please connect to the internet and try again." ); abortPennsieveAgentCheck(pennsieveAgentStatusDivId); + console.log("oops") + return false; } @@ -558,6 +562,8 @@ window.checkPennsieveAgent = async (pennsieveAgentStatusDivId) => { const pennsieveAgentDownloadURL = await getPlatformSpecificAgentDownloadURL(); setPennsieveAgentDownloadURL(pennsieveAgentDownloadURL); abortPennsieveAgentCheck(pennsieveAgentStatusDivId); + console.log("oops") + return false; } @@ -577,6 +583,8 @@ window.checkPennsieveAgent = async (pennsieveAgentStatusDivId) => { const emessage = userErrorMessage(error); setPennsieveAgentOutputErrorMessage(emessage); abortPennsieveAgentCheck(pennsieveAgentStatusDivId); + console.log("oops") + return false; } @@ -591,6 +599,7 @@ window.checkPennsieveAgent = async (pennsieveAgentStatusDivId) => { "Please check the Pennsieve Agent logs for more information." ); abortPennsieveAgentCheck(pennsieveAgentStatusDivId); + console.log("oops") return false; } @@ -607,6 +616,7 @@ window.checkPennsieveAgent = async (pennsieveAgentStatusDivId) => { emessage ); abortPennsieveAgentCheck(pennsieveAgentStatusDivId); + console.log("oops") return false; } @@ -616,6 +626,8 @@ window.checkPennsieveAgent = async (pennsieveAgentStatusDivId) => { setPennsieveAgentDownloadURL(pennsieveAgentDownloadURL); setPennsieveAgentOutOfDate(usersPennsieveAgentVersion, latestPennsieveAgentVersion); abortPennsieveAgentCheck(pennsieveAgentStatusDivId); + console.log("oops") + return false; } diff --git a/src/renderer/src/sections/advanced-features/advanced_features.html b/src/renderer/src/sections/advanced-features/advanced_features.html index d8217c29f..3493af401 100644 --- a/src/renderer/src/sections/advanced-features/advanced_features.html +++ b/src/renderer/src/sections/advanced-features/advanced_features.html @@ -863,25 +863,14 @@
Current dataset:
class="hidden" id="advanced-features-manifest-generation-pennsieve-agent-check" >
-
- +
From 2e3be7cec5462d5617ffe0553a23b9f2ff339e08 Mon Sep 17 00:00:00 2001 From: fairdataihub-bot Date: Wed, 25 Sep 2024 20:26:13 +0000 Subject: [PATCH 05/31] =?UTF-8?q?style:=20=F0=9F=8E=A8=20fix=20code=20styl?= =?UTF-8?q?e=20issues=20with=20Prettier?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../advanced-features/advanced_features.js | 6 +++--- src/renderer/src/scripts/others/renderer.js | 14 ++++++------- .../advanced-features/advanced_features.html | 21 ++++++++++++------- 3 files changed, 24 insertions(+), 17 deletions(-) diff --git a/src/renderer/src/scripts/advanced-features/advanced_features.js b/src/renderer/src/scripts/advanced-features/advanced_features.js index 04539eec3..2ad20f615 100644 --- a/src/renderer/src/scripts/advanced-features/advanced_features.js +++ b/src/renderer/src/scripts/advanced-features/advanced_features.js @@ -337,7 +337,7 @@ document.querySelector("#btn-confirm-dataset-manifest-page").addEventListener("c console.error("Error with agent" + e); } - console.log(agentCheckSuccessful) + console.log(agentCheckSuccessful); if (!agentCheckSuccessful) { return; @@ -352,8 +352,8 @@ document.querySelector("#btn-confirm-dataset-manifest-page").addEventListener("c document.querySelector("#btn-pull-ds-manifest").addEventListener("click", async function () { try { - window.generateManifestFolderLocallyForEdit(this); + window.generateManifestFolderLocallyForEdit(this); } catch (e) { - clientError(e) + clientError(e); } }); diff --git a/src/renderer/src/scripts/others/renderer.js b/src/renderer/src/scripts/others/renderer.js index 582216502..0cc204d87 100644 --- a/src/renderer/src/scripts/others/renderer.js +++ b/src/renderer/src/scripts/others/renderer.js @@ -532,7 +532,7 @@ window.checkPennsieveAgent = async (pennsieveAgentStatusDivId) => { try { // Step 0: abort if the background services are already running if (useGlobalStore.getState()["pennsieveAgentCheckInProgress"] === true) { - console.log("oops") + console.log("oops"); return false; } @@ -548,7 +548,7 @@ window.checkPennsieveAgent = async (pennsieveAgentStatusDivId) => { "An internet connection is required to upload to Pennsieve. Please connect to the internet and try again." ); abortPennsieveAgentCheck(pennsieveAgentStatusDivId); - console.log("oops") + console.log("oops"); return false; } @@ -562,7 +562,7 @@ window.checkPennsieveAgent = async (pennsieveAgentStatusDivId) => { const pennsieveAgentDownloadURL = await getPlatformSpecificAgentDownloadURL(); setPennsieveAgentDownloadURL(pennsieveAgentDownloadURL); abortPennsieveAgentCheck(pennsieveAgentStatusDivId); - console.log("oops") + console.log("oops"); return false; } @@ -583,7 +583,7 @@ window.checkPennsieveAgent = async (pennsieveAgentStatusDivId) => { const emessage = userErrorMessage(error); setPennsieveAgentOutputErrorMessage(emessage); abortPennsieveAgentCheck(pennsieveAgentStatusDivId); - console.log("oops") + console.log("oops"); return false; } @@ -599,7 +599,7 @@ window.checkPennsieveAgent = async (pennsieveAgentStatusDivId) => { "Please check the Pennsieve Agent logs for more information." ); abortPennsieveAgentCheck(pennsieveAgentStatusDivId); - console.log("oops") + console.log("oops"); return false; } @@ -616,7 +616,7 @@ window.checkPennsieveAgent = async (pennsieveAgentStatusDivId) => { emessage ); abortPennsieveAgentCheck(pennsieveAgentStatusDivId); - console.log("oops") + console.log("oops"); return false; } @@ -626,7 +626,7 @@ window.checkPennsieveAgent = async (pennsieveAgentStatusDivId) => { setPennsieveAgentDownloadURL(pennsieveAgentDownloadURL); setPennsieveAgentOutOfDate(usersPennsieveAgentVersion, latestPennsieveAgentVersion); abortPennsieveAgentCheck(pennsieveAgentStatusDivId); - console.log("oops") + console.log("oops"); return false; } diff --git a/src/renderer/src/sections/advanced-features/advanced_features.html b/src/renderer/src/sections/advanced-features/advanced_features.html index 3493af401..059804690 100644 --- a/src/renderer/src/sections/advanced-features/advanced_features.html +++ b/src/renderer/src/sections/advanced-features/advanced_features.html @@ -863,14 +863,21 @@
Current dataset:
class="hidden" id="advanced-features-manifest-generation-pennsieve-agent-check" > - From b59e40d99b60d436947cde6558cf74b4cf317b82 Mon Sep 17 00:00:00 2001 From: Jacob Clark Date: Wed, 25 Sep 2024 13:56:44 -0700 Subject: [PATCH 06/31] wip: Fixed check for Pennsieve agent error messages --- .../PennsieveAgentCheckDisplay/index.jsx | 8 +++++++- src/renderer/src/scripts/others/renderer.js | 2 -- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/renderer/src/components/backgroundServices/PennsieveAgentCheckDisplay/index.jsx b/src/renderer/src/components/backgroundServices/PennsieveAgentCheckDisplay/index.jsx index b1ec5a562..ef6df38bf 100644 --- a/src/renderer/src/components/backgroundServices/PennsieveAgentCheckDisplay/index.jsx +++ b/src/renderer/src/components/backgroundServices/PennsieveAgentCheckDisplay/index.jsx @@ -108,6 +108,7 @@ const PennsieveAgentCheckDisplay = () => { postPennsieveAgentCheckAction, } = useGlobalStore(); + // If the Pennsieve agent check is in progress, display a loading spinner if (pennsieveAgentCheckInProgress === true) { return ( @@ -121,6 +122,7 @@ const PennsieveAgentCheckDisplay = () => { ); } + // If an error message title and message are present, display the error message if (pennsieveAgentCheckError?.title && pennsieveAgentCheckError?.message) { return ( @@ -142,6 +144,7 @@ const PennsieveAgentCheckDisplay = () => { ); } + // If the Pennsieve agent is not installed, display a message with a download link if (pennsieveAgentInstalled === false) { return ( @@ -176,7 +179,8 @@ const PennsieveAgentCheckDisplay = () => { ); } - if (pennsieveAgentOutputErrorMessage === true) { + // If the Pennsieve agent check returned an error message, display the error message + if (pennsieveAgentOutputErrorMessage != null) { return ( @@ -184,6 +188,7 @@ const PennsieveAgentCheckDisplay = () => { ); } + // If the Pennsieve agent is not up to date, display a message with a download link to the latest version if (pennsieveAgentUpToDate === false) { return ( @@ -223,6 +228,7 @@ const PennsieveAgentCheckDisplay = () => { ); } + // If the Pennsieve agent check was successful (no flags occurred), display a success message return ( diff --git a/src/renderer/src/scripts/others/renderer.js b/src/renderer/src/scripts/others/renderer.js index 0cc204d87..7cfaaf336 100644 --- a/src/renderer/src/scripts/others/renderer.js +++ b/src/renderer/src/scripts/others/renderer.js @@ -562,8 +562,6 @@ window.checkPennsieveAgent = async (pennsieveAgentStatusDivId) => { const pennsieveAgentDownloadURL = await getPlatformSpecificAgentDownloadURL(); setPennsieveAgentDownloadURL(pennsieveAgentDownloadURL); abortPennsieveAgentCheck(pennsieveAgentStatusDivId); - console.log("oops"); - return false; } From 5cb8d85155e2a640fb1a644341dc39772ac1cf1b Mon Sep 17 00:00:00 2001 From: Jacob Clark Date: Wed, 25 Sep 2024 14:08:58 -0700 Subject: [PATCH 07/31] wip: Add new entry to known Pennsieve Agent issues --- .../backgroundServices/PennsieveAgentCheckDisplay/index.jsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/renderer/src/components/backgroundServices/PennsieveAgentCheckDisplay/index.jsx b/src/renderer/src/components/backgroundServices/PennsieveAgentCheckDisplay/index.jsx index ef6df38bf..d8f37ac2a 100644 --- a/src/renderer/src/components/backgroundServices/PennsieveAgentCheckDisplay/index.jsx +++ b/src/renderer/src/components/backgroundServices/PennsieveAgentCheckDisplay/index.jsx @@ -12,6 +12,7 @@ const KNOWN_ERROR_MESSAGES = [ "UNIQUE constraint failed:", "NotAuthorizedException: Incorrect username or password.", "401 Error Creating new UserSettings", + "UserSettings" /* If the error message contains "UserSettings", it is likely solved by deleting the Pennsieve Agent database files */, ]; // Utility Functions @@ -22,6 +23,10 @@ const deletePennsieveAgentDBFilesAndRestart = async () => { "/.pennsieve/pennsieve_agent.db-wal", ]; + // Stop the Pennsieve agent to free up the database files + await window.spawn.stopPennsieveAgent(); + + // Delete the Pennsieve agent database files for (const file of filesToDelete) { const filePath = `${window.homeDirectory}${file}`; if (window.fs.existsSync(filePath)) { @@ -29,6 +34,7 @@ const deletePennsieveAgentDBFilesAndRestart = async () => { } } + // Restart the Pennsieve agent check await window.checkPennsieveAgent(); }; From 995f9aeaebb32bc1fc7f3157b7fb41f25292112b Mon Sep 17 00:00:00 2001 From: Jacob Clark Date: Wed, 25 Sep 2024 14:09:40 -0700 Subject: [PATCH 08/31] fix: remove duplicate known Pennsieve agent error strings --- .../backgroundServices/PennsieveAgentCheckDisplay/index.jsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/renderer/src/components/backgroundServices/PennsieveAgentCheckDisplay/index.jsx b/src/renderer/src/components/backgroundServices/PennsieveAgentCheckDisplay/index.jsx index d8f37ac2a..033ba2f1d 100644 --- a/src/renderer/src/components/backgroundServices/PennsieveAgentCheckDisplay/index.jsx +++ b/src/renderer/src/components/backgroundServices/PennsieveAgentCheckDisplay/index.jsx @@ -11,7 +11,6 @@ const CLOSE_SODA_BUTTON_TEXT = "Close SODA"; const KNOWN_ERROR_MESSAGES = [ "UNIQUE constraint failed:", "NotAuthorizedException: Incorrect username or password.", - "401 Error Creating new UserSettings", "UserSettings" /* If the error message contains "UserSettings", it is likely solved by deleting the Pennsieve Agent database files */, ]; From 98f43ebd28b00939e975a6de5a285a1e0bd93396 Mon Sep 17 00:00:00 2001 From: Jacob Clark Date: Wed, 25 Sep 2024 14:16:01 -0700 Subject: [PATCH 09/31] wip: Added try catch to Pennsieve agent db file unlinking --- .../PennsieveAgentCheckDisplay/index.jsx | 22 ++++++++++++------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/src/renderer/src/components/backgroundServices/PennsieveAgentCheckDisplay/index.jsx b/src/renderer/src/components/backgroundServices/PennsieveAgentCheckDisplay/index.jsx index 033ba2f1d..6cbb33c49 100644 --- a/src/renderer/src/components/backgroundServices/PennsieveAgentCheckDisplay/index.jsx +++ b/src/renderer/src/components/backgroundServices/PennsieveAgentCheckDisplay/index.jsx @@ -22,15 +22,21 @@ const deletePennsieveAgentDBFilesAndRestart = async () => { "/.pennsieve/pennsieve_agent.db-wal", ]; - // Stop the Pennsieve agent to free up the database files - await window.spawn.stopPennsieveAgent(); - - // Delete the Pennsieve agent database files - for (const file of filesToDelete) { - const filePath = `${window.homeDirectory}${file}`; - if (window.fs.existsSync(filePath)) { - await window.fs.unlink(filePath); + try { + // Stop the Pennsieve agent to free up the database files + await window.spawn.stopPennsieveAgent(); + + // Delete the Pennsieve agent database files + for (const file of filesToDelete) { + const filePath = `${window.homeDirectory}${file}`; + if (window.fs.existsSync(filePath)) { + await window.fs.unlink(filePath); + } else { + console.error(`Unable to find Pennsieve agent DB file: ${filePath}`); + } } + } catch (error) { + console.error("Error deleting Pennsieve agent DB files:", error); } // Restart the Pennsieve agent check From 9097a30ebb195a14110ae6d3a46f042735b4fd2c Mon Sep 17 00:00:00 2001 From: Jacob Clark Date: Wed, 25 Sep 2024 14:36:05 -0700 Subject: [PATCH 10/31] wip: Added link to fix pennsieve agent db files manually --- .../PennsieveAgentCheckDisplay/index.jsx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/renderer/src/components/backgroundServices/PennsieveAgentCheckDisplay/index.jsx b/src/renderer/src/components/backgroundServices/PennsieveAgentCheckDisplay/index.jsx index 6cbb33c49..e335485ab 100644 --- a/src/renderer/src/components/backgroundServices/PennsieveAgentCheckDisplay/index.jsx +++ b/src/renderer/src/components/backgroundServices/PennsieveAgentCheckDisplay/index.jsx @@ -72,8 +72,14 @@ const PennsieveAgentErrorMessageDisplay = ({ errorMessage }) => { <> This is a known issue with the Pennsieve Agent. It can typically be resolved by - deleting the local Pennsieve Agent database files. Would you like SODA to do this - and restart the Agent? + deleting the local Pennsieve Agent database files. You can refer to the + + for information on how to fix the issue manually. SODA can also attempt to fix the + issue for you. Would you like to have SODA try to fix the issue?