I'm trying to test components in the Sandbox using the REDHAWK IDE but I receive an error every time I to drag a component on to the Chalkboard.
For example, when I try to drag the built in SigGen component on to the Chalkboard I get a popup window stating:
'Launching component SigGen_1' has encountered a problem.
Failed to launch: SigGen_1
In the details section it says:
Failed to launch: SigGen_1
IDL:CD/ExecutableDevice/ExecuteFail:1.0
Also, the error in console window depends on the implementation I launch (the error in the pop window remains the same). For Java, no error is displayed in the console window. The errors from C++ and Python implementations are below.
C++
terminate called after throwing an instance of 'CORBA::TRANSIENT'
Python
ERROR:root:Unexpected Error
Traceback (most recent call last):
File "/usr/local/redhawk/core/lib/python/ossie/resource.py", line 538, in start_component
rootContext.rebind(name, component_Var)
File "/usr/lib/python2.6/site-packages/omniORB/COS/CosNaming_idl.py", line 222, in rebind
return _omnipy.invoke(self, "rebind", _0_CosNaming.NamingContext._d_rebind, args)
TRANSIENT: CORBA.TRANSIENT(omniORB.TRANSIENT_ConnectFailed, CORBA.COMPLETED_NO)
The SigGen component does not even show on the Chalkboard in the IDE.
When I try to launch waveforms in the REDHAWK_DEV domain I don't encounter any problems.
I had the same problem initially. I am running CentOS 6.4 with Redhawk 1.9. I had to add an entry in my /etc/hosts file due to the fact that I named my computer something other than localhost. I just added a line such as:
127.0.0.1 YourComputersHostName
to /etc/hosts replacing YourComputersHostName with your computers actual hostname.