[omniNotify] Problem trying to _narrow an omniNotify Channel

Patrick Vaughan plvaugh@sandia.gov
Wed Mar 26 17:02:01 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.  I'm using omniORB 4.0.0 omniORBpy 2.0 
and omniNotify 2.0 alpha.

Thanks,
Pat


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