refs #2329 write output of launch_browser into a file
parent
65c07fea1e
commit
72b832d654
|
|
@ -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/),
|
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).
|
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
|
## [6.1.0] - 2025-06-25
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,9 @@
|
||||||
|
ogagent (6.1.1-1) stable; urgency=medium
|
||||||
|
|
||||||
|
* Write output of launch_browser into a file
|
||||||
|
|
||||||
|
-- OpenGnsys developers <info@opengnsys.es> Thu, 26 Jun 2025 12:45:19 +0200
|
||||||
|
|
||||||
ogagent (6.1.0-1) stable; urgency=medium
|
ogagent (6.1.0-1) stable; urgency=medium
|
||||||
|
|
||||||
* Add ModificarImagenGit
|
* Add ModificarImagenGit
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
6.0.0
|
6.1.1
|
||||||
|
|
|
||||||
|
|
@ -385,8 +385,10 @@ class ogLiveWorker(ServerWorker):
|
||||||
b.call_blocking (dest, path, interface, method, 's', [url])
|
b.call_blocking (dest, path, interface, method, 's', [url])
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
if 'ServiceUnknown' in str(e):
|
if 'ServiceUnknown' in str(e):
|
||||||
## browser not running
|
logger.warning ('browser is not running, launching a new one')
|
||||||
subprocess.Popen (['/usr/bin/launch_browser', url])
|
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:
|
else:
|
||||||
logger.error (f'Error al cambiar URL: ({e})')
|
logger.error (f'Error al cambiar URL: ({e})')
|
||||||
return False
|
return False
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue