diff --git a/CHANGELOG.md b/CHANGELOG.md index 652e332..6248a0d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [6.1.1] - 2025-06-26 + +### Changed + +- Write output of launch_browser into a file + ## [6.1.0] - 2025-06-25 ### Added diff --git a/linux/debian/changelog b/linux/debian/changelog index 26d4fe4..86f6441 100644 --- a/linux/debian/changelog +++ b/linux/debian/changelog @@ -1,3 +1,9 @@ +ogagent (6.1.1-1) stable; urgency=medium + + * Write output of launch_browser into a file + + -- OpenGnsys developers Thu, 26 Jun 2025 12:45:19 +0200 + ogagent (6.1.0-1) stable; urgency=medium * Add ModificarImagenGit diff --git a/src/VERSION b/src/VERSION index 09b254e..f3b5af3 100644 --- a/src/VERSION +++ b/src/VERSION @@ -1 +1 @@ -6.0.0 +6.1.1 diff --git a/src/opengnsys/workers/oglive_worker.py b/src/opengnsys/workers/oglive_worker.py index 42b55cc..6e955c9 100644 --- a/src/opengnsys/workers/oglive_worker.py +++ b/src/opengnsys/workers/oglive_worker.py @@ -385,8 +385,10 @@ class ogLiveWorker(ServerWorker): b.call_blocking (dest, path, interface, method, 's', [url]) except Exception as e: if 'ServiceUnknown' in str(e): - ## browser not running - subprocess.Popen (['/usr/bin/launch_browser', url]) + logger.warning ('browser is not running, launching a new one') + browser_log_fd = open ('/var/log/launch_browser.log', 'a') + subprocess.Popen (['/usr/bin/launch_browser', url], stdout=browser_log_fd, stderr=subprocess.STDOUT) + browser_log_fd.close() else: logger.error (f'Error al cambiar URL: ({e})') return False