From owner-freebsd-python@FreeBSD.ORG Wed Feb 4 01:39:01 2004 Return-Path: Delivered-To: freebsd-python@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7983616A4CE; Wed, 4 Feb 2004 01:39:01 -0800 (PST) Received: from smaug.vex.net (smaug.vex.net [66.246.136.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id E7ADC43D1D; Wed, 4 Feb 2004 01:38:59 -0800 (PST) (envelope-from x@xxvii.net) Received: from bee.vii.net (69-90-55-67.fastdsl.ca [69.90.55.67]) by smaug.vex.net (Postfix) with ESMTP id 334274883E; Wed, 4 Feb 2004 04:39:00 -0500 (EST) Received: by bee.vii.net (Postfix, from userid 1000) id 0D262BE88; Wed, 4 Feb 2004 04:38:47 -0500 (EST) From: Tim Middleton Organization: xxvii.net To: python@freebsd.org Date: Wed, 4 Feb 2004 04:38:45 -0500 User-Agent: KMail/1.6 X-Whee: Yes, Please. MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200402040438.45528.x@Vex.Net> cc: ijliao@freebsd.org Subject: wxMozilla and documancer X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: python@freebsd.org List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Feb 2004 09:39:01 -0000 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 "", 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 "", 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)