[sugar] [pyxpcom] PyXPCOM viability and OLPC

Dan Williams dcbw
Wed May 9 09:30:02 EDT 2007


On Wed, 2007-05-09 at 14:29 +0200, Marco Pesenti Gritti wrote:
> On Tue, 2007-05-08 at 20:50 -0400, edward baafi wrote:
> > > 2 Use gtkmozembed (written in C) but give access to the gtkmozembed
> > > nsIWebBrowser as a PyXPCOM object so that we can access the DOM document
> > > from python. It should be possible but I never investigated it much.
> > 
> > You said earlier that gtkmozembed exposes nsiWebBrowser.. Is the
> > problem that this is not exposed to the python gtkmozembed wrapper?
> > If that's the case, why not improve the wrapper and expose
> > nsiWebBrowser as a regular python, rather than pyxpcom object?
> 
> I looked a bit into this, it seem pretty simple in theory. Then I tried
> to compile pyxpcom and it fails to build on the trunk:
> 
> https://bugzilla.mozilla.org/show_bug.cgi?id=375318
> 
> The last patch there apply cleanly but doesn't solve the problem for me.
> I didn't try the previous patches but bsmedberg think they are wrong
> so...
> 
> Pyxpcom looks pretty much unmaintained, which isn't promising :/

When I was working with it for one of the Butterfly iterations
(admittedly about 1 1/2 years ago) it was in pretty bad state, with only
1 person working on it IIRC, and nobody could really help me out with
problems.  It's not had that great of a track record.  So unless it's
gotten a lot of love in the past year, it's probably not the right
approach if you need something in the next few months.

Dan

> 
> Marco
> 
> _______________________________________________
> Sugar mailing list
> Sugar at laptop.org
> http://mailman.laptop.org/mailman/listinfo/sugar




More information about the Sugar-devel mailing list