refs #1112 use old browser again

ogcore1
Natalia Serrano 2024-11-20 14:25:14 +01:00
parent a00fbcb76e
commit 74a6937501
3 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
ogagent (1.4.5~pre7-1) stable; urgency=medium
* Use old browser again
-- OpenGnsys developers <info@opengnsys.es> Wed, 20 Nov 2024 14:24:44 +0100
ogagent (1.4.5~pre6-1) stable; urgency=medium
* Do not use envvars for the operating-system module

View File

@ -1 +1 @@
1.4.5-pre6
1.4.5-pre7

View File

@ -304,9 +304,9 @@ class ogLiveWorker(ServerWorker):
def cargaPaginaWeb (self, url=None):
if (not url): url = self.urlMenu
os.system ('pkill -9 OGBrowser')
os.system ('pkill -9 browser')
p = subprocess.Popen (['/usr/bin/OGBrowser', '-qws', 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 la llamada a la interface de administración')