From: rnv Date: Wed, 17 May 2017 09:14:46 +0000 (+0300) Subject: Additional fix for '23417: [CEA 2020] Naming service cannot be found if the network... X-Git-Tag: Before_multi_study_removal_06072017~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5acfed9f9592325a405f2c1480d5c4a7dbae8a7b;p=modules%2Fkernel.git Additional fix for '23417: [CEA 2020] Naming service cannot be found if the network is not reachable' issue. --- diff --git a/bin/nameserver.py b/bin/nameserver.py index 5e6c772ac..37061547d 100755 --- a/bin/nameserver.py +++ b/bin/nameserver.py @@ -25,7 +25,7 @@ import os, sys, re, socket #import commands from server import Server -from salome_utils import getShortHostName +from salome_utils import getHostName from launchConfigureParser import verbose # ----------------------------------------------------------------------------- @@ -47,7 +47,7 @@ class NamingServer(Server): pass if verbose(): print "Name Service... " - hname = getShortHostName() + hname = getHostName() with open(os.environ["OMNIORB_CONFIG"]) as f: ss = re.findall("NameService=corbaname::" + hname + ":\d+", f.read())