Re: [documancer] documancer without wxmozilla
Status: Beta
Brought to you by:
vaclavslavik
|
From: Arnd B. <arn...@we...> - 2004-11-09 13:08:26
|
On Tue, 9 Nov 2004, Vaclav Slavik wrote:
> Arnd Baecker wrote:
> > The only thing I had to change was in HtmlBrowser.py
> >
> > try:
> > =A0 =A0 from wxPython.mozilla import *
> > =A0 =A0 try:
> > =A0 =A0 =A0 =A0 import wxPython.mozilla as mozilla
> > =A0 =A0 =A0 =A0 MOZILLA_VERSION =3D mozilla.__version__
>
> Err, no, you are not supposed to change anything here.
I feared so ;-)
> The module is
> not called "wxPython.mozilla", it's "mozilla" now that wxMozilla is
> bundled with Documancer. You should already have it installed as
> $prefix/lib/documancer/{mozilla.py,mozillac.so}.
Neither mozilla.py nor mozillac.so in that directory.
It seems they ended up in
$prefix/lib/python2.3/site-packages/wxPython
When I reverse change to HtmlBrowser.py
and do
export LD_LIBRARY_PATH=3D/usr/opt/wx/2.4/lib:/usr/lib/mozilla-firefox:${LD_=
LIBRARY_PATH}:
export PYTHONPATH=3D/usr/opt/wx/2.4/lib/python2.3/site-packages:/usr/opt/wx=
/2.4/lib/python2.3/site-packages/wxPython:${PYTHONPATH}
export PATH=3D/usr/opt/wx/2.4/bin:${PATH}
documancer
everything works fine
(i.e I had to add the wxPython dir to PYTHONPATH)
Best, Arnd
|