Re: [documancer] documancer without wxmozilla

Arnd Baecker <arnd.baecker-S0/[email protected]> Tue, 9 Nov 2004 14:08:20 +0100 (CET)
Newsgroups gmane.text.documancer.user
Message-ID <[email protected]>
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


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click