PyORBit requires that you generate a python extension module for the interface before you can use it at the moment (this will probably change in the future). The Types module you are using is for the types interface included as an example with pyorbit. If the object you pass in does not implement that interface, then things would not work properly. James. -- Email: james at daa.com.au WWW: http://www.daa.com.au/~james/ On Mon, 20 Dec 1999, Hassan Aurag wrote: > Hi, > > I have been trying to use Pyorbit. > > I have done the following: > > ##Corba server stuff > orb = CORBA.ORB_init(("gmath", "numpy"), "orbit-local-orb") > poa = PortableServer.RootPOA(orb) > poa.the_POAManager.activate() > > servant = Types.POA_Tester(win) > poa.activate_object_with_id("gmath\0", servant) > ref = poa.servant_to_reference(servant) > ior = orb.object_to_string(ref) > > iorfile = open("/tmp/GMatH.ior", "w") > iorfile.write(ior) > iorfile.close() > > thread.start_new_thread(orb.run,()) > > Here "win" is a GnomeApp instance > > Now in the another app, I tried to connect to that ior (whatever?!!) > > Anyway, needless to say it doesn't work! > > What am I doing wrong? > > > Btw, how do I put orb.run() with mainloop() in pygnome?! > > > > > > > -- > To unsubscribe: mail gnome-devel-list-request at gnome.org with "unsubscribe" > as the Subject. >