Date: Wed, 4 Feb 2004 04:38:45 -0500 From: Tim Middleton <x@Vex.Net> To: python@freebsd.org Cc: ijliao@freebsd.org Subject: wxMozilla and documancer Message-ID: <200402040438.45528.x@Vex.Net>
next in thread | raw e-mail | index | archive | help
I just went to try out the new documancer port not even realising that it was Python based. Looks like it could be useful. I used to use the chm version of the python docs on windows all the time... indexed text search is handy. The ability to add other "books" (like postgresql docs) makes this look even handier. But... the wxMozilla port it depends on doesn't seem to work for me (on 5.2-RELEASE). Anyone else tried it? The problem is that wxPython can't find libxpcom.so. libxpcom.so comes with mozilla and firebird and thunderbird. I seem to have three copies of it on my system (as i have all three ports installed). None are in my LD_LIBRARY_PATH path. >>> from wxPython import mozilla Traceback (most recent call last): File "<stdin>", line 1, in ? File "/usr/local/lib/python2.3/site-packages/wxPython/mozilla.py", line 2, in ? import mozillac ImportError: Shared object "libxpcom.so" not found >>> But even if i manually add /usr/X11R6/lib/mozilla/ to my library path, wxMozilla still fails; though the error is different... >>> from wxPython import mozilla Traceback (most recent call last): File "<stdin>", line 1, in ? File "/usr/local/lib/python2.3/site-packages/wxPython/mozilla.py", line 6, in ? from misc2 import * File "/usr/local/lib/python2.3/site-packages/wxPython/misc2.py", line 4, in ? from windows import * File "/usr/local/lib/python2.3/site-packages/wxPython/windows.py", line 6, in ? from gdi import * File "/usr/local/lib/python2.3/site-packages/wxPython/gdi.py", line 7, in ? import wx File "/usr/local/lib/python2.3/site-packages/wxPython/wx.py", line 22, in ? from mdi import * File "/usr/local/lib/python2.3/site-packages/wxPython/mdi.py", line 14, in ? from frames import * File "/usr/local/lib/python2.3/site-packages/wxPython/frames.py", line 14, in ? from stattool import * File "/usr/local/lib/python2.3/site-packages/wxPython/stattool.py", line 14, in ? from controls import * File "/usr/local/lib/python2.3/site-packages/wxPython/controls.py", line 16, in ? class wxControlPtr(wxWindowPtr): NameError: name 'wxWindowPtr' is not defined >>> -- Tim Middleton | Cain Gang Ltd | I have lived through whole tragedies x@veX.net | www.Vex.Net | without speaking a word. --Dost. (GC)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402040438.45528.x>