[openrtm-commit:01090] r586 - trunk/OpenRTM-aist-Python/OpenRTM_aist
openrtm @ openrtm.org
openrtm @ openrtm.org
2013年 5月 17日 (金) 01:37:37 JST
Author: n-ando
Date: 2013-05-17 01:37:37 +0900 (Fri, 17 May 2013)
New Revision: 586
Modified:
trunk/OpenRTM-aist-Python/OpenRTM_aist/Manager.py
Log:
Avoiding empty string of local service. alarm has been added to handler.
Modified: trunk/OpenRTM-aist-Python/OpenRTM_aist/Manager.py
===================================================================
--- trunk/OpenRTM-aist-Python/OpenRTM_aist/Manager.py 2013-05-16 15:16:08 UTC (rev 585)
+++ trunk/OpenRTM-aist-Python/OpenRTM_aist/Manager.py 2013-05-16 16:37:37 UTC (rev 586)
@@ -64,6 +64,7 @@
def handler(signum, frame):
mgr = OpenRTM_aist.Manager.instance()
mgr.terminate()
+ signal.alarm(2)
@@ -379,7 +380,7 @@
return False
lsvc_ = [s.strip() for s in self._config.getProperty("manager.local_service.modules").split(",")]
-
+ if len(svc_) == 0: continue
for svc_ in lsvc_:
basename_ = svc_.split(".")[0]+"Init"
try:
@@ -1877,7 +1878,7 @@
try:
reffile = file(self._config.getProperty("manager.refstring_path"),'w')
except:
- self._rtcout.RTC_ERROR(OpenRTM_aist.Logger.print_exception())
+ self._rtcout.RTC_WARN(OpenRTM_aist.Logger.print_exception())
return False
else:
reffile.write(self._orb.object_to_string(self._mgrservant.getObjRef()))
More information about the openrtm-commit
mailing list