Re: [pyxpcom] Trying to get started with pyxpcom
by Greg Landrum other posts by this author
Nov 18 2004 12:56AM messages near this date
[pyxpcom] (no subject)
|
Re: [pyxpcom] Trying to get started with pyxpcom
On Wed, 17 Nov 2004 15:13:56 -0500, Brad Clements <bkc@[...].com> wrote:
> On 17 Nov 2004 at 11:24, Greg Landrum wrote:
>
> > I'm trying to get up and running with pyxpcom under Windows. I would
> > like to use firefox as the browser, but it seems to be more
> > straightforward to start with mozilla, so that's what I'm doing.
>
> Have you considered using the Mozilla ActiveX control?
I haven't, but I'll make a note to look into it.
> > /usr/bin:/bin:/cygdrive/c/python23:/cygdrive/c/Progra~1/Mozilla.org/mozilla
> > :/cygdrive/c/gecko-sdk/bin /c/glandrum > /c/glandrum >echo $PYTHONPATH
> > c:\python23\lib;c:\python23\lib\site-packages;c:\Progra~1\mozilla.org\Mozil
> > la\python /c/glandrum
>
>
> Which one of these path elements has xpcom.dll ?
>
> It needs to be in your path.
Not being able to find xpcom.dll causes the "import xpcom._xpcom" test
to fail, one of the lessons I've learned today.
It turns out that the problem was that I was using Mozilla 1.7.3. The
PyXPCOM builds from Thomas Shilz are built against Mozilla 1.7. When
I installed the older version of mozilla, things started to work.
After I fixed the typos in Uche Ogbuji's sample code, I managed to get
my first objects installed and tested.
As soon as I convince myself that this really is working, I'll post a
little summary of where to download things in order to get a binary
pyxpcom installation working under windows.
Thanks for the reply Brad,
-greg
--
Greg Landrum (greg.landrum [at] gmail.com)
Computational Chemist/Software Carpenter
_______________________________________________
pyxpcom mailing list
pyxpcom@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Greg Landrum
Uche Ogbuji
Greg Landrum
Greg Landrum
|