[omniORB] Problem trying to _narrow an omniNotify Channel

Patrick Vaughan plvaugh@sandia.gov
Wed Mar 26 00:00:03 2003


Hi,

I'm trying to use omniNotify from Python.  When I try to _narrow a 
channel object, the program just hangs.  I don't get any error messages 
and no exceptions are thrown.  Any suggestions on what might be wrong 
would be greatly appreciated.

Thanks,
Pat


try:
	channelName = "ChannelFactory"
	name = [CosNaming.NameComponent(channelName, channelName)]
	channelObj = nameContext.resolve(name)
	channel = channelObj._narrow(CosNotifyChannelAdmin.EventChannelFactory)
except:
	print "Error"