From 2b06ee2a8d4b20c05f5f25b7357cae765ec864a8 Mon Sep 17 00:00:00 2001 From: Muhammad Shakeel Date: Thu, 18 Jul 2013 15:37:39 +0500 Subject: Fix for bug 78: AmNodeStateCommunicatorTest throws a runtime exception - Fixed data type issues - Fixed some error log messages - Modified the way for reading XML file - Explicitly type cast the variables before sending message to sendLifeCycleRequest interface Signed-off-by: Muhammad Shakeel --- AudioManagerDaemon/test/AmNodeStateCommunicatorTest/send2nsm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'AudioManagerDaemon/test') diff --git a/AudioManagerDaemon/test/AmNodeStateCommunicatorTest/send2nsm.py b/AudioManagerDaemon/test/AmNodeStateCommunicatorTest/send2nsm.py index 3b6cad3..c7e8bf5 100644 --- a/AudioManagerDaemon/test/AmNodeStateCommunicatorTest/send2nsm.py +++ b/AudioManagerDaemon/test/AmNodeStateCommunicatorTest/send2nsm.py @@ -53,7 +53,7 @@ def LifecycleRequest(Request,RequestID): bus = dbus.SessionBus() remote_object = bus.get_object('org.genivi.NodeStateManager','/org/genivi/NodeStateManager') iface = dbus.Interface(remote_object, 'org.genivi.NodeStateManager.Control') - iface.sendLifeCycleRequest(Request,RequestID) + iface.sendLifeCycleRequest(dbus.UInt32(Request),dbus.UInt32(RequestID)) command=sys.argv[1] if command=="nodeState": -- cgit v1.2.1