lucene-pylucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <>
Subject Re: [jira] [Commented] (PYLUCENE-12) Add PythonReusableAnalyzerBase, so we can create analyzers in Python
Date Sun, 04 Dec 2011 14:52:48 GMT
On Sun, Dec 4, 2011 at 9:25 AM, Michael McCandless
<> wrote:
> On Sat, Dec 3, 2011 at 5:10 PM, Andi Vajda <> wrote:
>> On Fri, 2 Dec 2011, Michael McCandless (Commented) (JIRA) wrote:
>>> RE the exception inside createComponents... strange!  Your exception
>>> indeed has all the details (ie, shows the original traceback, from the
>>> createComponents method).
>>> Yet, when I do exactly that change (stick the x in, then run the test case
>>> directly, I get this:
>> Did you build your lucene module with --shared (and did you build jcc with
>> shared enabled, the default normally). It occurred to me that exception
>> reporting is a bit weaker in non shared mode because the PythonException
>> java class is not present. Just a thought...
> Hmm, I believe I built jcc with the defaults (shared), but indeed I
> did not build the lucene extension shared... I'll try to build shared
> and see if that fixes the exception reporting!  If so, maybe we should
> note this limitation of non-shared...

Hmm I went and built the lucene extension shared (added --shared to
the command-line passed to jcc module, in the topelevel Makefile) but
I still don't get the traceback inside Python... spooky.

Just to be certain: how can I validate I truly succeeded in shared
linking for the lucene extension...?  I'm on linux... when I run "nm"
on the, what should I look for to confirm I "succeeded"...?

Mike McCandless

View raw message