diff --git a/src/sas/qtgui/Perspectives/Fitting/FittingWidget.py b/src/sas/qtgui/Perspectives/Fitting/FittingWidget.py index 3942cdc4f2..a1b090bb44 100644 --- a/src/sas/qtgui/Perspectives/Fitting/FittingWidget.py +++ b/src/sas/qtgui/Perspectives/Fitting/FittingWidget.py @@ -1890,6 +1890,8 @@ def onHelp(self): """ regen_in_progress = False help_location = self.getHelpLocation(HELP_DIRECTORY_LOCATION) + logger.info(f"The base help directory should be at {HELP_DIRECTORY_LOCATION}.") + logger.info(f"Attempting to open {help_location}.") if regen_in_progress is False: self.parent.showHelp(help_location) diff --git a/src/sas/qtgui/Utilities/DocViewWidget.py b/src/sas/qtgui/Utilities/DocViewWidget.py index b1bc136b47..ad60924086 100644 --- a/src/sas/qtgui/Utilities/DocViewWidget.py +++ b/src/sas/qtgui/Utilities/DocViewWidget.py @@ -89,6 +89,7 @@ def __init__(self, source: Path = None): self.setWindowTitle("Documentation Viewer") # Necessary globals + logging.info(f"Attempting to load {source} in the help window.") self.source: Path = Path(source) self.regen_in_progress: bool = False self.thread: Optional[CalcThread] = None @@ -226,6 +227,7 @@ def loadHtml(self): """Loads the HTML file specified when this python is called from another part of the program.""" # Ensure urls are properly processed before passing into widget url = self.processUrl() + logging.info(f"The URL that is being processed is {url}.") settings = self.webEngineViewer.settings() # Allows QtWebEngine to access MathJax and code highlighting APIs settings.setAttribute(QtWebEngineCore.QWebEngineSettings.LocalContentCanAccessRemoteUrls, True)