Compare commits

..

No commits in common. "60cc47dd3038a89acb3c3f75a17d80f5e5c8d808" and "dd445cee6562de1c89be021521fe0513ecd9979b" have entirely different histories.

4 changed files with 4 additions and 18 deletions

View File

@ -6,12 +6,6 @@ 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).
## [5.3.0] - 2025-05-16
### Changed
- Execute 'launch_browser' rather than 'browser'
## [5.2.0] - 2025-05-14
### Added

View File

@ -1,9 +1,3 @@
ogagent (5.3.0-1) stable; urgency=medium
* Execute 'launch_browser' rather than 'browser'
-- OpenGnsys developers <info@opengnsys.es> Wed, 14 May 2025 10:50:15 +0200
ogagent (5.2.0-1) stable; urgency=medium
* Log length of user sessions

View File

@ -1 +1 @@
5.3.0
5.2.0

View File

@ -369,14 +369,12 @@ class ogLiveWorker(ServerWorker):
def cargaPaginaWeb (self, url=None):
if (not url): url = self.urlMenu
os.system ('pkill -f -9 browser')
os.system ('pkill -f -9 OGBrowser')
os.system ('pkill -f -9 QtWebEngineProcess')
os.system ('pkill -9 browser')
p = subprocess.Popen (['/usr/bin/launch_browser', url])
p = subprocess.Popen (['/usr/bin/browser', '-qws', url])
try:
p.wait (2) ## if the process dies before 2 seconds...
logger.error ('Error al ejecutar OGBrowser, return code "{}"'.format (p.returncode))
logger.error ('Error al ejecutar browser, return code "{}"'.format (p.returncode))
return False
except subprocess.TimeoutExpired:
pass