[pyorbit] Re: orbit question-Pyorbit

Hassan Aurag aurag at crm.umontreal.ca
Mon Dec 20 11:22:10 EST 1999


 Ok,

I have looked at the Types module code, and it really looks lengthy 
for a four functions class.

Also, I doubt Fnorb is the answer now that I looked at some of it!

My general question is: does anyone have any idea about timeframe to 
be able get decent pyorbit release?

I am not calling this one indecent per se, but it's just too tough for 
me!

After all, all I really want is to be able to call GnomeApp class 
instance methods from another app, and NO I can't just import it!

Thanks again


>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<

On 12/20/99, 11:03:33 AM, James Henstridge <james at daa.com.au> wrote 
regarding Re: orbit question-Pyorbit:


> Sorry.  I have not tried fnorb before.

> James.

> --
> Email: james at daa.com.au
> WWW:   http://www.daa.com.au/~james/   http://www.daa.com.au/~james/


> On Mon, 20 Dec 1999, Hassan Aurag wrote:

> >
> >
> >  Hi,
> >
> > And thanks for answering so promptly.
> >
> > Do you happen to know if fnorb (python's free orb) requires this too?
> >
> > I am the lazy type, really!
> >
> > Thanks again
> >
> >
> > >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<
> >
> > On 12/20/99, 12:31:51 AM, James Henstridge <james at daa.com.au> wrote
> > regarding [pyorbit] Re: orbit question-Pyorbit:
> >
> >
> > > 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/   http://www.daa.com.au/~james/   
http://www.daa.com.au/~james/   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.
> > > >--
> > Hassan Aurag
> > eMail: aurag at geocities.com
> >
> >
> >







More information about the pyorbit mailing list